My Rhino cards are correctly configured and working. I can add Zaptel extensions via FreePBX and call them until I either restart Amportal or reboot the server. Then the Zaptel Asterisk module won’t load and I can’t use my Zaptel cards.
I’m pretty sure it’s a syntax problem, but I can’t find any documentation on how to properly setup a Zaptel extension in FreePBX. Channel=>g0 appears to be the problem, because when I comment it out or blank everything after =>, I can restart Amportal and everything works. All the values I’ve tried for Channel=> result in the Zaptel module failing to load in Astersik. Here are the config files you requested:
[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-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: Rhino RCB8FXX/1 “Rhino RCB8FXX/1” (MASTER)
;;; line="1 FXO/1/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default
;;; line="2 FXO/1/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
context=default
;;; line="3 FXO/1/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
context=default
;;; line="4 FXO/1/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default
;;; line="5 FXO/1/4"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 5
context=default
;;; line="6 FXO/1/5"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 6
context=default
;;; line="7 FXO/1/6"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 7
context=default
;;; line="8 FXO/1/7"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 8
context=default
; Span 2: Rhino RCB8FXX/2 “Rhino RCB8FXX/2”
;;; line="9 FXO/2/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 9
context=default
;;; line="10 FXO/2/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 10
context=default
;;; line="11 FXO/2/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 11
context=default
;;; line="12 FXO/2/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 12
context=default
;;; line="13 FXO/2/4"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 13
context=default
;;; line="14 FXO/2/5"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 14
context=default
;;; line="15 FXO/2/6"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 15
context=default
;;; line="16 FXO/2/7"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 16
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
;;;;;;[198]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=198@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/g0/198
context=from-internal
callprogress=no
callerid=device <198>
busydetect=no
busycount=7
accountcode=
channel=>g0
I’m not trying to do anything fancy… just use my Rhino cards (16 analog lines) to ring 3-digit extensions on the attached Panasonic PBX.
Thanks.