Hi all, 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 - 50,999. 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. jamie On Tue Aug 27, Jamie McClelland wrote:
Hi all,
Thanks again for your help in completing our simulataneous interpretation system using freeswitch[0].
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 [1]. So far I've been experimenting with the read command[2].
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.
jamie
0. http://lists.freeswitch.org/pipermail/freeswitch-dev/2013-February/006406.ht... 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 http://www.mayfirst.org https://support.mayfirst.org
OpenPGP Key: http://current.workingdirectory.net/pages/identity/
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- -- May First/People Link Growing networks to build a just world http://www.mayfirst.org https://support.mayfirst.org OpenPGP Key: http://current.workingdirectory.net/pages/identity/