nik600 at gmail.com Guest
|
Posted: Wed Jun 04, 2008 5:07 pm Post subject: [asterisk-users] Patch for app_asr.c: DTMF instead of goto |
|
|
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 |
|