mcbsys
Guru
- Joined
- Oct 16, 2008
- Messages
- 139
- Reaction score
- 5
Just installed PiaF 1.3 / Asterisk 1.4.21.2 / Zaptel 1.4.12.1 with a TDM400P card, 2 FXO and 2 FXS.
Followed jroper's advice in this thread to pull my simplified channel config into zapata.conf. My sole trunk is configured to use 2 channels and group 0 (g0).
Inbound calls work fine, as do calls between SIP phones and FXS extensions. But when I dial out from a SIP phone, the first FXS extension starts ringing! In other words, the group is ringing the wrong channels.
I worked around this by setting up two Zap trunks, one going to channel 3 and one to channel 4, then updating my Outbound Routes. Outbound calls work fine this way, but why don't they work with the g0 configuration?
Thanks,
Mark
zapata.conf:
Followed jroper's advice in this thread to pull my simplified channel config into zapata.conf. My sole trunk is configured to use 2 channels and group 0 (g0).
Inbound calls work fine, as do calls between SIP phones and FXS extensions. But when I dial out from a SIP phone, the first FXS extension starts ringing! In other words, the group is ringing the wrong channels.
I worked around this by setting up two Zap trunks, one going to channel 3 and one to channel 4, then updating my Outbound Routes. Outbound calls work fine this way, but why don't they work with the g0 configuration?
Thanks,
Mark
zapata.conf:
Code:
;
; 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=yes
echotraining=800
rxgain=4.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
; MCB 01/10/2009: Do NOT include zapata-channels.conf, which gets overwritten every time genzaptelconf
; is run (including after update-scripts). Use the custom values below instead.
; See http://pbxinaflash.com/community/threads/help-no-incoming-pstn-calls.2877/#post-17061
; #include zapata-channels.conf
;;; Internal extensions (FXS)
signalling=fxo_ks
group=1
context=from-internal
channel => 1
channel => 2
;;;Telco lines (FXO)
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
channel => 4
;Include AMP configs
#include zapata_additional.conf
Last edited by a moderator: