[asterisk-users] problem with DTMF detection on calls created with Originate AMI command

Richard Mudgett rmudgett at digium.com
Thu Jun 30 15:14:43 CDT 2016


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@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>


More information about the asterisk-users mailing list