[asterisk-users] background() with "m" option
Jack Wei
jack.wei at vertextelecom.com
Thu Jan 25 10:16:58 MST 2007
Hi...
In my dialplan, I have the following:
exten => s,1,Background(${RECORDING}|m)
exten => s,n,Voicemail(${DID_NO})
exten => 0,1,Voicemail(${DID_NO})
exten => a,1,VoiceMailMain(${DID_NO})
exten => h,1,Hangup
In version 1.2, when I hit "0" during the playback, I will be directed
to voicemail. But in verison 1.4, the call hangs up.
[Jan 24 16:05:37] DTMF[5754]: channel.c:2148 __ast_read: DTMF begin '0'
received on SIP/5060-08c53e68
[Jan 24 16:05:37] DTMF[5754]: channel.c:2128 __ast_read: DTMF end '0'
received on SIP/5060-08c53e68
== Spawn extension (play_recording, s, 1) exited non-zero on
'SIP/5060-08c53e68'
-- Executing [h at play_recording:1] Hangup("SIP/5060-08c53e68", "") in new
stack
== Spawn extension (play_recording, h, 1) exited non-zero on
'SIP/5060-08c53e68'
Does anyone tell me why this is happening?
Thanks,
Jack
More information about the asterisk-users
mailing list