Upgrade FreePBX from 2.8 to 2.11- DAHDI trunk not working

As title i made a upgrading and call out via dahdi trunk it always inform “busy line”, all “call in” can hear phone ringing but telephone not working and information of system:

[email protected]:~ $ wanrouter status

Devices currently active:
wanpipe1

Wanpipe Config:

Device name | Protocol Map | Adapter | IRQ | Slot/IO | If’s | CLK | Baud rate |
wanpipe1 | N/A | A200/A400/B600/B700/B800/B610| 21 | 0 | 1 | N/A | 0 |

Wanrouter Status:

Device name | Protocol | Station | Status |
wanpipe1 | A-ANALOG | N/A | Connected |

[email protected]:~ $ wanpipemon -i w1g1 -c astats -m X

ERROR: Invalid Module number!

[email protected]:~ $ wanpipemon -i w1g0 -c astats -m X

Ioctl: : No such device
[email protected]:~ $ wanpipemon -i w1g1 -c astats -m X

ERROR: Invalid Module number!

[email protected]:~ $ wanrouter hwprobe verbose


Wanpipe Hardware Probe Info (verbose)

1 . AFT-A400-SH : SLOT=0 : BUS=3 : IRQ=21 : CPU=A : PORT=PRI : HWEC=32 : V=13
+01:FXO: PCI: NONE
+02:FXO: PCI: NONE
+03:FXO: PCI: NONE
+04:FXO: PCI: NONE
+05:EMPTY
+06:EMPTY
+07:EMPTY
+08:EMPTY
+09:EMPTY
+10:EMPTY
+11:EMPTY
+12:EMPTY
+13:EMPTY
+14:EMPTY
+15:EMPTY
+16:EMPTY
+17:EMPTY
+18:EMPTY
+19:EMPTY
+20:EMPTY
+21:EMPTY
+22:EMPTY
+23:EMPTY
+24:EMPTY

Sangoma Card Count: A200=1

/etc/dahdi/system.conf :

fxsks=1-8
echocanceller=mg2,1-8
loadzone = us
defaultzone = us

/etc/asterisk/

signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=F_1
group=
context=from-dahdi

;;; line="2 WRTDM/0/1 FXSKS (In use) (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 2
callerid=F_2
group=0
context=from-dahdi

;;; line="3 WRTDM/0/2 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 3
callerid=F_3
group=0
context=from-dahdi

;;; line="4 WRTDM/0/3 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 4
callerid=F_4
group=0
context=from-dahdi

;;; line="5 WRTDM/0/4 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 5
callerid=T_5
group=1
context=from-dahdi

;;; line="6 WRTDM/0/5 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 6
callerid=T_6
group=1
context=from_dahdi

;;; line="7 WRTDM/0/6 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
channel => 7
callerid=T_7
group=1
context=from-dahdi

;;; line="8 WRTDM/0/7 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks

channel => 8
callerid=T_8
group=1
context=from-dahdi

/etc/asterisk/chan_dahdi.conf

[channels]
language=en
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
module_name=wctdm24xxp
opermode_checkbox=0
opermode=USA
alawoverride_checkbox=0
alawoverride=0
fxs_honor_mode_checkbox=0
fxs_honor_mode=0
boostringer_checkbox=0
boostringer=0
lowpower_checkbox=0
lowpower=0
fastringer_checkbox=0
fastringer=0
ringdetect_checkbox=0
ringdetect=0
mwi_checkbox=0
mwi=none
neon_voltage=
neon_offlimit=
echocan_nlp_type=0
echocan_nlp_threshold=
echocan_nlp_max_supp=

Someone can help me? where is the problem

My log :

[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-0000000c”, “RC=66”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-0000000c”, “RC=66”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] Goto(“SIP/236-0000000c”, “66,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] Goto(“SIP/236-0000000c”, “66,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Goto (macro-dialout-trunk,66,1)
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Goto (macro-dialout-trunk,66,1)
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] Goto(“SIP/236-0000000c”, “continue,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] Goto(“SIP/236-0000000c”, “continue,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] NoOp(“SIP/236-0000000c”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] NoOp(“SIP/236-0000000c”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-0000000c”, “CALLERID(number)=236”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-0000000c”, “CALLERID(number)=236”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:6] Macro(“SIP/236-0000000c”, “dialout-trunk,11,0908466995,off”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:6] Macro(“SIP/236-0000000c”, “dialout-trunk,11,0908466995,off”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]o-dialout-trunk:1] Set(“SIP/236-0000000c”, “DIAL_TRUNK=11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-0000000c”, “DIAL_TRUNK=11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] GosubIf(“SIP/236-0000000c”, “0?sub-pincheck,s,1()”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] GosubIf(“SIP/236-0000000c”, “0?sub-pincheck,s,1()”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-0000000c”, “0?disabletrunk,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-0000000c”, “0?disabletrunk,1”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:4] Set(“SIP/236-0000000c”, “DIAL_NUMBER=0908466995”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:4] Set(“SIP/236-0000000c”, “DIAL_NUMBER=0908466995”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:5] Set(“SIP/236-0000000c”, “DIAL_TRUNK_OPTIONS=wWtrTL(3600000)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:5] Set(“SIP/236-0000000c”, “DIAL_TRUNK_OPTIONS=wWtrTL(3600000)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:6] Set(“SIP/236-0000000c”, “OUTBOUND_GROUP=OUT_11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:6] Set(“SIP/236-0000000c”, “OUTBOUND_GROUP=OUT_11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/236-0000000c”, “0?nomax”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:7] GotoIf(“SIP/236-0000000c”, “0?nomax”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-0000000c”, “0?chanfull”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-0000000c”, “0?chanfull”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/236-0000000c”, “0?skipoutcid”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:9] GotoIf(“SIP/236-0000000c”, “0?skipoutcid”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:10] Set(“SIP/236-0000000c”, “DIAL_TRUNK_OPTIONS=wWtTL(3600000)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:10] Set(“SIP/236-0000000c”, “DIAL_TRUNK_OPTIONS=wWtTL(3600000)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:11] Macro(“SIP/236-0000000c”, “outbound-callerid,11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:11] Macro(“SIP/236-0000000c”, “outbound-callerid,11”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/236-0000000c”, “0?Set(CALLERPRES()=)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:1] ExecIf(“SIP/236-0000000c”, “0?Set(CALLERPRES()=)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] ExecIf(“SIP/236-0000000c”, “0?Set(REALCALLERIDNUM=236)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:2] ExecIf(“SIP/236-0000000c”, “0?Set(REALCALLERIDNUM=236)”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-0000000c”, “1?normcid”) in new stack
[2014-04-04 11:56:06] VERBOSE[2690] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-0000000c”, “1?normcid”) in new stack

I run dahdi_genconf ,let it auto-generate it no inform “line busy” but it no signal
/etc/dahdi/system.conf

fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8

channel 9, WRTDM/0/8, no module.

channel 10, WRTDM/0/9, no module.

channel 11, WRTDM/0/10, no module.

channel 12, WRTDM/0/11, no module.

channel 13, WRTDM/0/12, no module.

channel 14, WRTDM/0/13, no module.

channel 15, WRTDM/0/14, no module.

channel 16, WRTDM/0/15, no module.

channel 17, WRTDM/0/16, no module.

channel 18, WRTDM/0/17, no module.

channel 19, WRTDM/0/18, no module.

channel 20, WRTDM/0/19, no module.

channel 21, WRTDM/0/20, no module.

channel 22, WRTDM/0/21, no module.

channel 23, WRTDM/0/22, no module.

channel 24, WRTDM/0/23, no module.

Global data

loadzone = us
defaultzone = us

/etc/asterisk/chan_dahdi.conf

[channels] language=en busydetect=yes busycount=10 usecallerid=yes callwaiting=yes usecallingpres=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=no immediate=no faxdetect=no rxgain=0.0 txgain=0.0 module_name=wctdm24xxp opermode_checkbox=0 opermode=USA alawoverride_checkbox=0 alawoverride=0 fxs_honor_mode_checkbox=0 fxs_honor_mode=0 boostringer_checkbox=0 boostringer=0 lowpower_checkbox=0 lowpower=0 fastringer_checkbox=0 fastringer=0 ringdetect_checkbox=0 ringdetect=0 mwi_checkbox=0 mwi=none neon_voltage= neon_offlimit= echocan_nlp_type=0 echocan_nlp_threshold= echocan_nlp_max_supp=

/etc/asterisk/dahdi_channel.conf

; Span 1: WRTDM/0 “wrtdm Board 1” (MASTER)
;;; line="1 WRTDM/0/0 FXSKS (In use) (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="2 WRTDM/0/1 FXSKS (In use) (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default

;;; line="3 WRTDM/0/2 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 WRTDM/0/3 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default

;;; line="5 WRTDM/0/4 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default

;;; line="6 WRTDM/0/5 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 6
callerid=
group=
context=default

;;; line="7 WRTDM/0/6 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 7
callerid=
group=
context=default

;;; line="8 WRTDM/0/7 FXSKS (EC: WANPIPE_HWEC - INACTIVE)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 8
callerid=
group=
context=default

log:

[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Macro(“SIP/236-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Macro(“SIP/236-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-00000000”, “TOUCH_MONITOR=1396593996.0”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-00000000”, “TOUCH_MONITOR=1396593996.0”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-00000000”, “AMPUSER=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-00000000”, “AMPUSER=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-00000000”, “0?report”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/236-00000000”, “0?report”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/236-00000000”, “1?Set(REALCALLERIDNUM=236)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/236-00000000”, “1?Set(REALCALLERIDNUM=236)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:5] Set(“SIP/236-00000000”, “AMPUSER=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:5] Set(“SIP/236-00000000”, “AMPUSER=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/236-00000000”, “0?limit”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/236-00000000”, “0?limit”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:7] Set(“SIP/236-00000000”, “AMPUSERCIDNAME=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:7] Set(“SIP/236-00000000”, “AMPUSERCIDNAME=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-00000000”, “0?report”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-00000000”, “0?report”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:9] Set(“SIP/236-00000000”, “AMPUSERCID=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:9] Set(“SIP/236-00000000”, “AMPUSERCID=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:10] Set(“SIP/236-00000000”, “__DIAL_OPTIONS=wWtrTL(3600000)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:10] Set(“SIP/236-00000000”, “__DIAL_OPTIONS=wWtrTL(3600000)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:11] Set(“SIP/236-00000000”, “CALLERID(all)=“Quoc (IT)” <236>”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:11] Set(“SIP/236-00000000”, “CALLERID(all)=“Quoc (IT)” <236>”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:12] GotoIf(“SIP/236-00000000”, “0?limit”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:12] GotoIf(“SIP/236-00000000”, “0?limit”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:13] ExecIf(“SIP/236-00000000”, “1?Set(GROUP(concurrency_limit)=236)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:13] ExecIf(“SIP/236-00000000”, “1?Set(GROUP(concurrency_limit)=236)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:14] ExecIf(“SIP/236-00000000”, “0?Set(CHANNEL(language)=)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:14] ExecIf(“SIP/236-00000000”, “0?Set(CHANNEL(language)=)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:15] GosubIf(“SIP/236-00000000”, “0?sub-ccss,s,1(from-internal,0908466995)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:15] GosubIf(“SIP/236-00000000”, “0?sub-ccss,s,1(from-internal,0908466995)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:16] GotoIf(“SIP/236-00000000”, “1?continue”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:16] GotoIf(“SIP/236-00000000”, “1?continue”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (macro-user-callerid,s,29)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (macro-user-callerid,s,29)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:29] Set(“SIP/236-00000000”, “CALLERID(number)=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:29] Set(“SIP/236-00000000”, “CALLERID(number)=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:30] Set(“SIP/236-00000000”, “CALLERID(name)=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:30] Set(“SIP/236-00000000”, “CALLERID(name)=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:31] Set(“SIP/236-00000000”, “CDR(cnum)=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:31] Set(“SIP/236-00000000”, “CDR(cnum)=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:32] Set(“SIP/236-00000000”, “CDR(cnam)=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:32] Set(“SIP/236-00000000”, “CDR(cnam)=Quoc (IT)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:33] Set(“SIP/236-00000000”, “CHANNEL(language)=en”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:33] Set(“SIP/236-00000000”, “CHANNEL(language)=en”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-00000000”, “MOHCLASS=default”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] Set(“SIP/236-00000000”, “MOHCLASS=default”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:3] Set(“SIP/236-00000000”, “_NODEST=”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:3] Set(“SIP/236-00000000”, “_NODEST=”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:4] Gosub(“SIP/236-00000000”, “sub-record-check,s,1(out,0908466995,)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:4] Gosub(“SIP/236-00000000”, “sub-record-check,s,1(out,0908466995,)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:1] Set(“SIP/236-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/236-00000000”, “1?check”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/236-00000000”, “1?check”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (sub-record-check,s,7)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (sub-record-check,s,7)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:7] Set(“SIP/236-00000000”, “__MON_FMT=wav”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:7] Set(“SIP/236-00000000”, “__MON_FMT=wav”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-00000000”, “1?next”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/236-00000000”, “1?next”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (sub-record-check,s,11)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Goto (sub-record-check,s,11)
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:11] ExecIf(“SIP/236-00000000”, “0?Return()”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:11] ExecIf(“SIP/236-00000000”, “0?Return()”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/236-00000000”, “0?Set(__REC_POLICY_MODE=)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/236-00000000”, “0?Set(__REC_POLICY_MODE=)”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/236-00000000”, “0?out,1”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/236-00000000”, “0?out,1”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:14] Set(“SIP/236-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:14] Set(“SIP/236-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:15] Set(“SIP/236-00000000”, “NOW=1396593996”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:15] Set(“SIP/236-00000000”, “NOW=1396593996”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:16] Set(“SIP/236-00000000”, “__DAY=04”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:16] Set(“SIP/236-00000000”, “__DAY=04”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:17] Set(“SIP/236-00000000”, “__MONTH=04”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:17] Set(“SIP/236-00000000”, “__MONTH=04”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:18] Set(“SIP/236-00000000”, “__YEAR=2014”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:18] Set(“SIP/236-00000000”, “__YEAR=2014”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:19] Set(“SIP/236-00000000”, “__TIMESTR=20140404-134636”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:19] Set(“SIP/236-00000000”, “__TIMESTR=20140404-134636”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:20] Set(“SIP/236-00000000”, “__FROMEXTEN=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:20] Set(“SIP/236-00000000”, “__FROMEXTEN=236”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:21] Set(“SIP/236-00000000”, “__CALLFILENAME=out-0908466995-236-20140404-134636-1396593996.0”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:21] Set(“SIP/236-00000000”, “__CALLFILENAME=out-0908466995-236-20140404-134636-1396593996.0”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:22] Goto(“SIP/236-00000000”, “out,1”) in new stack
[2014-04-04 13:46:36] VERBOSE[11022] pbx.c: – Executing [[email protected]:22] Goto(“SIP/236-00000000”, “out,1”) in new stack

I ran wanconf_dahdi it looklike dahdi_genconf, anyone can help me !

I see in my log as below:

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/236-00000001”, “user-ca llerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/236-00000001”, “TOUCH_MONITO R=1396676387.2”) in new stack
– Executing [[email protected]:2] Set(“SIP/236-00000001”, “AMPUSER=236” ) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/236-00000001”, “0?report” ) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/236-00000001”, “1?Set(REA LCALLERIDNUM=236)”) in new stack
– Executing [[email protected]:5] Set(“SIP/236-00000001”, “AMPUSER=236” ) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/236-00000001”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/236-00000001”, “AMPUSERCIDNA ME=Quoc (IT)”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/236-00000001”, “0?report” ) in new stack
– Executing [[email protected]:9] Set(“SIP/236-00000001”, “AMPUSERCID=2 36”) in new stack
– Executing [[email protected]:10] Set(“SIP/236-00000001”, “__DIAL_OPTI ONS=wWtrTL(3600000)”) in new stack
– Executing [[email protected]:11] Set(“SIP/236-00000001”, “CALLERID(al l)=“Quoc (IT)” <236>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/236-00000001”, “0?limit” ) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/236-00000001”, “1?Set(GR OUP(concurrency_limit)=236)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/236-00000001”, “0?Set(CH ANNEL(language)=)”) in new stack
– Executing [[email protected]:15] GosubIf(“SIP/236-00000001”, “0?sub-c css,s,1(from-internal,0913710971)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/236-00000001”, “1?contin ue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [[email protected]:29] Set(“SIP/236-00000001”, “CALLERID(nu mber)=236”) in new stack
– Executing [[email protected]:30] Set(“SIP/236-00000001”, “CALLERID(na me)=Quoc (IT)”) in new stack
– Executing [[email protected]:31] Set(“SIP/236-00000001”, “CDR(cnum)=2 36”) in new stack
– Executing [[email protected]:32] Set(“SIP/236-00000001”, “CDR(cnam)=Q uoc (IT)”) in new stack
– Executing [[email protected]:33] Set(“SIP/236-00000001”, “CHANNEL(lan guage)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/236-00000001”, “MOHCLASS= default”) in new stack
– Executing [[email protected]:3] Set(“SIP/236-00000001”, “_NODEST=” ) in new stack
– Executing [[email protected]:4] Gosub(“SIP/236-00000001”, “sub-rec ord-check,s,1(out,0913710971,)”) in new stack
– Executing [[email protected]:1] Set(“SIP/236-00000001”, “REC_POLICY_MODE _SAVE=”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/236-00000001”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [[email protected]:7] Set(“SIP/236-00000001”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/236-00000001”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [[email protected]:11] ExecIf(“SIP/236-00000001”, “0?Return()” ) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/236-00000001”, “0?Set(__REC _POLICY_MODE=)”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/236-00000001”, “0?out,1”) i n new stack
– Executing [[email protected]:14] Set(“SIP/236-00000001”, “__REC_STATUS=I NITIALIZED”) in new stack
– Executing [[email protected]:15] Set(“SIP/236-00000001”, "NOW=1396676387 ") in new stack
– Executing [[email protected]:16] Set(“SIP/236-00000001”, “__DAY=05”) in new stack
– Executing [[email protected]:17] Set(“SIP/236-00000001”, “__MONTH=04”) i n new stack
– Executing [[email protected]:18] Set(“SIP/236-00000001”, “__YEAR=2014”) in new stack
– Executing [[email protected]:19] Set(“SIP/236-00000001”, “__TIMESTR=2014 0405-123947”) in new stack
– Executing [s[email protected]:20] Set(“SIP/236-00000001”, “__FROMEXTEN=23 6”) in new stack
– Executing [[email protected]:21] Set(“SIP/236-00000001”, “__CALLFILENAME =out-0913710971-236-20140405-123947-1396676387.2”) in new stack
– Executing [[email protected]:22] Goto(“SIP/236-00000001”, “out,1”) in ne w stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“SIP/236-00000001”, “1?Set(_RE C_POLICY_MODE=)") in new stack
– Executing [[email protected]:2] GosubIf(“SIP/236-00000001”, “0?record, 1(exten,0913710971,236)”) in new stack
– Executing [[email protected]:3] Return(“SIP/236-00000001”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/236-00000001”, “dialout -trunk,1,0913710971,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/236-00000001”, "DIAL_TRUNK=1 ") in new stack
– Executing [[email protected]:2] GosubIf(“SIP/236-00000001”, “0?sub-pi ncheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/236-00000001”, “0?disable trunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/236-00000001”, “DIAL_NUMBER= 0913710971”) in new stack
– Executing [[email protected]:5] Set(“SIP/236-00000001”, “DIAL_TRUNK_O PTIONS=wWtrTL(3600000)”) in new stack
– Executing [[email protected]:6] Set(“SIP/236-00000001”, “OUTBOUND_GRO UP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/236-00000001”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/236-00000001”, “0?chanful l”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/236-00000001”, “0?skipout cid”) in new stack
– Executing [[email protected]:10] Set(“SIP/236-00000001”, "DIAL_TRUNK
OPTIONS=wWtTL(3600000)”) in new stack
– Executing [[email protected]:11] Macro(“SIP/236-00000001”, “outbound- callerid,1”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/236-00000001”, “0?Set (CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/236-00000001”, “0?Set (REALCALLERIDNUM=236)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/236-00000001”, “1?nor mcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/236-00000001”, “USEROUTC ID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/236-00000001”, “EMERGENC YCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/236-00000001”, “TRUNKOUT CID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/236-00000001”, “1?tru nkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/236-00000001”, “0?Se t(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/236-00000001”, “0?Se t(CALLERID(all)=)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/236-00000001”, “0?Se t(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/236-00000001”, “0?Se t(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/236-00000001”, “CDR(out bound_cnum)=236”) in new stack
– Executing [[email protected]:19] Set(“SIP/236-00000001”, “CDR(out bound_cnam)=Quoc (IT)”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/236-00000001”, “0?sub-f lp-1,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/236-00000001”, “OUTNUM=0913 710971”) in new stack
– Executing [[email protected]:14] Set(“SIP/236-00000001”, “custom=DAHD I/1”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/236-00000001”, “0?Set(DI AL_TRUNK_OPTIONS=M(setmusic^default)wWtTL(3600000))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/236-00000001”, “0?Set(DI AL_TRUNK_OPTIONS=wWtTL(3600000)M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/236-00000001”, “dialout-t runk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/236-00000 001”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/236-00000001”, “0?bypass ,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/236-00000001”, “1?Set(CO NNECTEDLINE(num,i)=0913710971)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/236-00000001”, “1?Set(CO NNECTEDLINE(name,i)=CID:236)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/236-00000001”, “0?custom trunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/236-00000001”, “DAHDI/1/09 13710971,300,wWtTL(3600000)”) in new stack
– Setting call duration limit to 3600.000 seconds.
– Called DAHDI/1/0913710971
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/236-00 000001’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 0913710971, 5) exited non-zero on ‘SIP/236- 00000001’
– Executing [[email protected]:1] Hangup(“SIP/236-00000001”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/236-00000001’

It can connect to outside but i can not hear ring it just only silent ? where i mistake ?

Solved - card broken