[asterisk-users] How to "busy out" zap channels
Tomás Laureano Peralta Tormey
tomas.laureano.peralta.tormey at gmail.com
Wed Sep 26 23:54:56 CDT 2007
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
>
More information about the asterisk-users
mailing list