Hello All, one of the extensions fall into a loop, I don't know how to hangup that channel -- Executing [i at autoatten:2] Goto("Local/100 at sipphones-000001b2;2", "s,2") in new stack -- Goto (autoatten,s,2) -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 -- Executing [i at autoatten:1] Playback("Local/2000 at sipphones-000001b2;2", "pbx-invalid") in new stack -- <Local/200 at sipphones-000001b2;2> Playing 'pbx-invalid.gsm' (language 'en') -- Executing [i at autoatten:2] Goto("Local/200 at sipphones-000001b2;2", "s,2") in new stack -- Goto (autoatten,s,2) -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 -- Executing [i at autoatten:1] Playback("Local/200 at sipphones-000001b2;2", "pbx-invalid") in new stack -- <Local/200 at sipphones-000001b2;2> Playing 'pbx-invalid.gsm' (language 'en') -- Remote UNIX connection -- Executing [i at autoatten:2] Goto("Local/200 at sipphones-000001b2;2", "s,2") in new stack -- Goto (autoatten,s,2) -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 -- Executing [i at autoatten:1] Playback("Local/200 at sipphones-000001b2;2", "pbx-invalid") in new stack -- <Local/200 at sipphones-000001b2;2> Playing 'pbx-invalid.gsm' (language 'en') -- Executing [i at autoatten:2] Goto("Local/200 at sipphones-000001b2;2", "s,2") in new stack -- Goto (autoatten,s,2) -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 -- Executing [i at autoatten:1] Playback("Local/200 at sipphones-000001b2;2", "pbx-invalid") in new stack -- <Local/200 at sipphones-000001b2;2> Playing 'pbx-invalid.gsm' (language 'en') any ideas? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140505/3c9330f7/attachment.html>
On May 5, 2014, at 10:15 AM, motty cruz <motty.cruz at gmail.com> wrote:> Hello All, > > one of the extensions fall into a loop, I don't know how to hangup that channel > > -- Executing [i at autoatten:2] Goto("Local/100 at sipphones-000001b2;2", "s,2") in new stack > -- Goto (autoatten,s,2) > -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 > -- Executing [i at autoatten:1] Playback("Local/2000 at sipphones-000001b2;2", "pbx-invalid") in new stack > -- <Local/200 at sipphones-000001b2;2> Playing 'pbx-invalid.gsm' (language 'en') > -- Executing [i at autoatten:2] Goto("Local/200 at sipphones-000001b2;2", "s,2") in new stack > -- Goto (autoatten,s,2)The messages above appear to show that, in the autoatten context, the call is reaching extension i, priority 2, which executes Goto(s,2), but there is no extension s. Thus, control starts again at the top of the i extension, and the loop begins again. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140505/aee68710/attachment.pgp>
On Mon, 5 May 2014, motty cruz wrote:> one of the extensions fall into a loop, I don't know how to hangup that channel > > ? ? -- Goto (autoatten,s,2) > ? ? -- Sent into invalid extension 's' in context 'autoatten' on Local/200 at sipphones-000001b2;2 > > any ideas??If you're asking how to prevent it from happening, how about 'exten = s,2,hangup()?' If you're asking how to hang up the channel while it is in a loop, what have you tried? Does 'channel request hangup' help? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000