[root@xxxxx]# tail /var/log/asterisk/full
[Jan 24 18:26:07] VERBOSE[4278] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log
[Jan 24 18:26:08] ERROR[4278] asterisk.c: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options:
1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support.
2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload Zaptel modules if you don't need them.
3. If you need Zaptel services, you must correctly configure Zaptel.
now most problems resolved but can not make calls:
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/9009-093bf918", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/9009-093bf918", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/9009-093bf918", "DAHDI/1/3681776|300|") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] Goto("SIP/9009-093bf918", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/9009-093bf918", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/9009-093bf918", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 66) - failing through to other trunks") in new stack
-- Executing [3681776@from-internal:5] Macro("SIP/9009-093bf918", "outisbusy|") in new stack
-- Executing [s@macro-outisbusy:1] Playback("SIP/9009-093bf918", "all-circuits-busy-now|noanswer") in new stack
-- <SIP/9009-093bf918> Playing 'all-circuits-busy-now' (language 'en')
QC01*CLI> zap show channel 1
Channel: 1
File Descriptor: 12
Span: 1I>
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: GSM
Radio: 0>
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: noI>
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
Hookstate (FXS only): Onhook
-- Remote UNIX connection
-- Remote UNIX connection disconnected
QC01*CLI> gsm show status 1
-- GSM Span 1 registered to network!
[from-pstn]
include => from-pstn-custom ; create this context in extensions_custom.conf to include customizations
include => ext-did
include => ext-did-post-custom
include => from-did-direct ; MODIFICATION (PL) for findmefollow if enabled, should be before ext-local
include => ext-did-catchall ; THIS MUST COME AFTER ext-did
exten => fax,1,Goto(ext-fax,in_fax,1)
[from-gsm]
exten=> s, 1, Answer()
exten=> s, n, Dial(SIP/500) // call to SIP user 500
[from-internal] // from sip dial to the service number
exten => 100,1,Dial(zap/1/10000) ; call to China telcom service number from channel 1
exten => 100,2,Hangup