[Freeswitch-users] Read app ignores custom variable when called via socket interface

Anthony Minessale anthony.minessale at gmail.com
Sun Dec 7 11:44:03 PST 2008


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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081207/f60c564a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list