ZAP DID not working

joevoirol

New Member
Joined
Aug 22, 2008
Messages
14
Reaction score
0
:banghead:

RESOLVED!

I am having problems with the ZAP on a pots line plugged into a Digium 400 4 port fxs card. We have 2 cards, 1 4 port fxo and 1 4 port fxs. The pots line is plugged into the second port on the fxs card making it channel 6. Here is the log file:
[Sep 4 16:51:40] VERBOSE[3683] logger.c: -- Starting simple switch on 'Zap/6-1'
[Sep 4 16:51:44] NOTICE[3683] chan_zap.c: Got event 18 (Ring Begin)...
[Sep 4 16:51:45] ERROR[3683] callerid.c: No start bit found in fsk data.
[Sep 4 16:51:45] WARNING[3683] chan_zap.c: CallerID feed failed: Success
[Sep 4 16:51:45] WARNING[3683] chan_zap.c: CallerID returned with error on channel 'Zap/6-1'
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:1] NoOp("Zap/6-1", "No DID or CID Match") in new stack
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:2] Answer("Zap/6-1", "") in new stack
[Sep 4 16:51:45] DEBUG[3683] chan_zap.c: Took Zap/6-1 off hook
[Sep 4 16:51:45] DEBUG[3683] chan_zap.c: Engaged echo training on channel 6
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:3] Wait("Zap/6-1", "2") in new stack
[Sep 4 16:51:47] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:4] Playback("Zap/6-1", "ss-noservice") in new stack
[Sep 4 16:51:47] VERBOSE[3683] logger.c: -- <Zap/6-1> Playing 'ss-noservice' (language 'en')
[Sep 4 16:51:52] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:5] SayAlpha("Zap/6-1", "") in new stack
[Sep 4 16:51:52] VERBOSE[3683] logger.c: == Auto fallthrough, channel 'Zap/6-1' status is 'UNKNOWN'
[Sep 4 16:51:52] VERBOSE[3683] logger.c: -- Hungup 'Zap/6-1'

Here is the zapata.conf file:
;
; 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-channels.conf



;Include AMP configs
include zapata_additional.conf


#include zapata-channels.conf

Here is the zapata-auto.conf:
; Autogenerated by /usr/local/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
;
callerid=asreceived

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 1
context=from-internal
group=1
channel => 1

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 2
context=from-internal
group=1
channel => 2

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 3
context=from-internal
group=1
channel => 3

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 4
context=from-internal
group=1
channel => 4


; Span 2: WCTDM/1 "Wildcard TDM400P REV I Board 2"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 5
context=from-zaptel
group=0
channel => 5

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 6
context=from-zaptel
group=0
channel => 6

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 7
context=from-zaptel
group=0
channel => 7

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 8
context=from-zaptel
group=0
channel => 8

Here is the zapata-channels.conf:
; Autogenerated by /usr/local/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" (MASTER)
;;; line="1 WCTDM/0/0 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 1" <6001>
mailbox=6001
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default

;;; line="2 WCTDM/0/1 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 2" <6002>
mailbox=6002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default

;;; line="3 WCTDM/0/2 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 3" <6003>
mailbox=6003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default

;;; line="4 WCTDM/0/3 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 4" <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default


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

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

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

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

The DID, trunk and inbound route are all set up correctly (as far as I can tell) If you need this I can supply it also.

HELP
 

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
I think you need to change the context on channels 5 - 8 from:

from-pstn

to

from-zaptel
 

Cliffster

New Member
Joined
May 22, 2009
Messages
111
Reaction score
0
:banghead:

RESOLVED!

I am having problems with the ZAP on a pots line plugged into a Digium 400 4 port fxs card. We have 2 cards, 1 4 port fxo and 1 4 port fxs. The pots line is plugged into the second port on the fxs card making it channel 6. Here is the log file:
[Sep 4 16:51:40] VERBOSE[3683] logger.c: -- Starting simple switch on 'Zap/6-1'
[Sep 4 16:51:44] NOTICE[3683] chan_zap.c: Got event 18 (Ring Begin)...
[Sep 4 16:51:45] ERROR[3683] callerid.c: No start bit found in fsk data.
[Sep 4 16:51:45] WARNING[3683] chan_zap.c: CallerID feed failed: Success
[Sep 4 16:51:45] WARNING[3683] chan_zap.c: CallerID returned with error on channel 'Zap/6-1'
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:1] NoOp("Zap/6-1", "No DID or CID Match") in new stack
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:2] Answer("Zap/6-1", "") in new stack
[Sep 4 16:51:45] DEBUG[3683] chan_zap.c: Took Zap/6-1 off hook
[Sep 4 16:51:45] DEBUG[3683] chan_zap.c: Engaged echo training on channel 6
[Sep 4 16:51:45] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:3] Wait("Zap/6-1", "2") in new stack
[Sep 4 16:51:47] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:4] Playback("Zap/6-1", "ss-noservice") in new stack
[Sep 4 16:51:47] VERBOSE[3683] logger.c: -- <Zap/6-1> Playing 'ss-noservice' (language 'en')
[Sep 4 16:51:52] VERBOSE[3683] logger.c: -- Executing [s@from-pstn:5] SayAlpha("Zap/6-1", "") in new stack
[Sep 4 16:51:52] VERBOSE[3683] logger.c: == Auto fallthrough, channel 'Zap/6-1' status is 'UNKNOWN'
[Sep 4 16:51:52] VERBOSE[3683] logger.c: -- Hungup 'Zap/6-1'

Here is the zapata.conf file:
;
; 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-channels.conf



;Include AMP configs
include zapata_additional.conf


#include zapata-channels.conf

Here is the zapata-auto.conf:
; Autogenerated by /usr/local/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
;
callerid=asreceived

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 1
context=from-internal
group=1
channel => 1

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 2
context=from-internal
group=1
channel => 2

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 3
context=from-internal
group=1
channel => 3

signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 4
context=from-internal
group=1
channel => 4


; Span 2: WCTDM/1 "Wildcard TDM400P REV I Board 2"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 5
context=from-zaptel
group=0
channel => 5

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 6
context=from-zaptel
group=0
channel => 6

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 7
context=from-zaptel
group=0
channel => 7

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 8
context=from-zaptel
group=0
channel => 8

Here is the zapata-channels.conf:
; Autogenerated by /usr/local/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" (MASTER)
;;; line="1 WCTDM/0/0 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 1" <6001>
mailbox=6001
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default

;;; line="2 WCTDM/0/1 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 2" <6002>
mailbox=6002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default

;;; line="3 WCTDM/0/2 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 3" <6003>
mailbox=6003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default

;;; line="4 WCTDM/0/3 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 4" <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default


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

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

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

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

The DID, trunk and inbound route are all set up correctly (as far as I can tell) If you need this I can supply it also.

HELP
So what was the resolution?
 

Members online

Forum statistics

Threads
25,811
Messages
167,758
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top