Buenas tardes les comento tengo un problema en sacar llamadas por mi troncal E1, las llamadas entrantes dan con normalidad el problema se genera al realizar las salientes.. coloco la configuracion y el log del CLI al momento de realizar una llamada espero puedan ayudarme con este problema que tengo desde varios dias
------------CLI------------------
-- Executing [s@macro-record-enable:15] GotoIf("SIP/400-00000001", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/400-00000001", "1?MacroExit()") in new stack
-- Executing [44265279@from-internal:6] Macro("SIP/400-00000001", "dialout-trunk,4,44265279,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/400-00000001", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/400-00000001", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/400-00000001", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/400-00000001", "DIAL_NUMBER=44265279") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/400-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/400-00000001", "OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/400-00000001", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/400-00000001", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/400-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/400-00000001", "outbound-callerid,4") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/400-00000001", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/400-00000001", "0?Set(REALCALLERIDNUM=400)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/400-00000001", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/400-00000001", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/400-00000001", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/400-00000001", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/400-00000001", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/400-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/400-00000001", "0?sub-flp-4,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/400-00000001", "OUTNUM=44265279") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/400-00000001", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/400-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)) ") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/400-00000001", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/400-00000001", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/400-00000001", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/400-00000001", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/400-00000001", "DAHDI/g0/44265279,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/44265279
-- Span 1: Channel 0/1 got hangup, cause 28
-- Hungup 'DAHDI/i1/44265279-2'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/400-00000001", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 28") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/400-00000001", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/400-00000001", "RC=28") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/400-00000001", "28,1") in new stack
-- Goto (macro-dialout-trunk,28,1)
-- Executing [28@macro-dialout-trunk:1] Goto("SIP/400-00000001", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("SIP/400-00000001", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("SIP/400-00000001", "") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("SIP/400-00000001", "ss-noservice,noanswer") in new stack
-- <SIP/400-00000001> Playing 'ss-noservice.gsm' (language 'es')
> 0x98f5b70 -- Probation passed - setting RTP source address to 172.16.4.27:11920
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 3) exited non-zero on 'SIP/400-00000001' in macro 'dialout-trunk'
== Spawn extension (from-internal, 44265279, 6) exited non-zero on 'SIP/400-00000001'
-- Executing [h@from-internal:1] Macro("SIP/400-00000001", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-00000001", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/400-00000001", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/400-00000001", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/400-00000001", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/400-00000001", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/400-00000001", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/400-00000001", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/400-00000001", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/400-00000001", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/400-00000001", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/400-00000001", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/400-00000001", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/400-00000001>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/400-00000001", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/400-00000001' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/400-00000001'
--------------System.conf.-----------------
# Span 1: XBUS-00/XPD-00 "Xorcom XPD [usb:X1047648].1: E1" YELLOW
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31
# Span 2: XBUS-00/XPD-10 "Xorcom XPD [usb:X1047648].2: FXS" (MASTER)
fxoks=32
echocanceller=oslec,32
fxoks=33
echocanceller=oslec,33
fxoks=34
echocanceller=oslec,34
fxoks=35
echocanceller=oslec,35
fxoks=36
echocanceller=oslec,36
fxoks=37
echocanceller=oslec,37
fxoks=38
echocanceller=oslec,38
fxoks=39
echocanceller=oslec,39
# Span 3: XBUS-00/XPD-20 "Xorcom XPD [usb:X1047648].3: FXO"
fxsks=40
echocanceller=oslec,40
fxsks=41
echocanceller=oslec,41
fxsks=42
echocanceller=oslec,42
--------------dahdi channels---------
; Span 1: XBUS-00/XPD-00 "Xorcom XPD [usb:X1047648].1: E1" YELLOW
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
; Span 2: XBUS-00/XPD-10 "Xorcom XPD [usb:X1047648].2: FXS" (MASTER)
;;; line="32 XPP_FXS/00/10/0 (no pcm)"
signalling=fxo_ks
callerid="Channel 32" <4032>
mailbox=4032
group=5
context=from-internal
channel => 32
callerid=
mailbox=
group=
context=default
;;; line="33 XPP_FXS/00/10/1 (no pcm)"
signalling=fxo_ks
callerid="Channel 33" <4033>
mailbox=4033
group=5
context=from-internal
channel => 33
callerid=
mailbox=
group=
context=default
;;; line="47 XPP_FXO/00/20/7 (no pcm)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 47
callerid=
group=
context=default
reduje el dahdi channels por limite de caracteres pero todos son repetitivos
Espero puedan colaborarme y de una ves resolver este problema que llevo arrastrando desde hace varios dias.
------------CLI------------------
-- Executing [s@macro-record-enable:15] GotoIf("SIP/400-00000001", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/400-00000001", "1?MacroExit()") in new stack
-- Executing [44265279@from-internal:6] Macro("SIP/400-00000001", "dialout-trunk,4,44265279,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/400-00000001", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/400-00000001", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/400-00000001", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/400-00000001", "DIAL_NUMBER=44265279") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/400-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/400-00000001", "OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/400-00000001", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/400-00000001", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/400-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/400-00000001", "outbound-callerid,4") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/400-00000001", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/400-00000001", "0?Set(REALCALLERIDNUM=400)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/400-00000001", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/400-00000001", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/400-00000001", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/400-00000001", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/400-00000001", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/400-00000001", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/400-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/400-00000001", "0?sub-flp-4,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/400-00000001", "OUTNUM=44265279") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/400-00000001", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/400-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)) ") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/400-00000001", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/400-00000001", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/400-00000001", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/400-00000001", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/400-00000001", "DAHDI/g0/44265279,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/44265279
-- Span 1: Channel 0/1 got hangup, cause 28
-- Hungup 'DAHDI/i1/44265279-2'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/400-00000001", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 28") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/400-00000001", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/400-00000001", "RC=28") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/400-00000001", "28,1") in new stack
-- Goto (macro-dialout-trunk,28,1)
-- Executing [28@macro-dialout-trunk:1] Goto("SIP/400-00000001", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("SIP/400-00000001", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("SIP/400-00000001", "") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("SIP/400-00000001", "ss-noservice,noanswer") in new stack
-- <SIP/400-00000001> Playing 'ss-noservice.gsm' (language 'es')
> 0x98f5b70 -- Probation passed - setting RTP source address to 172.16.4.27:11920
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 3) exited non-zero on 'SIP/400-00000001' in macro 'dialout-trunk'
== Spawn extension (from-internal, 44265279, 6) exited non-zero on 'SIP/400-00000001'
-- Executing [h@from-internal:1] Macro("SIP/400-00000001", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-00000001", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/400-00000001", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/400-00000001", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/400-00000001", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/400-00000001", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/400-00000001", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/400-00000001", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/400-00000001", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/400-00000001", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/400-00000001", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/400-00000001", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/400-00000001", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/400-00000001>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/400-00000001", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/400-00000001' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/400-00000001'
--------------System.conf.-----------------
# Span 1: XBUS-00/XPD-00 "Xorcom XPD [usb:X1047648].1: E1" YELLOW
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31
# Span 2: XBUS-00/XPD-10 "Xorcom XPD [usb:X1047648].2: FXS" (MASTER)
fxoks=32
echocanceller=oslec,32
fxoks=33
echocanceller=oslec,33
fxoks=34
echocanceller=oslec,34
fxoks=35
echocanceller=oslec,35
fxoks=36
echocanceller=oslec,36
fxoks=37
echocanceller=oslec,37
fxoks=38
echocanceller=oslec,38
fxoks=39
echocanceller=oslec,39
# Span 3: XBUS-00/XPD-20 "Xorcom XPD [usb:X1047648].3: FXO"
fxsks=40
echocanceller=oslec,40
fxsks=41
echocanceller=oslec,41
fxsks=42
echocanceller=oslec,42
--------------dahdi channels---------
; Span 1: XBUS-00/XPD-00 "Xorcom XPD [usb:X1047648].1: E1" YELLOW
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
; Span 2: XBUS-00/XPD-10 "Xorcom XPD [usb:X1047648].2: FXS" (MASTER)
;;; line="32 XPP_FXS/00/10/0 (no pcm)"
signalling=fxo_ks
callerid="Channel 32" <4032>
mailbox=4032
group=5
context=from-internal
channel => 32
callerid=
mailbox=
group=
context=default
;;; line="33 XPP_FXS/00/10/1 (no pcm)"
signalling=fxo_ks
callerid="Channel 33" <4033>
mailbox=4033
group=5
context=from-internal
channel => 33
callerid=
mailbox=
group=
context=default
;;; line="47 XPP_FXO/00/20/7 (no pcm)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 47
callerid=
group=
context=default
reduje el dahdi channels por limite de caracteres pero todos son repetitivos
Espero puedan colaborarme y de una ves resolver este problema que llevo arrastrando desde hace varios dias.
Comentario