[Freeswitch-users] Getting DTMF value

Anthony Minessale anthony.minessale at gmail.com
Fri Jul 31 22:41:41 PDT 2009


try removing the > after async?

*<action application="socket" data="127.0.0.1:5000 async*>* full"/>

vs

**<action application="socket" data="127.0.0.1:5000 async** full"/>
*



On Sat, Aug 1, 2009 at 12:35 AM, Thangappan.M <thangappan143 at gmail.com>wrote:

> Dial plan string:
>
> * <action application="socket" data="127.0.0.1:5000 async*>* full"/>
>
> *In Perl code:
>
> At first I am sending
> $conn->sendRecv("myevents")
>
> $conn->execute("answer")
> $conn->setEventLock("true")
>
> Playing welcome messages
> Playing main menus
>
> But I am not able to do the action after getting the DTMF value.
>
>
> I need to do the following things
>
>       * While playing welcome message the DTMF key should not be processed at that time or future.
>       * While playing main menu it should process the DTMF key immediately..
>       * In the case of XML macro , I can specify the timout value,
>
> interdigit time out value, invlalid sound files.How can I handle  in
> the Perl script.Is there any default variables or methods to handle it ?
>
>
>
>
> On Sat, Aug 1, 2009 at 10:16 AM, Thangappan.M <thangappan143 at gmail.com>wrote:
>
>> Dear all,
>>
>> $conn->SetEventLock("true") ;
>> After this line only I played all the voice files(welcome messages, main
>> menu).
>> First the welcome message is played in order and also main menu options
>> are played in  order.While playing the message there is no prob.
>> But the problem is that, it is not responding the DTMF keys.
>>
>> I need to handle the following things.
>>       * While playing welcome message the DTMF key should not be processed
>> at that time or future.
>>       * While playing main menu it should process the DTMF key
>> immediately..
>>       * In the case of XML macro , I can specify the timout value,
>> interdigit time out value, invlalid sound files.How can I handle  in the
>> Perl script.Is there any default variables or methods to handle it ?
>>
>> Please help me.
>>
>> --
>> Regards,
>> Thangappan.M
>>
>
>
>
> --
> Regards,
> Thangappan.M
>
> _______________________________________________
> 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/
Twitter: http://twitter.com/FreeSWITCH_wire

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/20090801/46295a8b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list