nik600
2016-Jun-30 20:00 UTC
[asterisk-users] problem with DTMF detection on calls created with Originate AMI command
Dear all i'm creating an outgoing call to number xxx with this command: http://host:port/mxml?action=Originate&Channel=Local/xxx at to-external &Exten=testDTMF&Context=cRETEUNICA&Priority=1 wich points correctly to this portion of dialplan: [cRETEUNICA] exten => testDTMF,1,Answer exten => testDTMF,n,Read(digito,,1) exten => testDTMF,n,SayDigits(${digito}) The point is that the recognition goes in timeout and i get an error on ast_waitfordigit_full -- Executing [testDTMF at cRETEUNICA:1] Answer("SIP/pbx2-000004ad", "") in new stack -- Executing [testDTMF at cRETEUNICA:2] Read("SIP/pbx2-000004ad", "digito,,1") in new stack [Jun 30 21:56:56] WARNING[5617]: channel.c:2558 ast_waitfordigit_full: Unexpected control subclass '-1' -- User entered nothing. Any idea? if i call from number xxx to an extension that goes to testDTMF at cRETEUNICA it works properly. Thanks -- /*************/ nik600 http://www.kumbe.it -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160630/45708fd4/attachment.html>
Richard Mudgett
2016-Jun-30 20:14 UTC
[asterisk-users] problem with DTMF detection on calls created with Originate AMI command
On Thu, Jun 30, 2016 at 3:00 PM, nik600 <nik600 at gmail.com> wrote:> Dear all > > i'm creating an outgoing call to number xxx with this command: > > http://host:port/mxml?action=Originate&Channel=Local/xxx at to-external > &Exten=testDTMF&Context=cRETEUNICA&Priority=1 > > wich points correctly to this portion of dialplan: > > [cRETEUNICA] > > exten => testDTMF,1,Answer > exten => testDTMF,n,Read(digito,,1) > exten => testDTMF,n,SayDigits(${digito}) > > The point is that the recognition goes in timeout and i get an error on > ast_waitfordigit_full > > -- Executing [testDTMF at cRETEUNICA:1] Answer("SIP/pbx2-000004ad", "") > in new stack > -- Executing [testDTMF at cRETEUNICA:2] Read("SIP/pbx2-000004ad", > "digito,,1") in new stack > [Jun 30 21:56:56] WARNING[5617]: channel.c:2558 ast_waitfordigit_full: > Unexpected control subclass '-1' > -- User entered nothing. >You didn't specify the Asterisk version. You can ignore this message. Current versions simply suppress this message for -1 in that routine. Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160630/c89e0d36/attachment.html>
nik600
2016-Jun-30 20:20 UTC
[asterisk-users] problem with DTMF detection on calls created with Originate AMI command
i'm using Asterisk 1.6.2.9-2+squeeze12 2016-06-30 22:14 GMT+02:00 Richard Mudgett <rmudgett at digium.com>:> > > On Thu, Jun 30, 2016 at 3:00 PM, nik600 <nik600 at gmail.com> wrote: > >> Dear all >> >> i'm creating an outgoing call to number xxx with this command: >> >> http://host:port/mxml?action=Originate&Channel=Local/xxx at to-external >> &Exten=testDTMF&Context=cRETEUNICA&Priority=1 >> >> wich points correctly to this portion of dialplan: >> >> [cRETEUNICA] >> >> exten => testDTMF,1,Answer >> exten => testDTMF,n,Read(digito,,1) >> exten => testDTMF,n,SayDigits(${digito}) >> >> The point is that the recognition goes in timeout and i get an error on >> ast_waitfordigit_full >> >> -- Executing [testDTMF at cRETEUNICA:1] Answer("SIP/pbx2-000004ad", "") >> in new stack >> -- Executing [testDTMF at cRETEUNICA:2] Read("SIP/pbx2-000004ad", >> "digito,,1") in new stack >> [Jun 30 21:56:56] WARNING[5617]: channel.c:2558 ast_waitfordigit_full: >> Unexpected control subclass '-1' >> -- User entered nothing. >> > > You didn't specify the Asterisk version. You can ignore this message. > Current versions simply suppress this message for -1 in that routine. > > Richard > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- /*************/ nik600 http://www.kumbe.it -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160630/b71e9daf/attachment.html>