I'm used to using the onInput callbacks inside lua and javascript to listen for dtmf and other events and perform a task accordingly. I'm wondering if there is a way to send an event to a session or channel that can be caught using the setInputCallback inside lua from outside the session program. Maybe an API command that can generate an event for a specific UUID. Does a mechanism exist to do this that I'm over looking? Thanks. --matt
We don't have session messages directly exposed, except for things like display, respond, and deflect. What specifically are you trying to send ? Mike On Oct 9, 2009, at 3:34 PM, Matthew Fong wrote:
I'm used to using the onInput callbacks inside lua and javascript to listen for dtmf and other events and perform a task accordingly. I'm wondering if there is a way to send an event to a session or channel that can be caught using the setInputCallback inside lua from outside the session program. Maybe an API command that can generate an event for a specific UUID. Does a mechanism exist to do this that I'm over looking? Thanks.
Hi Mike, I'm just trying to send it an event with some custom event headers, just so an external program can communicate with a session without having to transfer the session to a different program. I'm curious what uuid_display does...the wiki only gives a brief description and my Google'ing could not find any examples. Thanks for the help. --matt http://www.hellohunter.com On Mon, Oct 12, 2009 at 5:04 AM, Michael Jerris <mike@jerris.com> wrote:
We don't have session messages directly exposed, except for things like display, respond, and deflect. What specifically are you trying to send ?
Mike
On Oct 9, 2009, at 3:34 PM, Matthew Fong wrote:
I'm used to using the onInput callbacks inside lua and javascript to listen for dtmf and other events and perform a task accordingly. I'm wondering if there is a way to send an event to a session or channel that can be caught using the setInputCallback inside lua from outside the session program. Maybe an API command that can generate an event for a specific UUID. Does a mechanism exist to do this that I'm over looking? Thanks.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It updates the display on a phone if the phone supports this. This works on some sip phones right now including polycom and snom. Mike On Oct 12, 2009, at 2:11 AM, Matthew Fong wrote:
Hi Mike,
I'm just trying to send it an event with some custom event headers, just so an external program can communicate with a session without having to transfer the session to a different program. I'm curious what uuid_display does...the wiki only gives a brief description and my Google'ing could not find any examples. Thanks for the help.
--matt http://www.hellohunter.com
On Mon, Oct 12, 2009 at 5:04 AM, Michael Jerris <mike@jerris.com> wrote: We don't have session messages directly exposed, except for things like display, respond, and deflect. What specifically are you trying to send ?
Mike
On Oct 9, 2009, at 3:34 PM, Matthew Fong wrote:
I'm used to using the onInput callbacks inside lua and javascript to listen for dtmf and other events and perform a task accordingly. I'm wondering if there is a way to send an event to a session or channel that can be caught using the setInputCallback inside lua from outside the session program. Maybe an API command that can generate an event for a specific UUID. Does a mechanism exist to do this that I'm over looking? Thanks.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
Thanks for the explanation. I added this to the wiki. -MC On Thu, Oct 15, 2009 at 6:50 PM, Michael Jerris <mike@jerris.com> wrote:
It updates the display on a phone if the phone supports this. This works on some sip phones right now including polycom and snom. Mike
On Oct 12, 2009, at 2:11 AM, Matthew Fong wrote:
actually, If you use sendevent command and add a unique-id header to the event you send, it will be sent to the channel rather than globally. On Sun, Oct 11, 2009 at 5:04 PM, Michael Jerris <mike@jerris.com> wrote:
We don't have session messages directly exposed, except for things like display, respond, and deflect. What specifically are you trying to send ?
Mike
On Oct 9, 2009, at 3:34 PM, Matthew Fong wrote:
I'm used to using the onInput callbacks inside lua and javascript to listen for dtmf and other events and perform a task accordingly. I'm wondering if there is a way to send an event to a session or channel that can be caught using the setInputCallback inside lua from outside the session program. Maybe an API command that can generate an event for a specific UUID. Does a mechanism exist to do this that I'm over looking? Thanks.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (4)
-
Anthony Minessale
-
Matthew Fong
-
Michael Collins
-
Michael Jerris