asterisk - Use ColdFusion to read events over a TCP/IP stream -
our new phone system making use of asterisk manager api allows read events , issue commands on tcp/ip stream. question is.. there way @ use coldfusion read (and in-turn process) stream of events? of i'm able view phone events (incoming calls, transfers, hang-ups etc) via telnet , i'm wondering if it's possible use coldfusion event gateway process these events come over?
once initial connection made (via telnet), have submit following key:values in order authenticate connection before stream begins.
action: login<crlf> username: usr<crlf> secret: abc123<crlf> <crlf>
just wanted specify i'm not sure if that's deal-breaker possibly using web service in manner. note using coldfusion 10 enterprise.
yes-- you'd want use socket gateway. ben nadel has great writeup how this: using socket gateways communicate between coldfusion , node.js
although uses node.js in example, should able use guide set socket gateway, handle data passed see fit.
Comments
Post a Comment