[Freeswitch-users] Re ad application not working as intended

Anthony Minessale anthony.minessale at gmail.com
Sat Jan 10 08:43:39 PST 2009


escape the $ in ${res} with a \ so it will not be evaluated by the dialplan.

<action application="phrase" data="spell,\${res}"/>


On Sat, Jan 10, 2009 at 9:53 AM, Brian West <brian at freeswitch.org> wrote:

> You need to use execute_extension so that ${res} will be expanded.
> FreeSWITCH doesn't expand vars as it goes like asterisk does.
>
> Easy way to see the var is to use the info app.
> /b
>
> Sent from my iPhone
>
> On Jan 10, 2009, at 3:34 AM, ahgindia <ahgindia308 at gmail.com> wrote:
>
> >
> > Hi all,
> > I want have DTMF input from user without answering the call (i.e. in
> > session
> > progress).
> > I used Read application for this, but it is not working as it is
> > intended to
> > be.
> > It is only accepting one DTMF from the user and the channel gets
> > hang up.
> > Am I missing something?
> > Here is the dialplan that I used for this:
> > <action application="read" data="0 2
> > $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav res
> > 10000 #"/>
> > <action application="phrase" data="spell,${res}"/>
> > The phrase application is used to check user input.
> > --
> > View this message in context:
> http://www.nabble.com/Read-application-not-working-as-intended-tp21386369p21386369.html
> > Sent from the Freeswitch-users mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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/20090110/70da6436/attachment.html 


More information about the Freeswitch-users mailing list