RE: [Asterisk-Users] B-channels restart problem

2004-01-15 Thread Scott Stingel
Hi -

I noticed this as well a while ago, and spoke with Mark Spencer at Digium.
I think he said it is normal for the channels to occasionally restart
themselves, however I didn't think they were supposed to do it if they are
in use.

Perhaps you should send a message to [EMAIL PROTECTED] and see what they
say.

Do you have any other errors in your /var/log/asterisk/messages flle?

regards
Scott Stingel

Scott M. Stingel 
Emerging Voice Technology Inc.


URL:www.evtmedia.com   



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ali Mughrabi
Sent: Thursday, January 15, 2004 12:54 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] B-channels restart problem


Hi ,

I'm having a problem that really bothers me , I have  looked for similar 
cases but couldn't really
find an answer .

I keep getting messages which  says that
-- B-channel xx successfully restarted on span x
and this causes the calls to be disconnected if somone is already using the 
channel that is being restarted, plz notice below the under lined text  in 
which I was testing and got on channel 20 span 3 , and then it got 
disconnected after restart, I can't decide if this is a telco or 
configuration problem , telco says they have no problem , shall I beleive 
them?

please I need any help or comment that might be helpful.

thanx in Advance

pleaes reply here or to me [EMAIL PROTECTED]

Thanx in Advance
Ali Mughrabi


-- Accepting call from '065639815' to '9009170' on channel 20, span 3
-- Executing AGI(Zap/82-1, 
../album_show/album_show.agi|--apelant=065639815) in new stack
-- Launched AGI Script 
/var/lib/asterisk/agi-bin/../album_show/album_show.agi
-- B-channel 14 successfully restarted on span 3
-- B-channel 15 successfully restarted on span 3
  == Spawn extension (inbound, 9009170, 2) exited non-zero on 'Zap/82-1'
-- Hungup 'Zap/82-1'
-- B-channel 17 successfully restarted on span 3
-- B-channel 18 successfully restarted on span 3
-- B-channel 20 restarted on span 3
-- B-channel 19 successfully restarted on span 3
-- B-channel 20 successfully restarted on span 3
-- B-channel 21 successfully restarted on span 3

_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] B-channels restart problem

2004-01-15 Thread Bisker, Scott (7805)



Ali,

If 
Zap/82 is channel 20 on Span 3, then it looks like it's hanging up before the 
channel restarts as this line indicates.

== Spawn extension (inbound, 9009170, 
2) exited non-zero on 'Zap/82-1' 

Maybe 
there is a problem with your agi script.

B 
channels only restart when the PRI line isn't busy.

-sb

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Ali 
  MughrabiSent: Thursday, January 15, 2004 7:48 AMTo: 
  [EMAIL PROTECTED]Subject: [Asterisk-Users] B-channels 
  restart problem
  Hi , 
  
  I'm having a problem that really bothers me , I havelooked 
  for similar cases but couldn't really 
  
  find an answer . 
  
  
  I keep getting messages whichsays that 
  
  -- B-channel xx successfully restarted on span x 
  
  and this causes the calls to be disconnected if somone is already using 
  the channel that is being restarted, plz notice below the under lined 
  textin which I was testing and got on channel 20 span 3 , and then 
  it got disconnected after restart, I can't decide if this is a telco or 
  configuration problem , telco says they have no problem , shall I beleive 
  them? 
  
  
  please I need any help or comment that might be helpful. 
  
  
  Thanx in Advance 
  
  
  pleaes reply here or toat [EMAIL PROTECTED] 
  
  
  Thanx in Advance 
  
  Ali Mughrabi 
  -- Accepting call from '065639815' to '9009170' on channel 20, span 3 
  
  
  -- Executing AGI("Zap/82-1", 
  "../album_show/album_show.agi|--apelant=065639815") in new stack 
  
  -- Launched AGI Script 
  /var/lib/asterisk/agi-bin/../album_show/album_show.agi 
  
  -- B-channel 14 successfully restarted on span 3 
  
  
  -- B-channel 15 successfully restarted on span 3 
  
  
  == Spawn extension (inbound, 9009170, 2) exited non-zero on 
  'Zap/82-1' 
  
  -- Hungup 'Zap/82-1'
  
  
  -- B-channel 17 successfully restarted on span 3 
  
  
  -- B-channel 18 successfully restarted on span 3 
  
  
  -- B-channel 20 restarted on span 3 
  
  -- B-channel 19 successfully restarted on span 3 
  
  
  -- B-channel 20 successfully restarted on span 3 
  
  
  -- B-channel 21 successfully restarted on span 3 
  
  
  
  
  Protect your PC - Click here 
  for McAfee.com VirusScan Online 
  ___ Asterisk-Users mailing list 
  [EMAIL PROTECTED] 
  http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or 
  update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users 



Re: [Asterisk-Users] B-channels restart problem

2004-01-15 Thread Anton Tinchev
Ali Mughrabi wrote:

Hi ,
I'm having a problem that really bothers me , I have  looked for similar cases 
but couldn't really
find an answer .
I keep getting messages which  says that
-- B-channel xx successfully restarted on span x
and this causes the calls to be disconnected if somone is already using the 
channel that is being restarted, plz notice below the under lined text  in which 
I was testing and got on channel 20 span 3 , and then it got disconnected after 
restart, I can't decide if this is a telco or configuration problem , telco says 
they have no problem , shall I beleive them?
please I need any help or comment that might be helpful.

Thanx in Advance

pleaes reply here or to at  [EMAIL PROTECTED]
Thanx in Advance
Ali Mughrabi

--_ Accepting call from '065639815' to '9009170' on channel 20, span 3 _

   -- Executing AGI(Zap/82-1, 
../album_show/album_show.agi|--apelant=065639815) in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/../album_show/album_show.agi
   -- B-channel 14 successfully restarted on span 3
   -- B-channel 15 successfully restarted on span 3
 == Spawn extension (inbound, 9009170, 2) exited non-zero on 'Zap/82-1'
   -- Hungup 'Zap/82-1'
   -- B-channel 17 successfully restarted on span 3
   -- B-channel 18 successfully restarted on span 3
   _-- B-channel 20 restarted on span 3_
   -- B-channel 19 successfully restarted on span 3
   -- B-channel 20 successfully restarted on span 3
   -- B-channel 21 successfully restarted on span 3
 

I have similar messages, but everything works ok. No disconnects.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] B-channels restart problem

2004-01-15 Thread Mark Spencer
The restarts only occur on idle channels.  However, what is interesting is
that according to this log, the *switch* requests a restart on channel 20
(which if my calculations are correct, is the channel that has the call on
it).  You can see this because we log the messages on getting RESTART_ACK
as successfully restarted and the ones on the RESTART request as simply
restarted.

You can also confirm this by doing a pri debug span 3.  You can also
increase this time by adjusting RESET_INTERVAL at the top of
channels/chan_zap.c to make the reset of idle channels less frequent, but
generally speaking the reset of  idle channels is a Good Thing to make
sure both sides are always in sync, state wise, on a channel, and clearly
the other side is requesting the RESTART on the channel with an active
call.

Mark

On Thu, 15 Jan 2004, Anton Tinchev wrote:

 Ali Mughrabi wrote:

 Hi ,
 I'm having a problem that really bothers me , I have  looked for similar cases
 but couldn't really
 find an answer .
 I keep getting messages which  says that
 -- B-channel xx successfully restarted on span x
 and this causes the calls to be disconnected if somone is already using the
 channel that is being restarted, plz notice below the under lined text  in which
 I was testing and got on channel 20 span 3 , and then it got disconnected after
 restart, I can't decide if this is a telco or configuration problem , telco says
 they have no problem , shall I beleive them?
 please I need any help or comment that might be helpful.
 
 Thanx in Advance
 
 pleaes reply here or to at  [EMAIL PROTECTED]
 Thanx in Advance
 
 Ali Mughrabi
 
 --_ Accepting call from '065639815' to '9009170' on channel 20, span 3 _
 
 -- Executing AGI(Zap/82-1,
 ../album_show/album_show.agi|--apelant=065639815) in new stack
 -- Launched AGI Script /var/lib/asterisk/agi-bin/../album_show/album_show.agi
 -- B-channel 14 successfully restarted on span 3
 -- B-channel 15 successfully restarted on span 3
   == Spawn extension (inbound, 9009170, 2) exited non-zero on 'Zap/82-1'
 -- Hungup 'Zap/82-1'
 -- B-channel 17 successfully restarted on span 3
 -- B-channel 18 successfully restarted on span 3
 _-- B-channel 20 restarted on span 3_
 -- B-channel 19 successfully restarted on span 3
 -- B-channel 20 successfully restarted on span 3
 -- B-channel 21 successfully restarted on span 3
 
 
 I have similar messages, but everything works ok. No disconnects.
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users