[asterisk-dev] How to busy out PRI channels?

Steve Edwards asterisk.org at sedwards.com
Wed Oct 25 15:37:51 MST 2006


On Tue, 24 Oct 2006, Tony Mountifield wrote:

> I want to create a CLI or Manager command to busy and un-busy channels
> in a PRI trunk, without actually making real calls.
>
> Does chan_zap have any API functions that I can call to do this, or do
> I need to create some new functionality? How about libpri?
>
> The objective is that a busied-out channel (a) will not be available
> for dialing out on - it would be skipped in group dialling and would
> give CHANUNAVAIL if called explicitly, and (b) would not be used for
> incoming calls - I assume there would be some D-channel signalling
> involved to mark the channel as busy.
>
> If anyone could point me in the right direction, I would be very
> appreciative!

This would rock if you could mark a channel as not available while it is 
off-hook.

You could then "busy out" all channels on a span and when all channels 
were on-hook you could disconnect the span for maintenance or whatever.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000


More information about the asterisk-dev mailing list