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,
-- 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'