[asterisk-users] Busy out a zap channel?

C F shmaltz at gmail.com
Tue May 20 17:30:33 CDT 2008


Just create an extension like this:
[busyoutline]
exten => 111,1,Answer()
exten => 111,n,Busy()

then drop a .call file like this:
Channel: Zap/1/111
 MaxRetries: 2
 RetryTime: 60
 WaitTime: 30
 Context: busyoutline
 Extension: 111
 Priority: 1

The above should work, however keep in mind if the telco will send a
CPC at any time during the off hook announcement, that the channel
will be terminated. If the line doesn't work, then this should work
perfectly.

When you want to hang this up just log into CLI and do the following
command (1.2.x not sure about 1.4.x): soft hangup Zap/1-1

Hope this works.

On Tue, May 20, 2008 at 4:33 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:
>        Is there a way to busy out a Zap channel?  I have a customer who is
> having problems with a line connected to a TDM800 card and we would like
> to busy out that line.  Since that line is the head of the hunt group I
> cannot simply disable that channel, I need to busy the line so calls
> will come over the other lines.
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez Prats
> Director de Tecnologìa
> +52-55-91169161 ext 2001
>
>
> _______________________________________________
> -- 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