In my dialplan i have this. But when i press 1 to play the recorded MSG, the file keep playing it self!
Put this in your dialplan and you will see! I’m using asterisk 1.8.4.2
Hope for suggestion that helps!
NOTE*: I’m using options of this page:
wiki.asterisk.org/wiki/display/ … OK_INHERIT
exten=>7,1,Answer()
exten=>7,2,Set(TIMEOUT(absolute)=0)
exten=>7,3,Set(TIMEOUT(digit)=2)
exten=>7,4,Playback(beep)
exten=>7,5,WaitExten(10)
exten=>1,1,Goto(lst,100,1)
exten=>2,1,Goto(rec,200,1)
exten=>3,1,Goto(snd,300,1)
[rec]
exten=>200,1,Set(TIMEOUT(absolute)=0)
exten=>200,2,Set(TIMEOUT(digit)=2)
exten=>200,3,Set(AUDIOHOOK_INHERIT(MixMonitor)=no)
exten=>200,4,MixMonitor(/dev/shm/test.ulaw)
exten=>200,5,WaitExten(10)
exten=>#,1,Goto(phone-202,7,2)
exten=>h,1,Hangup(1)
[lst]
exten=>100,1,Set(TIMEOUT(absolute)=0)
exten=>100,2,Set(TIMEOUT(digit)=2)
exten=>100,3,Playback(/dev/shm/test)
exten=>100,4,Goto(phone-202,7,2)
[snd]
exten=>300,1,AGI(send_msg.agi)