[Asterisk-Users] T1 inbound dialplan
Michael Welter
mike at introspect.com
Wed Feb 25 05:49:54 MST 2004
here is a working config for a fractional PRI T1:
in /etc/zaptel.conf:
span=1,0,0,esf,b8zs # the chan bank
fxsks=1-8 # FXO cards
fxoks=9-24 # FXS cards
span=2,1,0,esf,b8zs # the PRI
bchan=40-47 # channels 16-23
dchan=48 # channel 24
in /etc/asterisk/zapata.conf
... chan bank channels
context=<yourcontext>
signalling=pri_cpe ; on the customer premise side of the T1
group=2
channel=> 40-47 ; channels 16-23 on the T1
in /etc/asterisk/extensions.conf
exten => 1160,1,Wait(1) ; main number
exten => 1160,2,Goto(<1160context>,s,1) ; go to old FXO context
exten => 1265,1,Wait(1) ; another main number
exten => 1265,2,Goto(<1265context>,s,1)
exten => 8080,1,Wait(1) ; the first DID number
exten => 8080,2,Dial(Zap/9,15,t) ; dial the extension set
exten => 8080,3,Voicemail...
etc.
Note that I get only the last four digits from my CLEC--yours may be
different. You can enter "pri debug span <n>" at the console to see the
incoming messages.
Cheers
Tri Tu wrote:
>
> Hello everyone,
>
> I'm trying to setup the T1 line with T100P card but could not get it
> accepts inbound calls. I only got busy signal. Anyone know what would
> be the dialplan (extension.conf) to accept T1 line calls.
>
> Thanks.
>
> -Tri.
--
Michael Welter
Introspect Consulting, Inc.
Denver, Colorado
+1 303 674 2575
mike at introspect.com
www.introspect.com
More information about the asterisk-users
mailing list