Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
nik600 at gmail.com
Guest





PostPosted: Thu Jun 30, 2016 3:01 pm    Post subject: [asterisk-users] problem with DTMF detection on calls create Reply with quote

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


--
/*************/
nik600
http://www.kumbe.it
Back to top
rmudgett at digium.com
Guest





PostPosted: Thu Jun 30, 2016 3:15 pm    Post subject: [asterisk-users] problem with DTMF detection on calls create Reply with quote

On Thu, Jun 30, 2016 at 3:00 PM, nik600 <nik600@gmail.com (nik600@gmail.com)> wrote:
Quote:
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.





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


Richard
Back to top
nik600 at gmail.com
Guest





PostPosted: Thu Jun 30, 2016 3:20 pm    Post subject: [asterisk-users] problem with DTMF detection on calls create Reply with quote

i'm using Asterisk 1.6.2.9-2+squeeze12

2016-06-30 22:14 GMT+02:00 Richard Mudgett <rmudgett@digium.com (rmudgett@digium.com)>:
Quote:


On Thu, Jun 30, 2016 at 3:00 PM, nik600 <nik600@gmail.com (nik600@gmail.com)> wrote:
Quote:
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.





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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services