Add this to the bottom of /etc/asterisk/zapata.conf
signalling=fxs_ks ; X100P echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1
C)
Add this line to the end of the [default] context in your extensions.conf file
exten => _XXXXXX,1,Dial,Zap/1/${EXTEN} ; Press any 7 digit number and try to dial that number through Zap channel 1
exten => s,1,Wait(1) exten => s,2,Answer exten => s,2,Playback(demo-congrats) ; Plays the demo-congrats file after answering the line exten => s,3,Hangup
You will have to configure your extensions.conf file to fit your specific needs either for answering or dialing. Check out the wiki-pages for more information.
Do a modprobe wcfxo from console, this loads the driver for the x100p card. Followed by asterisk -vvvgc, which starts asterisk with verbosity(vvv), console(c) and core dumping(g) if asterisk seg faults.
fxoks=1-X # Change X to the number of FXS modules you have on the card, if only one, remove the '-X' defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf
signalling=fxo_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-4
C)
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
If you have more than one module on the card copy the dialplan for exten 1000 and just change the 1000 to x000 so you can differentiate which channel you are using. But remember to change the Zap/X channel in the Dial command, as well as the voicemailbox number.
exten => 2000,1,Dial,Zap/2|20 ; Dial Zap channel 2 and if busy asterisk will jump to a priority that is 101+n, which in this case is priority 102 exten => 2000,2,Voicemail,u2000 ; otherwise if no one picks up, it goes to voicemail exten => 2000,3,Hangup exten => 2000,102,Voicemail,b2000 ; this is the 101+n priority for exten 2000 which is the busy voicemail gretting for mailbox 2000 exten => 2000,103,Hangup
Go on configuring extensions for however many channels you have available. Check out the wiki-pages for more information. You will also need to set up voicemail boxes, using the voicemail.conf, check out the wiki-pages for help.
Do a modprobe wctdm,(if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxsks=1-X # Change X to the number of FXO modules you have on the card, if only one, remove the '-X' defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf. We will set up 1 line to be exclusively for incoming calls and the rest for outgoing calls
signalling=fxs_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-X ; Again X is the number of FXO modules you have
C)
Add these lines to the [default] context of your extensions.conf file
exten => _NXXXXXX,1,Dial(Zap/g1/${EXTEN}|20,t) ; Any 7-digit extension that doesnt start with one dials out using the first available channel in group 1
exten => s,1,Wait(1) exten => s,2,Dial,Zap/g1 ; Dials the first available channel in group 1 exten => s,3,Voicemail,u9000 exten => s,4,Hangup
Do a modprobe wctdm,(if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxoks=1 # Make sure that the FXS(green) module is closest to the bracket if you are looking at the side of the card with all of the electronic components. fxsks=2-X # This is for the channels of FXO module(s) you have defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf.
signalling=fxo_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1
signalling=fxs_ks group=2 context=incoming channel=> 2-X ; Again change the 'X' to the number of FXO modules you have
C)
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
exten => _NXXXXXX,1,Dial(Zap/g2/${EXTEN}|20,t) ; Any 7-digit extension that doesnt start with one dials out using the first available channel in group 2
D)
Add these lines to the end of your extensions.conf file
[incoming] exten => s,1,Wait(1) exten => s,2,Goto(default,1000,1) ; sends the call to extension 1000 in the default context which will ring the phone plugged into the FXS port exten => s,3,Hangup
Do a modprobe wctdm, (if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxoks=1-2 # Make sure that the FXS(green) modules are closest to the bracket if you are looking at the side of the card with all of the electronic components. fxsks=3-4 # This is for the FXO module(s) because it uses FXS signalling, if you only have one FXO module then remove the '-4' defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf. We will set up the 2 FXS modules to talk to analogue phones and the FXO module(s) to recieve calls
signalling=fxo_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-2
signalling=fxs_ks group=2 context=incoming channel=> 3-4 ; Again if you only have one FXO module remove the '-4'
C)
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
exten => _NXXXXXX,1,Dial(Zap/g2/${EXTEN}|20,t) ; Any 7-digit extension that doesnt start with one dials out using the first available channel in group 2
D)
Add these lines to the end of your extensions.conf file
[incoming] exten => s,1,Wait(1) exten => s,2,Dial(Zap/g1|20,t) ; Calls the first available channel in group 1 exten => s,3,Voicemail,u9000 ; Directs caller to unavailable voicemailbox 9000 exten => s,4,Hangup exten => s,103,Voicemail,b9000 ; Directs caller to busy voicemailbox 9000 exten => s,104,Hangup
Do a modprobe wctdm, (if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxoks=1-3 # Make sure that the FXS(green) modules are closest to the bracket if you are looking at the side of the card with all of the electronic components. fxsks=4 # This is for the FXO module(s) because it uses FXS signalling defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf. We will set up the 3 FXS modules to talk to analogue phones and the FXO module to recieve and execute calls
signalling=fxo_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-3
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
Do a modprobe wctdm, (if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxoks=1 # Make sure that the FXS(green) module is closest to the bracket if you are looking at the side of the card with all of the electronic components. fxsks=4 # FXO module defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf.
echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=<YOUR CALLER ID> signalling=fxo_ks group=1 context=default ; Points to the default context of your extensions.conf channel => 1
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. ??? from here until ???END lines may have been inserted/deleted exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
exten => _NXXXXXX,1,Dial(Zap/g2/${EXTEN}|20,t) ; Any 7-digit extension that doesnt start with 1
D)
Add these lines to the end of your extensions.conf file
[incoming] exten => s,1,Wait(1) exten => s,2,Dial(Zap/1|20,t) ; rings the phone plugged into the FXS port exten => s,3,Voicemail,u1000 exten => s,4,Hangup exten => s,103,Voicemail,b1000 exten => s,104,Hangup
Do a modprobe wctdm, (if you have latest cvs otherwise its modprobe wcfxs) which will load the driver for the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
fxsks=1 # X100P fxoks=2-5 the FXS(green) module is closest to the bracket if you are looking at the side of the card with all of the electronic components. defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf.
echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived signalling=fxs_ks group=1 context=incoming ; Points to the incoming context of your extensions.conf channel => 1
Add these lines to the [default] context of your extensions.conf file
exten => 1000,1,Dial,Zap/1|20 ; Exten 1000 dials Zap channel 1 with a ring time option of 20 secs, which is the analogue telephone plugged into the first port of the TDM400P. exten => 1000,2,Voicemail,u1000 exten => 1000,3,Hangup exten => 1000,102,Voicemail,b1000 exten => 1000,103,Hangup
Do a modprobe wcfxo and then modprobe wctdm, (if you have latest cvs otherwise its modprobe wcfxs) which will load the drivers for the X100P and the TDM Card. Next type in console asterisk -vvvgc to start asterisk with verbosity(vvv), console(c), and core dumping(g) if asterisk seg faults.
span=1,1,0,esf,b8zs bchan=1-23 # set this to 1-15,17-31 for E1 dchan=24 # set this to 16 for E1
defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf
signalling=pri_cpe ; pri_cpe = PRI slave ; pri_net = PRI master switchtype=national echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-23 ; Set this to 1-15,17-31 for E1
C)
Add this line to the end of the [default] context in your extensions.conf file
exten => _XXXXXX,1,Dial,Zap/g1/${EXTEN} ; Press any 7 digit number and try to dial that number through Zap channel 1
exten => s,1,Wait(1) exten => s,2,Answer exten => s,2,Playback(demo-congrats) ; Plays the demo-congrats file after answering the line exten => s,3,Hangup
You will have to configure your extensions.conf file to fit your specific needs either for answering or dialing. Check out the wiki-pages for more information.
Do a modprobe wct1xxp for the T100P or E100P or modprobe wcte11xp for the TE110P, from console, this loads the driver for the Wildcard. Next do a ztcfg -vv to setup the zaptel channels for the card. Followed by asterisk -vvvgc, which starts asterisk with verbosity(vvv), console(c) and core dumping(g) if asterisk seg faults.
Add these lines to /etc/zaptel.conf - Half FXS for phones, Half FXO for lines (telco)
span=1,1,0,esf,b8zs fxoks=1-12 # 12 FXS lines for ringing phones fxsks=13-24 # 12 FXO lines for connecting phone lines, set this to 13-31 for E1 defaultzone=us loadzone=us
B)
Add this to the bottom of /etc/asterisk/zapata.conf
signalling=fxo_ks ; FXS for ringing phones echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel => 1-12
signalling=fxs_ks ; FXO for connecting to the Telco group=2 context=incoming channel=> 13-24 ; Change 24 to 31 for E1
C)
Add this line to the end of the [default] context in your extensions.conf file
exten => _XXXXXX,1,Dial,Zap/g2/${EXTEN} ; Press any 7 digit number and try to dial that number through Zap channel 1
D)
Add these lines to the end of your extensions.conf file
[incoming] exten => s,1,Wait(1) exten => s,2,Dial(Zap/g1|20,t) ; rings the first available channel in group 2 exten => s,3,Playback(demo-congrats) exten => s,4,Hangup
You will have to configure your extensions.conf file to fit your specific needs either for answering or dialing. Check out the wiki-pages for more information.
Do a modprobe wct1xxp for the T100P or E100P or modprobe wcte11xp for the TE110P, from console, this loads the driver for the Wildcard. Next do a ztcfg -vv to setup the zaptel channels for the card. Followed by asterisk -vvvgc, which starts asterisk with verbosity(vvv), console(c) and core dumping(g) if asterisk seg faults.