VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mattdfong at gmail.com Guest
|
Posted: Fri Oct 09, 2009 3:15 pm Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Sun Oct 11, 2009 5:12 pm Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
mattdfong at gmail.com Guest
|
Posted: Mon Oct 12, 2009 1:24 am Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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 (mike@jerris.com)> wrote:
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Thu Oct 15, 2009 9:01 pm Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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:
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Sat Oct 17, 2009 1:08 am Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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 (mike@jerris.com)> wrote:
Quote: | 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:
|
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Oct 17, 2009 11:39 am Post subject: [Freeswitch-users] Sending an Event to a Session for onInput |
|
|
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 (mike@jerris.com)> wrote:
--
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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|