[asterisk-users] How to "busy out" zap channels

Tomás Laureano Peralta Tormey tomas.laureano.peralta.tormey at gmail.com
Thu Sep 27 22:35:21 CDT 2007


Anthony:
Yes, you are right, sometimes that could happen but if Brian is going
to take out of service his box is possible that he is monitoring this
box and he could detect this behavior. Also, if you have a hung
channel in your box, this channel is actually in use and will
replicate the requirement that Brian needs (block the incoming calls
from the bearer channels of that PRI trunk).
Anyway, this could be a solution for me (that is better that
connecting the channels to empty meetme rooms) but maybe not for
Brian. I hope this works well for him.

Best regards, Tomás.

2007/9/27, Anthony Francis <anthonyf at rockynet.com>:
> Tomás Laureano Peralta Tormey wrote:
> > Brian:
> > Maybe the CLI command "stop gracefully" is what are you looking for.
> > Basically, Asterisk will stop receiving incoming calls (of any channel
> > type) and stop itself when all the current calls finish.
> > I hope this help you.
> >
> > Best regards, Tomás.
> >
> > 2007/9/26, Brian Roy <mister.roy at gmail.com>:
> >
> >> I know this topic came up many months back and some discussions were
> being
> >> had on how to do this within the Zaptel drivers. However, I'm looking for
> >> even a crude hack that someone has put together to get this done.
> >>
> >> We have PRI's and LD T1's that are load balanced on two boxes. The hunt
> >> order goes from box to box as far as the spans are concerned. There are
> >> times that I would like to busy one out so that calls gradually role to
> the
> >> new box and I can eventually take one out of service. What I was thinking
> is
> >> to create a script that I could tell the specific channels and it would
> go
> >> through and initiate zap calls to an empty meetme. Basically bridging all
> of
> >> the available zap channels on a given span together. Then the trick is
> >> monitoring the hangups so that it can initiate a subsequent call
> immediately
> >> following. Once all of the channels in a span have been bridged, I can
> then
> >> bring the box down. Nasty huh?
> >>
> >> Anyone have a better idea? Or do they have anything like this so I'm not
> >> putting it together?
> >>
> >> Thanks,
> >>
> >> -Brian
> >>
> >>
> >
> > _______________________________________________
> >
> > Sign up now for AstriCon 2007!  September 25-28th.
> http://www.astricon.net/
> >
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> I used to do this automatically at night so that my script could svn
> update configs and then restart asterisk, what a found is that if you
> have one hung channel your ast box wil just sit there till someone
> issues a "Restart Now" in the morning.
>
> Anthony
>
> _______________________________________________
>
> Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list