VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
thangappan143 at gmail... Guest
|
Posted: Fri Jul 31, 2009 11:54 pm Post subject: [Freeswitch-users] Getting DTMF value |
|
|
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Aug 01, 2009 12:15 am Post subject: [Freeswitch-users] Getting DTMF value |
|
|
are you calling socket with the async method *and* using the event lock (that is what's required)
you also have to listen for events on the channel (try the myevents command)
On Fri, Jul 31, 2009 at 11:46 PM, Thangappan.M <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
thangappan143 at gmail... Guest
|
Posted: Sat Aug 01, 2009 12:40 am Post subject: [Freeswitch-users] Getting DTMF value |
|
|
Dial plan string: Quote: | <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 messagesPlaying main menusBut 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@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Aug 01, 2009 12:46 am Post subject: [Freeswitch-users] Getting DTMF value |
|
|
try removing the > after async?
On Sat, Aug 1, 2009 at 12:35 AM, Thangappan.M <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | Dial plan string: Quote: | <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 messagesPlaying main menusBut 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@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | 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@lists.freeswitch.org (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/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
thangappan143 at gmail... Guest
|
Posted: Sat Aug 01, 2009 1:19 am Post subject: [Freeswitch-users] Getting DTMF value |
|
|
That is typo error.
<action application="socket" data="127.0.0.1:5000 async full"/>
On Sat, Aug 1, 2009 at 11:05 AM, Thangappan.M <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | Dial plan string: Quote: | <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 messagesPlaying main menusBut 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@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | 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
|
--
Regards,
Thangappan.M |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|