[asterisk-users] how to hangup Local/100 channel

2014-05-05 Thread motty cruz
Hello All,

one of the extensions fall into a loop, I don't know how to hangup that
channel

-- Executing [i@autoatten:2] Goto(Local/100@sipphones-01b2;2,
s,2) in new stack
-- Goto (autoatten,s,2)
-- Sent into invalid extension 's' in context 'autoatten' on
Local/200@sipphones-01b2;2
-- Executing [i@autoatten:1] Playback(Local/2000@sipphones-01b2;2,
pbx-invalid) in new stack
-- Local/200@sipphones-01b2;2 Playing 'pbx-invalid.gsm' (language
'en')
-- Executing [i@autoatten:2] Goto(Local/200@sipphones-01b2;2,
s,2) in new stack
-- Goto (autoatten,s,2)
-- Sent into invalid extension 's' in context 'autoatten' on
Local/200@sipphones-01b2;2
-- Executing [i@autoatten:1] Playback(Local/200@sipphones-01b2;2,
pbx-invalid) in new stack
-- Local/200@sipphones-01b2;2 Playing 'pbx-invalid.gsm' (language
'en')
-- Remote UNIX connection
-- Executing [i@autoatten:2] Goto(Local/200@sipphones-01b2;2,
s,2) in new stack
-- Goto (autoatten,s,2)
-- Sent into invalid extension 's' in context 'autoatten' on
Local/200@sipphones-01b2;2
-- Executing [i@autoatten:1] Playback(Local/200@sipphones-01b2;2,
pbx-invalid) in new stack
-- Local/200@sipphones-01b2;2 Playing 'pbx-invalid.gsm' (language
'en')
-- Executing [i@autoatten:2] Goto(Local/200@sipphones-01b2;2,
s,2) in new stack
-- Goto (autoatten,s,2)
-- Sent into invalid extension 's' in context 'autoatten' on
Local/200@sipphones-01b2;2
-- Executing [i@autoatten:1] Playback(Local/200@sipphones-01b2;2,
pbx-invalid) in new stack
-- Local/200@sipphones-01b2;2 Playing 'pbx-invalid.gsm' (language
'en')


any ideas?

Thanks,
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] how to hangup Local/100 channel

2014-05-05 Thread Matt Behrens
On May 5, 2014, at 10:15 AM, motty cruz motty.c...@gmail.com wrote:

 Hello All, 
 
 one of the extensions fall into a loop, I don't know how to hangup that 
 channel
 
 -- Executing [i@autoatten:2] Goto(Local/100@sipphones-01b2;2, 
 s,2) in new stack
 -- Goto (autoatten,s,2)
 -- Sent into invalid extension 's' in context 'autoatten' on 
 Local/200@sipphones-01b2;2
 -- Executing [i@autoatten:1] Playback(Local/2000@sipphones-01b2;2, 
 pbx-invalid) in new stack
 -- Local/200@sipphones-01b2;2 Playing 'pbx-invalid.gsm' (language 
 'en')
 -- Executing [i@autoatten:2] Goto(Local/200@sipphones-01b2;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.



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] how to hangup Local/100 channel

2014-05-05 Thread Steve Edwards

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@sipphones-01b2;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   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] how to hangup Local/100 channel

2014-05-05 Thread motty cruz
Thanks for your support, I was able to soft hangup using hangup request
Local/200@users-0001b

first, I did core show channels,
after stopping this loops I was able to fixed that problem from happening
again,

Thanks,


On Mon, May 5, 2014 at 8:56 AM, Steve Edwards asterisk@sedwards.comwrote:

 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@sipphones-01b2;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   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
 Newline  Fax: +1-760-731-3000
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] how to hangup Local/100 channel

2014-05-05 Thread Steve Edwards

Please don't top post.

On Mon, 5 May 2014, motty cruz wrote:

Thanks for your support, I was able to soft hangup using hangup request 
Local/200@users-0001b  first, I did core show channels,  after stopping 
this loops I was able to fixed that problem from happening again, 


On Mon, 5 May 2014, Steve Edwards asterisk@sedwards.com wrote:

If you're asking how to prevent it from happening, how about 'exten = 
s,2,hangup()?'


Note that you also could have added the 'missing' priority and reloaded 
your dialplan and the hangup would have been executed on the next 
iteration of the loop.


Or if you're adventurous, there's always the 'dialplan add extension' 
command.


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users