[asterisk-users] Asterisk 1.8.13 PlayTones App

Jakob-Matthias Böttger jakob at j-mb.de
Wed Jul 4 12:50:59 CDT 2012


Hi,
i'm trying to implement a Playtones App into my IVR. If a invalid numer 
is entered, Asterisk should play the info tone defined at the 
indications.conf.

My Extensions.conf

exten => i,1,Set(CHANNEL(language)=de)
exten => i,2,Progress()
exten => i,3,PlayTones(info)
exten => i,n,Playback(fettefinger)
exten => i,n,Wait(2)
exten => i,n,StopPlayTones()
exten => i,n,Goto(i,3)

The Console shows

Invalid extension '5' in context 'support' on SIP/200-0000000a
   == CDR updated on SIP/200-0000000a
     -- Executing [i at support:1] Set("SIP/200-0000000a", 
"CHANNEL(language)=de") in new stack
     -- Executing [i at support:2] PlayTones("SIP/200-0000000a", "info") in 
new stack
     -- Executing [i at support:3] Playback("SIP/200-0000000a", 
"fettefinger") in new stack
     -- <SIP/200-0000000a> Playing 'fettefinger.alaw' (language 'de')
     -- Executing [i at support:4] Wait("SIP/200-0000000a", "2") in new stack

But the only thing i can hear is my Soundfile fettefinger.




BR Jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6245 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120704/5d6430a0/attachment.bin>


More information about the asterisk-users mailing list