Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:26 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: dtmf on callback
PostPosted: Tue Jan 26, 2010 10:44 am 
Offline

Joined: Sat Sep 19, 2009 5:51 am
Posts: 33
Dear,
our call back system, does not recognize the entered digits.
how can I check the DTMF on the added trunk?
how can I add rfcmode to that?

best


Top
 Profile  
 
 Post subject: Re: DTMF on CallBack
PostPosted: Tue Jan 26, 2010 3:59 pm 
Offline
User avatar

Joined: Thu Jan 14, 2010 4:07 pm
Posts: 23
Location: Brazil
The Following Application uses Read and SayDigits to read 3 digits from user, saying each one as user types.

Code:
Asterisk 1.2:
exten => s,1,Gotoif($[ "${LEN(${extensao})}" < "3"]?3:100)
exten => s,n,NoOp(Executing - ${extensao} - )
exten => s,n,Read(digito||1)
exten => s,n,SayDigits(${digito})
exten => s,n,Set(extensao=${extensao}${digito})
exten => s,n,GoTo(s,1)
exten => s,100,GoTo(from-pstn,s,1)
exten => h,1,hangup()

Asterisk 1.4, 1.6:
exten => s,1(start),Gotoif($[ "${LEN(${extensao})}" < "3"]?collect:pstn)
exten => s,n,NoOp(Executing - ${extensao} - )
exten => s,n(collect),Read(digito,,1)
exten => s,n,SayDigits(${digito})
exten => s,n,Set(extensao=${extensao}${digito})
exten => s,n,GoTo(start)
exten => s,n(pstn),GoTo(from-pstn,s,1)
exten => h,1,hangup()


With this you can test whether the digits that flies are entering are coming correctly to asterisk.

Font: http://www.voip-info.org


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group