[asterisk-users] Zaptel channel reservation

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jul 30 09:17:55 CDT 2007


On Mon, Jul 30, 2007 at 02:01:49PM +0200, Jack wrote:
> Hi all,
> 
> I have a Wildcard TE110P connected to a E1 line an I want to reserve
> channels in the following way:
> 
> channels 1-15 and 17-21 for incoming calls
> channels 22-28 for outgoing calls
> channels 29-31 for emergency calls
> 
> My zaptel.conf looks like this:
> 
> ; incoming
> group = 1
> signalling=pri_cpe
> context=from-zaptel
> channel => 1-15
> channel => 17-21
> 
> ; outgoing
> group = 2

context = hangup-calls

> signalling=pri_cpe
> channel => 22-28
> 
> ; emergency
> group = 3

; keeping your convention and writing the directive explicitly,
; although it is kept implicitly from previous channel:
context = hangup-calls

> signalling=pri_cpe
> channel => 29-31

and then in extensions.conf:

[hangup-calls]
; not sure that this is precisly the right thing to do:
exten => s,1,Hangup

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list