That seems unlikely. You sure about that? The var param is in the middle of the data which is passed as 1 giant string to the same exact app execution code. I don't see how it could differentiate did you try executing the info app right after to see all the vars. I'm not saying i don't believe you but it seems fishy. On Sun, Dec 7, 2008 at 5:31 AM, Jan Kubr <jan.kubr@gmail.com> wrote:
Hi, I checked out the current trunk (rev 10641) and found out that the read app ignores the varname parameter, it always puts the result in the DTMF-Digit variable. I'm calling it via the socket interface:
sendmsg call-command: execute execute-app-name: read execute-app-arg: 1 1 en/us/callie/conference/8000/conf-pin.wav res 10000 # event-lock:true
In the XML dialplan it works fine:
<action application="read" data="1 1 sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #"/> <action application="phrase" data="spell,${res}"/>
I have been using the socket call above successfully in the 1.0.1 release.
Any ideas? Thanks,
Jan Kubr
_______________________________________________ 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/ 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