[Freeswitch-dev] accessing key presses with outbound event socket
jm at mayfirst.org
Mon Sep 2 01:03:52 MSD 2013
I'm still curious if it's possible to query a user in an outbound event
soekct, but in the meantime I came up with a work around.
I've configured the event socket application to listen on ports 50,001 -
Then, I prompt for the conference number (between 1 and 999) in the
freeswitch configuration (which is trivial) *before* sending the user to
the event socket application. I add 50,000 to the number and then use
that port number when connecting to the event socket application.
The event socket app simply checks what the incoming port is being used,
subtracts 50,000 and set the conference number accordingly.
On Tue Aug 27, Jamie McClelland wrote:
> Hi all,
> Thanks again for your help in completing our simulataneous
> interpretation system using freeswitch.
> I'm now trying to add the ability for users to enter the conference
> number they would like to join.
> I see lots of examples for doing this, but none that are using an
> outbound event socket.
> With event socket, I can capture dtmf digit events *after* the user
> enters the conference call. But I am having trouble first prompting the
> user to enter the conference number and then capturing their output and
> using it to determine which conference room to sent them to.
> I'm using fiorix's python event socket code . So far I've been
> experimenting with the read command.
> However, I'm not sure how to retrieve the digits pressed after calling
> this command. Is their a command that can query freeswitch to get the
> value of the variable I set with the read command?
> Any help would be greatly appreciated.
> 0. http://lists.freeswitch.org/pipermail/freeswitch-dev/2013-February/006406.html
> 1. https://github.com/fiorix/eventsocket
> 2. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_read
> May First/People Link
> Growing networks to build a just world
> OpenPGP Key: http://current.workingdirectory.net/pages/identity/
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
May First/People Link
Growing networks to build a just world
OpenPGP Key: http://current.workingdirectory.net/pages/identity/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130901/b26632e1/attachment.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev