[asterisk-users] cmd Backgound problem with option m
Hi list I encountered problem in using Background command. Below is my extensions.conf. [mainmenu] exten = 4,1,Wait(1) exten = 4,2,Background(thank-you-for-calling) exten = 4,3,Goto(n01|s|1) [n01] exten = s,1,NoOp(${CONTEXT}) exten = s,2,Background(thank-you-cooperation|m) exten = s,3,WaitExten() exten = s,4,Playback(digits/pound) exten = 1,1,Playback(digits/1) exten = i,1,Playback(digits/star) Without m option, everything's fine. If m option is present and when sound is playing, - pressing 1 terminates the call and does not goto ext 1 - pressing any other key does not stop sound playing, as expected. the message on the manager interface when 1 pressing. -- Starting simple switch on 'Zap/1-1' -- Executing [EMAIL PROTECTED]:1] Wait(Zap/1-1, 1) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-for-calling) in new stack -- Playing 'thank-you-for-calling' (language 'en') -- Executing [EMAIL PROTECTED]:3] Goto(Zap/1-1, n01|s|1) in new stack -- Goto (n01,s,1) -- Executing [EMAIL PROTECTED]:1] NoOp(Zap/1-1, n01) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation|m) in new stack -- Playing 'thank-you-cooperation' (language 'en') == Spawn extension (n01, s, 2) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' I also tried Background(thank-you-cooperation|m||n01). The result is - pressing 1 goto ext i - pressing any other key does not stop sound playing, as expected. the message on the manager interface when 1 pressing. -- Starting simple switch on 'Zap/1-1' -- Executing [EMAIL PROTECTED]:1] Wait(Zap/1-1, 1) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation) in new stack -- Playing 'thank-you-cooperation' (language 'en') -- Executing [EMAIL PROTECTED]:3] Goto(Zap/1-1, n01|s|1) in new stack -- Goto (n01,s,1) -- Executing [EMAIL PROTECTED]:1] NoOp(Zap/1-1, n01) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation|m||n01) in new stack -- Playing 'thank-you-cooperation' (language '') -- Sent into invalid extension 'E8' in context 'n01' on Zap/1-1 -- Executing [EMAIL PROTECTED]:1] Playback(Zap/1-1, digits/star) in new stack -- Playing 'digits/star' (language 'en') == Auto fallthrough, channel 'Zap/1-1' status is 'UNKNOWN' -- Hungup 'Zap/1-1' NOTICE that * tries to go to ext 'E8' which is a French alphabet e with grave accent. DTMF detection problem? but if context option and m option of Background is not specified, everything works well. any help will be appreciated. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] cmd Backgound problem with option m
Hi list I encountered problem in using Background command. Below is my extensions.conf. [mainmenu] exten = 4,1,Wait(1) exten = 4,2,Background(thank-you-for-calling) exten = 4,3,Goto(n01|s|1) [n01] exten = s,1,NoOp(${CONTEXT}) exten = s,2,Background(thank-you-cooperation|m) exten = s,3,WaitExten() exten = s,4,Playback(digits/pound) exten = 1,1,Playback(digits/1) exten = i,1,Playback(digits/star) Without m option, everything's fine. If m option is present and when sound is playing, - pressing 1 terminates the call and does not goto ext 1 - pressing any other key does not stop sound playing, as expected. the message on the manager interface when 1 pressing. -- Starting simple switch on 'Zap/1-1' -- Executing [EMAIL PROTECTED]:1] Wait(Zap/1-1, 1) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-for-calling) in new stack -- Playing 'thank-you-for-calling' (language 'en') -- Executing [EMAIL PROTECTED]:3] Goto(Zap/1-1, n01|s|1) in new stack -- Goto (n01,s,1) -- Executing [EMAIL PROTECTED]:1] NoOp(Zap/1-1, n01) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation|m) in new stack -- Playing 'thank-you-cooperation' (language 'en') == Spawn extension (n01, s, 2) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' I also tried Background(thank-you-cooperation|m||n01). The result is - pressing 1 goto ext i - pressing any other key does not stop sound playing, as expected. the message on the manager interface when 1 pressing. -- Starting simple switch on 'Zap/1-1' -- Executing [EMAIL PROTECTED]:1] Wait(Zap/1-1, 1) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation) in new stack -- Playing 'thank-you-cooperation' (language 'en') -- Executing [EMAIL PROTECTED]:3] Goto(Zap/1-1, n01|s|1) in new stack -- Goto (n01,s,1) -- Executing [EMAIL PROTECTED]:1] NoOp(Zap/1-1, n01) in new stack -- Executing [EMAIL PROTECTED]:2] BackGround(Zap/1-1, thank-you-cooperation|m||n01) in new stack -- Playing 'thank-you-cooperation' (language '') -- Sent into invalid extension 'E8' in context 'n01' on Zap/1-1 -- Executing [EMAIL PROTECTED]:1] Playback(Zap/1-1, digits/star) in new stack -- Playing 'digits/star' (language 'en') == Auto fallthrough, channel 'Zap/1-1' status is 'UNKNOWN' -- Hungup 'Zap/1-1' NOTICE that * tries to go to ext 'E8' which is a French alphabet e with grave accent. DTMF detection problem? but if context option and m option of Background is not specified, everything works well. any help will be appreciated. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users