Creating a second ZAP trunk

cefe_71
Posts: 3
Member Since:
2008-03-05

I have trixbox 2.4 with one Digium TDM400p board (one fxo module) running very good for a few weeks. Now I decided to add a second fxo for a company that offer great rate to a specific destination. My problem is that my trixbox configured the second fxo as a second channel for the original trunk group, so I can't filter calls. I think I need to delete this fxo from the original trunk (go) and create a new trunk (g1) with the second fxo module so I can play with the outgoing routes, but I have no idea how to add or delete trunk members on trixbox. I will appreciate any help with this subject.
Here are my ZAp files:
------------------------
zapata.conf
------------------------
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

---------------------------
zapata-channels.conf
----------------------------
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
;;; line="3 WCTDM/0/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
context=default

;;; line="4 WCTDM/0/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
context=default

-------------------------------
zapata-auto.conf
-------------------------------
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"
;;; line="3 WCTDM/0/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
context=default

;;; line="4 WCTDM/0/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
context=default

-----------------------------------
zapata_additional.conf
-----------------------------------
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui

--

Cesar



cefe_71
Posts: 3
Member Since:
2008-03-05
Creating a second ZAP trunk

Hi all,

I just fixed my issue and want everybody know what I did for future references. In files zapata-channels.conf and zapata-auto.conf I just changed the information for one of the FXO to group=1 instead of 0. This small change re-assigned the FXO port to my second ZAP trunk.

Hope this help to any new newbie like me :)

Cesar

--

Cesar



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.