Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Patch for app_asr.c: DTMF instead of goto


 
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: Wed Jun 04, 2008 5:07 pm    Post subject: [asterisk-users] Patch for app_asr.c: DTMF instead of goto Reply with quote

Hi to all

if someone of you is interested on it, i've changed the code of app_asr.c

With these patch you can use the ASR application to play DTMF tones,
so you can have your own AGI application that uses the ASR and manages
the DTMF tones without change the dialplan.

EXAMPLE

exten => 003,1,Ringing
exten => 003,2,Wait(3)
exten => 003,3,Answer
exten => 003,4,ASR(t5000c80l4,100,200:pippo,300:pluto,400:paperino)
exten => 003,5,Read(digito||3)
exten => 003,6,SayDigits(${digito})
exten => 003,7,Wait(30)

The old app_asr will send you to the 200,300 or 400 extension.

With the modified app_asr you will hear (and Asterisk can detects, via
AGI or dialplan) 200,300,400 DTMF tones.

You can find more information here.

http://www.kumbe.it/pagine/dettaglio/34/206.html

Bye

--
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/reportmaker
https://sourceforge.net/projects/nikstresser
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