|
Hola a todos,
Estoy intentando configurar una línea RDSI de dos canales con el Gateway Mediatrix 4402 pero no consigo ni recibir ni realizar llamadas. Las llamadas entrantes llegan al servidor pero este cuelga y las salientes me dice que estan todas la lineas ocupadas.
¿Alguien me puede echar una mano? Ya no se que puede ser si la línea, la configuración del gateway o de Elastix.
Esto es lo que me sale cuando recibo la llamada:
-- Executing [XXXXXXXXX@from-pstn:1] NoOp("SIP/bri1-0000010d", "Catch-All DID Match - Found XXXXXXXXX - You probably want a DID for this.") in new stack
-- Executing [XXXXXXXXX@from-pstn:2] Goto("SIP/bri1-0000010d", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/bri1-0000010d", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/bri1-0000010d", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/bri1-0000010d", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/bri1-0000010d", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/bri1-0000010d", "") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/bri1-0000010d", "1 ?Set(CALLERID(name)=XXXXXXXXX)") in new stack
-- Executing [s@ext-did:4] Set("SIP/bri1-0000010d", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] Set("SIP/bri1-0000010d", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/bri1-0000010d", "ext-group,600,1") in new stack
-- Goto (ext-group,600,1)
-- Executing [600@ext-group:1] Macro("SIP/bri1-0000010d", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/bri1-0000010d", "AMPUSER=XXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/bri1-0000010d", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/bri1-0000010d", "1?Set(REALCALLERIDNUM=XXXXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/bri1-0000010d", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/bri1-0000010d", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/bri1-0000010d", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/bri1-0000010d", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/bri1-0000010d", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/bri1-0000010d", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/bri1-0000010d", "CALLERID(number)=XXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/bri1-0000010d", "CALLERID(name)=XXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/bri1-0000010d", "Using CallerID "966446046" <966446046>") in new stack
-- Executing [600@ext-group:2] GotoIf("SIP/bri1-0000010d", "1?skipdb") in new stack
-- Goto (ext-group,600,4)
-- Executing [600@ext-group:4] Set("SIP/bri1-0000010d", "__NODEST=") in new stack
-- Executing [600@ext-group:5] Set("SIP/bri1-0000010d", "__BLKVM_OVERRIDE=BLKVM/600/SIP/bri1-0000010d") in new stack
-- Executing [600@ext-group:6] Set("SIP/bri1-0000010d", "__BLKVM_BASE=600") in new stack
-- Executing [600@ext-group:7] Set("SIP/bri1-0000010d", "DB(BLKVM/600/SIP/bri1-0000010d)=TRUE") in new stack
-- Executing [600@ext-group:8] Set("SIP/bri1-0000010d", "RRNODEST=") in new stack
-- Executing [600@ext-group:9] Set("SIP/bri1-0000010d", "__NODEST=600") in new stack
-- Executing [600@ext-group:10] GosubIf("SIP/bri1-0000010d", "0?sub-rgsetcid,s,1") in new stack
-- Executing [600@ext-group:11] Set("SIP/bri1-0000010d", "RecordMethod=Group") in new stack
-- Executing [600@ext-group:12] Macro("SIP/bri1-0000010d", "record-enable,101,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/bri1-0000010d", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/bri1-0000010d", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/bri1-0000010d", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("SIP/bri1-0000010d", "LOOPCNT=1") in new stack
-- Executing [s@macro-record-enable:7] Set("SIP/bri1-0000010d", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("SIP/bri1-0000010d", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("SIP/bri1-0000010d", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("SIP/bri1-0000010d", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("SIP/bri1-0000010d", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/bri1-0000010d", "1?MacroExit()") in new stack
-- Executing [600@ext-group:13] Set("SIP/bri1-0000010d", "RingGroupMethod=hunt") in new stack
-- Executing [600@ext-group:14] Macro("SIP/bri1-0000010d", "dial,10,tr,101") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/bri1-0000010d", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/bri1-0000010d", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- <SIP/bri1-0000010d>AGI Script dialparties.agi completed, returning 4
== Spawn extension (macro-dial, s, 3) exited non-zero on 'SIP/bri1-0000010d' in macro 'dial'
== Spawn extension (ext-group, 600, 14) exited non-zero on 'SIP/bri1-0000010d'
-- Executing [h@ext-group:1] Macro("SIP/bri1-0000010d", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/bri1-0000010d", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/bri1-0000010d", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/bri1-0000010d", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/bri1-0000010d", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/bri1-0000010d", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/bri1-0000010d", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/bri1-0000010d", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/bri1-0000010d", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/bri1-0000010d", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/bri1-0000010d", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:30] NoOp("SIP/bri1-0000010d", "Cleaning Up Block VM Flag: BLKVM/600/SIP/bri1-0000010d") in new stack
-- Executing [s@macro-hangupcall:31] NoOp("SIP/bri1-0000010d", "Deleting: BLKVM/600/SIP/bri1-0000010d TRUE") in new stack
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/bri1-0000010d", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/bri1-0000010d", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/bri1-0000010d' in macro 'hangupcall'
== Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/bri1-0000010d'
Y al realizar una llamada:
-- Executing [XXXXXXXXX@from-internal:1] Macro("SIP/200-0000010e", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/200-0000010e", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/200-0000010e", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/200-0000010e", "1?Set(REALCALLERIDNUM=200)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/200-0000010e", "AMPUSER=200") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/200-0000010e", "AMPUSERCIDNAME=Enrique") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/200-0000010e", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/200-0000010e", "AMPUSERCID=200") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/200-0000010e", "CALLERID(all)="Enrique" <200>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/200-0000010e", "1?Set(CHANNEL(language)=es)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/200-0000010e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/200-0000010e", "CALLERID(number)=200") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/200-0000010e", "CALLERID(name)=Enrique") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/200-0000010e", "Using CallerID "Enrique" <200>") in new stack
-- Executing [966446046@from-internal:2] NoOp("SIP/200-0000010e", "Calling Out Route: test") in new stack
-- Executing [XXXXXXXXX@from-internal:3] Set("SIP/200-0000010e", "MOHCLASS=default") in new stack
-- Executing [XXXXXXXXX@from-internal:4] Set("SIP/200-0000010e", "_NODEST=") in new stack
-- Executing [XXXXXXXXX@from-internal:5] Macro("SIP/200-0000010e", "record-enable,200,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/200-0000010e", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/200-0000010e", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/200-0000010e", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/200-0000010e", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/200-0000010e", "1?MacroExit()") in new stack
-- Executing [XXXXXXXXX@from-internal:6] Macro("SIP/200-0000010e", "dialout-trunk,2,XXXXXXXXX,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/200-0000010e", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/200-0000010e", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/200-0000010e", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/200-0000010e", "DIAL_NUMBER=XXXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/200-0000010e", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/200-0000010e", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/200-0000010e", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/200-0000010e", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/200-0000010e", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/200-0000010e", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/200-0000010e", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/200-0000010e", "0?Set(REALCALLERIDNUM=200)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/200-0000010e", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/200-0000010e", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/200-0000010e", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/200-0000010e", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/200-0000010e", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/200-0000010e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/200-0000010e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/200-0000010e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/200-0000010e", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/200-0000010e", "0?sub-flp-2,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/200-0000010e", "OUTNUM=966446046") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/200-0000010e", "custom=SIP/bri1") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/200-0000010e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/200-0000010e", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/200-0000010e", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/200-0000010e", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/200-0000010e", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/200-0000010e", "SIP/bri1/XXXXXXXXX,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/bri1/XXXXXXXXX
-- Got SIP response 500 "Internal Server Error" back from 10.55.14.40:5060
-- SIP/bri1-0000010f is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/200-0000010e", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 38") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/200-0000010e", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/200-0000010e", "RC=38") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/200-0000010e", "38,1") in new stack
-- Goto (macro-dialout-trunk,38,1)
-- Executing [38@macro-dialout-trunk:1] Goto("SIP/200-0000010e", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/200-0000010e", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/200-0000010e", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 38 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/200-0000010e", "CALLERID(number)=200") in new stack
-- Executing [XXXXXXXXX@from-internal:7] Macro("SIP/200-0000010e", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/200-0000010e", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/200-0000010e", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/200-0000010e", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/200-0000010e", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/200-0000010e> Playing 'all-circuits-busy-now.gsm' (language 'es')
-- <SIP/200-0000010e> Playing 'pls-try-call-later.gsm' (language 'es')
Gracias de antemano.
|