Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This parameters are set by /etc/zaptel.conf (change xx to your country code (eg. uk or de). Disable crc4 if your operator or PBX does not support it. Next important thing is WHO will be master of clocks. In most situations, networtk part will act as clock source, but ask your operator, if you should be master or not. Misconfiguration of this will do strange errors in framing. Change

Code Block
loadzone = xx
defaultzone = xx

# PRI TE
span=1,1,0,ccs,hdb3,crc4  ; I am clock master
;span=1,0,0,ccs,hdb3,crc4; Remote side is clock master
bchan=1-15
dchan=16
bchan=17-30

Next, it is needed to set layer3 parameters and PBX specific parameters. It is stored in /etc/asterisk/zapata.conf. Use same language code as above. Use swtichtype ISDN because it has best support within asterisk. Qsig is not implemented well. Select signalling (either cpe for end device and net for master device). In most situation, your asterisk gateway will act as CPE because your telecomunication operator act as network device (master). Dialplan is unknown, it means that there will be no automatic country or PBX prefixes for calling and we will do this in dialplan (better solution). Echoparaeters are needed for echocancelation to work. But it can be time consuming process to find source of echo and cancelate it. And you can never be sure that it will not appear in some calls. See http://www.voip-info.org/wiki/view/Asterisk+echo+cancellation&view_comment_id=13700 for more informations. Immediate means if calling to your asterisk will be routed to called number into dialplan. Next, we have to setup calling groups. In this scenario, we have only one calling group which spans all available channels on card. We can group only some of them or more cards together. Any call to your Asterisk box will be routed into fpstn context (see above).

...