Difference between revisions of "TDM400P"

From LinuxMCE
Jump to: navigation, search
(New page: 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 ...)
 
Line 13: Line 13:
  
 
''context=from-internal''
 
''context=from-internal''
 +
 
''signalling=fxo_ks    # use the correct signalling''
 
''signalling=fxo_ks    # use the correct signalling''
 +
 
''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''
  
Line 19: Line 21:
  
 
''context=from-pstn''
 
''context=from-pstn''
 +
 
''signalling=fxs_ks    # use the correct signalling''
 
''signalling=fxs_ks    # use the correct signalling''
 +
 
''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''
  
Line 29: Line 33:
  
 
''Click on Trunks -> Add ZAP Trunk''
 
''Click on Trunks -> Add ZAP Trunk''
 +
 
''Maximum channels: 1''
 
''Maximum channels: 1''
 +
 
''Zap Identifier (trunk name): <Use the channel number for the FXO port that you created in zapata.conf>''
 
''Zap Identifier (trunk name): <Use the channel number for the FXO port that you created in zapata.conf>''
 +
 
''Submit Changes''
 
''Submit Changes''
  
Line 45: Line 52:
 
Setup FXS Extension for every FXS module:
 
Setup FXS Extension for every FXS module:
 
''Click on Extension''.
 
''Click on Extension''.
 +
 
''Device: Select "Generic ZAP Device"''
 
''Device: Select "Generic ZAP Device"''
 +
 
''Submit''
 
''Submit''
 +
 
''User Extension: <put in a number, I started at 300>''
 
''User Extension: <put in a number, I started at 300>''
 +
 
''Display Name: <put in a name>''
 
''Display Name: <put in a name>''
 +
 
''This device uses zap technology.''
 
''This device uses zap technology.''
 +
 
''channel <Put in the FXS Port number>''
 
''channel <Put in the FXS Port number>''
 +
 
''Submit''
 
''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.
 
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.

Revision as of 23:16, 29 January 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.