[Asterisk-Users] B-channels restart problem

Mark Spencer markster at digium.com
Thu Jan 15 09:04:11 MST 2004


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  mughrabi at hotmail.com
> >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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list