Problem With DTMF Detection On Calls Created With Originate AMI Command

Home » Asterisk Users » Problem With DTMF Detection On Calls Created With Originate AMI Command
Asterisk Users 2 Comments

Dear all

i’m creating an outgoing call to number xxx with this command:

http://host:port/mxml?action=Originate&Channel=Local/xxx@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@cRETEUNICA:1] Answer(“SIP/pbx2-000004ad”, “”) in new stack
— Executing [testDTMF@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@cRETEUNICA
it works properly.

Thanks

2 thoughts on - Problem With DTMF Detection On Calls Created With Originate AMI Command

  • You didn’t specify the Asterisk version. You can ignore this message. Current versions simply suppress this message for -1 in that routine.

    Richard