Difference between revisions of "TDM400P"
(→Installing Everything you Need) |
(→Add a Trunk for every FXO module) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Installing Everything you Need== | ==Installing Everything you Need== | ||
− | ''apt-get install zaptel | + | ''apt-get install zaptel'' |
− | apt-get install zaptel-source | + | |
− | m-a a-i zaptel | + | ''apt-get install zaptel-source'' |
− | genzaptelconf -sdvM'' | + | |
+ | ''m-a a-i zaptel'' | ||
+ | |||
+ | ''genzaptelconf -sdvM'' | ||
===Edit Needed Configs=== | ===Edit Needed Configs=== | ||
Line 26: | Line 29: | ||
''channel => 1 # use the correct zaptel channel/port, ranges are possible as well'' | ''channel => 1 # use the correct zaptel channel/port, ranges are possible as well'' | ||
− | Now get into the AMP Configuration | + | ===Now get into the AMP Configuration=== |
''Web Admin -> Phone Lines -> Deactivate Automatic Configuration -> To Configure AMP, click click here'' | ''Web Admin -> Phone Lines -> Deactivate Automatic Configuration -> To Configure AMP, click click here'' |
Latest revision as of 10:17, 5 February 2011
Installing Everything you Need
apt-get install zaptel
apt-get install zaptel-source
m-a a-i zaptel
genzaptelconf -sdvM
Edit Needed Configs
nano /etc/asterisk/zapata.conf
for FXS Ports:
context=from-internal
signalling=fxo_ks # use the correct signalling
channel => 1 # use the correct zaptel channel/port, ranges are possible as well
for FXO Ports:
context=from-pstn
signalling=fxs_ks # use the correct signalling
channel => 1 # use the correct zaptel channel/port, ranges are possible as well
Now get into the AMP Configuration
Web Admin -> Phone Lines -> Deactivate Automatic Configuration -> To Configure AMP, click click here
Add a Trunk for every FXO module.
Click on Trunks -> Add ZAP Trunk
Maximum channels: 1
Zap Identifier (trunk name): <Use the channel number for the FXO port that you created in zapata.conf>
Submit Changes
Add an Inbound Route.
Leave everything blank except for "Set Destination", I setup a Ring Group and selected that. Submit Changes
Now setup your Outbound Route(s), Most likely one per FXO port. I edited the existing route. Setup what ever Dial Patterns you want, I setup "9.|" for one port and "8|." for another port. Setup your Trunk Sequence Submit Changes
Setup FXS Extension for every FXS module: Click on Extension.
Device: Select "Generic ZAP Device"
Submit
User Extension: <put in a number, I started at 300>
Display Name: <put in a name>
This device uses zap technology.
channel <Put in the FXS Port number>
Submit
Now this is a VERY VERY basic setup designed to just get it to work. You will still have to fine tune your FXO ports. I will setup a page for that wants I get mine done.