[Asterisk-Users] two X100P cards and one TDM400P

Martin Pycko martinp at digium.com
Tue Apr 29 11:08:00 MST 2003


/etc/zaptel.conf
fxsks=1-2
fxoks=3-6
defaultzone=us
loadzone=us

"modprobe wcfxo"
"modprobe wcfxs"
"ztcfg -vv"

/etc/asterisk/zapata.conf
[channels]
context=incoming
signalling=fxs_ks
group=1
channel => 1-2
context=internal
signalling=fxo_ks
group=2
channel => 3-6

Now in extensions.conf you can set up some extensions
in contexts: [incoming] and [internal] like this:

/etc/asterisk/extensions.conf
[incoming]
exten => s,1,Dial,Zap/3&Zap/4&Zap/5&Zap/6|20
exten => s,2,Congestion

[internal]
exten => _9X.,1,Dial,Zap/g1/${EXTEN:1}
exten => _100[0-3],1,Dial,Zap/$[${EXTEN} - 997]

Now you can dial out with 9 and call your phones with 1000,1001,1002

Martin
On Tue, 29 Apr 2003, Randy Smith wrote:

> > Do you have all 4 modules on TDM400P ?
>
> Yes.
>
> Randy
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list