keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

No dial tone on FXS module connectors

16 years 8 months ago #365 by plindquist
OK, I'm using Trixbox 2.2 with latest Zaptel and Asterisk.

Everything is default, and all was working until a few days ago.

The CLI output has 2 parts:
1) Calling an external phone number - doesn;t work because of my dial plan, but there is no dial tone, but as can be seen the call goes on.

2) Calling internal extension, extension rings. If answered the extension hears me but I hear nothing. There is no dial tone.


Things are working, it's just missing dial tone. The same config was working 2 days ago. Nothing changed, dialtone was just no longer there.

Agreed, it is not the OpenVox card per se that gives the dial tone, I have two FXS modules. One doesn't work, one works fine. Same config, no changes.


zaptel.conf:
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: OPVXA1200/0 "OpenVox A1200P Board 1"
# channel 1, WCTDM, no module.
# channel 2, WCTDM, no module.
# channel 3, WCTDM, no module.
# channel 4, WCTDM, no module.
# channel 5, WCTDM, no module.
# channel 6, WCTDM, no module.
# channel 7, WCTDM, no module.
# channel 8, WCTDM, no module.
fxsks=9
fxsks=10
fxoks=11
fxoks=12

# Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"

# Global data

loadzone = th
defaultzone = th



CLI:
Last login: Fri Aug 31 11:04:38 2007 from 192.168.2.2

Welcome to trixbox

[root@asterisk ~]# asterisk -r
Asterisk 1.2.24, Copyright (C) 1999 - 2007 Digium, Inc. and others.
=========================================================================
Connected to Asterisk 1.2.24 currently running on asterisk (pid = 4275)

-- Starting simple switch on 'Zap/11-1'
-- Executing Macro("Zap/11-1", "dialout-trunk|1|026611757||") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK=1") in new stack
-- Executing Set("Zap/11-1", "_NODEST=") in new stack
-- Executing Set("Zap/11-1", "DIAL_NUMBER=026611757") in new stack
-- Executing Set("Zap/11-1", "ROUTE_PASSWD=") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing GotoIf("Zap/11-1", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,8)
-- Executing Set("Zap/11-1", "GROUP()=OUT_1") in new stack
-- Executing Macro("Zap/11-1", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("Zap/11-1", "user-callerid: device 204") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing GotoIf("Zap/11-1", "0?start") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing Set("Zap/11-1", "AMPUSER=204") in new stack
-- Executing Set("Zap/11-1", "AMPUSERCIDNAME=OfficeZap") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=OfficeZap <204>") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("Zap/11-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("Zap/11-1", "Using CallerID "OfficeZap" <204>") in new stack
-- Executing Macro("Zap/11-1", "record-enable|204|OUT") in new stack
-- Executing GotoIf("Zap/11-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("Zap/11-1", "recordingcheck|20070831-224224|1188574937.12") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070831-224224|1188574937.12: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/11-1", "No recording needed") in new stack
-- Executing GotoIf("Zap/11-1", "0?skipoutcid") in new stack
-- Executing Set("Zap/11-1", "DIAL_TRUNK_OPTIONS=r") in new stack
-- Executing Macro("Zap/11-1", "outbound-callerid|1") in new stack
-- Executing GotoIf("Zap/11-1", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing GotoIf("Zap/11-1", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("Zap/11-1", "USEROUTCID=") in new stack
-- Executing Set("Zap/11-1", "EMERGENCYCID=") in new stack
-- Executing Set("Zap/11-1", "TRUNKOUTCID=6626611757") in new stack
-- Executing GotoIf("Zap/11-1", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("Zap/11-1", "0?usercid") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=6626611757") in new stack
-- Executing GotoIf("Zap/11-1", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("Zap/11-1", "CallerID set to "" <6626611757>") in new stack
-- Executing GotoIf("Zap/11-1", "0?nomax") in new stack
-- Executing GotoIf("Zap/11-1", "0?chanfull") in new stack
-- Executing DeadAGI("Zap/11-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("Zap/11-1", "OUTNUM=026611757") in new stack
-- Executing Set("Zap/11-1", "custom=ZAP/9") in new stack
-- Executing GotoIf("Zap/11-1", "0?customtrunk") in new stack
-- Executing Dial("Zap/11-1", "ZAP/9/026611757|300|r") in new stack
-- Called 9/026611757
-- Zap/9-1 answered Zap/11-1
-- Attempting native bridge of Zap/11-1 and Zap/9-1
-- Hungup 'Zap/9-1'


CLI calling local extension:
-- Starting simple switch on 'Zap/11-1'
== Refreshing DNS lookups.
-- Executing Macro("Zap/11-1", "exten-vm|201|201") in new stack
-- Executing Macro("Zap/11-1", "user-callerid") in new stack
-- Executing NoOp("Zap/11-1", "user-callerid: device 204") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing GotoIf("Zap/11-1", "0?start") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "REALCALLERIDNUM is 204") in new stack
-- Executing Set("Zap/11-1", "AMPUSER=204") in new stack
-- Executing Set("Zap/11-1", "AMPUSERCIDNAME=OfficeZap") in new stack
-- Executing GotoIf("Zap/11-1", "0?report") in new stack
-- Executing Set("Zap/11-1", "CALLERID(all)=OfficeZap <204>") in new stack
-- Executing Set("Zap/11-1", "REALCALLERIDNUM=204") in new stack
-- Executing NoOp("Zap/11-1", "TTL: ARG1: 201") in new stack
-- Executing GotoIf("Zap/11-1", "0?continue") in new stack
-- Executing Set("Zap/11-1", "__TTL=64") in new stack
-- Executing GotoIf("Zap/11-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("Zap/11-1", "Using CallerID "OfficeZap" <204>") in new stack
-- Executing Set("Zap/11-1", "FROMCONTEXT=exten-vm") in new stack
-- Executing Set("Zap/11-1", "VMBOX=201") in new stack
-- Executing Set("Zap/11-1", "EXTTOCALL=201") in new stack
-- Executing Set("Zap/11-1", "CFUEXT=1000") in new stack
-- Executing Set("Zap/11-1", "CFBEXT=") in new stack
-- Executing Set("Zap/11-1", "RT=40") in new stack
-- Executing Macro("Zap/11-1", "record-enable|201|IN") in new stack
-- Executing GotoIf("Zap/11-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("Zap/11-1", "recordingcheck|20070831-225154|1188575509.14") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070831-225154|1188575509.14: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Zap/11-1", "No recording needed") in new stack
-- Executing Macro("Zap/11-1", "dial|40|tr|201") in new stack
-- Executing DeadAGI("Zap/11-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: priority is 1
dialparties.agi: Caller ID name is 'OfficeZap' number is '204'
dialparties.agi: Methodology of ring is 'none'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
-- dialparties.agi: Added extension 201 to extension map
-- dialparties.agi: Extension 201 cf is disabled
-- dialparties.agi: Extension 201 do not disturb is disabled
> dialparties.agi: extnum: 201
> dialparties.agi: exthascw: 0
> dialparties.agi: exthascfb: 0
> dialparties.agi: extcfb:
> dialparties.agi: exthascfu: 1
> dialparties.agi: extcfu: 1000
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 201 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 201
-- dialparties.agi: dbset CALLTRACE/201 to 204
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("Zap/11-1", "ZAP/12|40|tr") in new stack
-- Called 12
-- Zap/12-1 is ringing
-- Zap/12-1 is ringing
-- Zap/12-1 is ringing
-- Hungup 'Zap/12-1'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1' in macro 'dial'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/11-1'
-- Executing Macro("Zap/11-1", "hangupcall") in new stack
-- Executing ResetCDR("Zap/11-1", "w") in new stack
-- Executing NoCDR("Zap/11-1", "") in new stack
-- Executing GotoIf("Zap/11-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("Zap/11-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("Zap/11-1", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/11-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/11-1'
-- Hungup 'Zap/11-1'
16 years 7 months ago #367 by james.zhu
hello,plindquist:
please give us your zapata.cong or give us a ssh account to check for you.
regards!
james.zhu

16 years 7 months ago #368 by plindquist
Here they are. Note that channel 9/10 (FXO) works fine. 11 doesn't work and 12 works fine.

zapata.conf

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]
;>>>>>>>>>>>> FXO <<<<<<<<<<<<
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
busydetect=yes
busycount=3
callprogress=no

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

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
channel=>9
txgain=3.0
channel=>10
;>>>>>>>>>>>> FXS <<<<<<<<<<<<

language=en
context=from-internal
signalling=fxo_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=3
callprogress=no

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=0.0
txgain=2.0
group=1
callgroup=2
pickupgroup=2
immediate=no
musiconhold=default
jitterbuffers=4

;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
faxdetect=no
channel=>11
channel=>12

;Include genzaptelconf configs
#include zapata-auto.conf

;Include AMP configs
#include zapata_additional.conf

==============
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: OPVXA1200/0 "OpenVox A1200P Board 1"
; ??: 1 OPVXA1200/0/0
; ??: 2 OPVXA1200/0/1
; ??: 3 OPVXA1200/0/2
; ??: 4 OPVXA1200/0/3
; ??: 5 OPVXA1200/0/4
; ??: 6 OPVXA1200/0/5
; ??: 7 OPVXA1200/0/6
; ??: 8 OPVXA1200/0/7
; ??: 9 OPVXA1200/0/8 FXSKS
; ??: 10 OPVXA1200/0/9 FXSKS
; ??: 11 OPVXA1200/0/10 FXOKS
; ??: 12 OPVXA1200/0/11 FXOKS

========
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
;;;;;;[201]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=201@device
immediate=no
echotraining=800
echocancelwhenbridged=yes
echocancel=yes
dial=ZAP/12
context=from-internal
callprogress=no
callerid=device <201>
busydetect=yes
busycount=2
accountcode=
channel=>12

;;;;;;[204]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=204@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/11
context=from-internal
callprogress=no
callerid=device <204>
busydetect=no
busycount=7
accountcode=
channel=>11
16 years 7 months ago #369 by james.zhu
hello, can i have a ssh account to check the setting. please email me to: This email address is being protected from spambots. You need JavaScript enabled to view it..
regards!
james.zhu

16 years 7 months ago #370 by plindquist
I'd rather not allow SSH access. What settings do you wish to check?
16 years 7 months ago #371 by james.zhu
hello, plindquist:
if i have a ssh account, it will be mush easier to diagnose the problem. otherwise, we only can understand your problem through few message from forum.
regards!
james.zhu

Time to create page: 0.043 seconds
Powered by Kunena Forum