Buenas Tardes, tengo un problema con el ingreso de llamadas a mi PBX. Cuando se hace la primera llamada y esta realiza todo el recorrido hasta ser atendida y se intenta una segunda llamada, esta ultima da un mensaje de Linea Ocupada.
En Teoría tenemos mas canales disponibles que teléfonos asignados en nuestra PBX, por lo que la congestión por falta de canales no me parece posible en este punto.
Agradezco su ayuda o comentarios al respecto.
Anexo el Log
Connected to Asterisk 16.7.0 currently running on PBX(pid =XXXX)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f3fa4044da0 -- Strict RTP learning after remote address set to: XXX. XX.X.XX:XXXXX
-- Executing [11XXXXXXX0@from-trunk:1] NoOp("SIP/Telecentro-0000009e", "Catc h-All DID Match - Found 11XXXXXXX0 - You probably want a DID for this.") in new stack
-- Executing [11XXXXXXX0@from-trunk:2] Set("SIP/Telecentro-0000009e", "FRO M_DID=112XXXXXXX") in new stack
-- Executing [11XXXXXXX0@from-trunk:3] Goto("SIP/Telecentro-0000009e", "ext- did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] ExecIf("SIP/Telecentro-0000009e", "0?Set(FROM_D ID=s)") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/Telecentro-0000009e", "app-blacklist-c heck,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/Telecentro-0000009e", "0? blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/Telecentro-0000009e", "CALLE D_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/Telecentro-0000009e", "") in new stack
-- Executing [s@ext-did:3] Set("SIP/Telecentro-0000009e", "CHANNEL(language) =es") in new stack
-- Executing [s@ext-did:4] Set("SIP/Telecentro-0000009e", "CDR(did)=11XXXXXXX0") in new stack
-- Executing [s@ext-did:5] ExecIf("SIP/Telecentro-0000009e", "1 ?Set(CALLERI D(name)=11XXXXXXX6)") in new stack
-- Executing [s@ext-did:6] Set("SIP/Telecentro-0000009e", "CHANNEL(musicclas s)=default") in new stack
-- Executing [s@ext-did:7] Set("SIP/Telecentro-0000009e", "MOHCLASS=defaul t") in new stack
-- Executing [s@ext-did:8] Set("SIP/Telecentro-0000009e", "CALLINGPRES_SV= allowed_not_screened") in new stack
-- Executing [s@ext-did:9] Set("SIP/Telecentro-0000009e", "CALLERPRES()=allo wed_not_screened") in new stack
-- Executing [s@ext-did:10] Goto("SIP/Telecentro-0000009e", "timeconditions, 2,1") in new stack
-- Goto (timeconditions,2,1)
-- Executing [2@timeconditions:1] GotoIfTime("SIP/Telecentro-0000009e", "09: 00-18:00,mon-fri,22-17,jun-jul?truestate") in new stack
-- Goto (timeconditions,2,10)
-- Executing [2@timeconditions:10] GotoIf("SIP/Telecentro-0000009e", "0?fals egoto") in new stack
-- Executing [2@timeconditions:11] ExecIf("SIP/Telecentro-0000009e", "0?Set( DB(TC/2)=)") in new stack
-- Executing [2@timeconditions:12] GotoIf("SIP/Telecentro-0000009e", "1?ivr- 5,s,1") in new stack
-- Goto (ivr-5,s,1)
-- Executing [s@ivr-5:1] Set("SIP/Telecentro-0000009e", "IVR_CONTEXT_ivr-5= ") in new stack
-- Executing [s@ivr-5:2] Set("SIP/Telecentro-0000009e", "IVR_CONTEXT=ivr-5") in new stack
-- Executing [s@ivr-5:3] Set("SIP/Telecentro-0000009e", "IVR_RETVM=") in n ew stack
-- Executing [s@ivr-5:4] GotoIf("SIP/Telecentro-0000009e", "0?skip") in new stack
-- Executing [s@ivr-5:5] Answer("SIP/Telecentro-0000009e", "") in new stack
> 0x7f3fa4044da0 -- Strict RTP switching to RTP target address XXX.XX.X.X0:XXXXX as source
-- Executing [s@ivr-5:6] Wait("SIP/Telecentro-0000009e", "1") in new stack
-- Executing [s@ivr-5:7] Set("SIP/Telecentro-0000009e", "IVR_MSG=custom/Prea tendedor2018") in new stack
-- Executing [s@ivr-5:8] Set("SIP/Telecentro-0000009e", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-5:9] ExecIf("SIP/Telecentro-0000009e", "1?Background(cus tom/Preatendedor2018)") in new stack
[2020-07-03 14:15:39] WARNING[7531][C-00000033]: mp3/interface.c:218 decodeMP3: Junk at the beginning of frame 49443304
-- <SIP/Telecentro-0000009e> Playing 'custom/Preatendedor2018.slin' (language 'es')
> 0x7f3fa4044da0 -- Strict RTP learning complete - Locking on source address XXX.XX.X.XX:XXXXX
-- Executing [s@ivr-5:10] WaitExten("SIP/Telecentro-0000009e", "2,") in new stack
-- Timeout on SIP/Telecentro-0000009e, going to 't'
-- Executing [t@ivr-5:1] Set("SIP/Telecentro-0000009e", "IVR_DIGIT_PRESSED=t") in new stack
-- Executing [t@ivr-5:2] Goto("SIP/Telecentro-0000009e", "ext-group,852,1") in new stack
-- Goto (ext-group,852,1)
-- Executing [852@ext-group:1] Macro("SIP/Telecentro-0000009e", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/Telecentro-0000009e", "TOUCH_MONITOR=159XXXXXXX.1129") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/Telecentro-0000009e", "AMPUSER=115XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/Telecentro-0000009e", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/Telecentro-0000009e", "1?Set(REALCALLERIDNUM=115XXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/Telecentro-0000009e", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/Telecentro-0000009e", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/Telecentro-0000009e", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/Telecentro-0000009e", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/Telecentro-0000009e", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/Telecentro-0000009e", "TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/Telecentro-0000009e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/Telecentro-0000009e", "CALLERID(number)=115XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/Telecentro-0000009e", "CALLERID(name)=115XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/Telecentro-0000009e", "CDR(cnum)=115XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/Telecentro-0000009e", "CDR(cnam)=115XXXXXXX") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/Telecentro-0000009e", "CHANNEL(language)=es") in new stack
-- Executing [852@ext-group:2] Macro("SIP/Telecentro-0000009e", "blkvm-setifempty,") in new stack
-- Executing [s@macro-blkvm-setifempty:1] GotoIf("SIP/Telecentro-0000009e", "1?init") in new stack
-- Goto (macro-blkvm-setifempty,s,4)
-- Executing [s@macro-blkvm-setifempty:4] Set("SIP/Telecentro-0000009e", "BLKVM_CHANNEL=SIP/Telecentro-0000009e") in new stack
-- Executing [s@macro-blkvm-setifempty:5] Set("SIP/Telecentro-0000009e", "SHARED(BLKVM,SIP/Telecentro-0000009e)=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:6] Set("SIP/Telecentro-0000009e", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-setifempty:7] MacroExit("SIP/Telecentro-0000009e", "") in new stack
-- Executing [852@ext-group:3] GotoIf("SIP/Telecentro-0000009e", "1?skipov") in new stack
-- Goto (ext-group,852,6)
-- Executing [852@ext-group:6] Set("SIP/Telecentro-0000009e", "RRNODEST=") in new stack
-- Executing [852@ext-group:7] Set("SIP/Telecentro-0000009e", "NODEST=852") in new stack
-- Executing [852@ext-group:8] GosubIf("SIP/Telecentro-0000009e", "0?sub-rgsetcid,s,1()") in new stack
-- Executing [852@ext-group:9] Gosub("SIP/Telecentro-0000009e", "sub-record-check,s,1(rg,852,dontcare)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/Telecentro-0000009e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/Telecentro-0000009e", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/Telecentro-0000009e", "MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/Telecentro-0000009e", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/Telecentro-0000009e", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/Telecentro-0000009e", "1?Set(REC_POLICY_MODE=dontcare)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/Telecentro-0000009e", "0?rg,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/Telecentro-0000009e", "REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/Telecentro-0000009e", "NOW=159XXXXXXX") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/Telecentro-0000009e", "DAY=03") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/Telecentro-0000009e", "MONTH=07") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/Telecentro-0000009e", "YEAR=2020") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/Telecentro-0000009e", "TIMESTR=2XXXXXXX-1XXXXX") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/Telecentro-0000009e", "FROMEXTEN=115XXXXXXX") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/Telecentro-0000009e", "CALLFILENAME=rg-852-115XXXXXXX-2XXXXXXX-1XXXXX-159XXXXXXX.1129") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/Telecentro-0000009e", "rg,1") in new stack
-- Goto (sub-record-check,rg,1)
-- Executing [rg@sub-record-check:1] GosubIf("SIP/Telecentro-0000009e", "0?record,1(rg,dontcare,115XXXXXXX)") in new stack
-- Executing [rg@sub-record-check:2] Return("SIP/Telecentro-0000009e", "") in new stack
-- Executing [852@ext-group:10] Set("SIP/Telecentro-0000009e", "RingGroupMethod=ringall") in new stack
-- Executing [852@ext-group:11] Macro("SIP/Telecentro-0000009e", "dial,30,Ttr,836-837") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/Telecentro-0000009e", "0?dial") in new stack
-- Executing [s@macro-dial:2] Set("SIP/Telecentro-0000009e", "CHANNEL(musicclass)=default") in new stack
-- Executing [s@macro-dial:3] AGI("SIP/Telecentro-0000009e", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '115XXXXXXX' number is '115XXXXXXX'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 836 to extension map
-- dialparties.agi: Added extension 837 to extension map
-- dialparties.agi: Extension 836 cf is disabled
-- dialparties.agi: Extension 837 cf is disabled
-- dialparties.agi: Extension 836 do not disturb is disabled
-- dialparties.agi: Extension 837 do not disturb is disabled
> dialparties.agi: extnum 836 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 836 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 836
-- dialparties.agi: dbset CALLTRACE/836 to 115XXXXXXX
> dialparties.agi: extnum 837 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
dialparties.agi: Extension 837 has ExtensionState: 4
-- dialparties.agi: Checking CW and CFB status for extension 837
-- dialparties.agi: dbset CALLTRACE/837 to 115XXXXXXX
-- dialparties.agi: Filtered ARG3: 836-837
> dialparties.agi: NODEST: 852 adding M(auto-blkvm) to dialopts: TtrM(auto-blkvm)
> dialparties.agi: NODEST: 852 blkvm enabled macro already in dialopts: TtrM(auto-blkvm)
-- <SIP/Telecentro-0000009e>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/Telecentro-0000009e", "SIP/Telecentro/152XXXXXXX&SIP/Telecentro/153XXXXXXX,30,TtrM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/Telecentro/152XXXXXXX
-- Called SIP/Telecentro/153XXXXXXX
-- Got SIP response 503 "Service Unavailable" back from XXX.XX.X.X:XXXX
-- SIP/Telecentro-000000a0 is circuit-busy
> 0x7f3fb40010b0 -- Strict RTP learning after remote address set to: XXX.XX.X.X:XXXXX
-- SIP/Telecentro-0000009f is making progress passing it to SIP/Telecentro-0000009e
> 0x7f3fb40010b0 -- Strict RTP switching to RTP target address XXX.XX.X.X:XXXXX as source
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/Telecentro-0000009e' in macro 'dial'
== Spawn extension (ext-group, 852, 11) exited non-zero on 'SIP/Telecentro-0000009e'
-- Executing [h@ext-group:1] Macro("SIP/Telecentro-0000009e", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/Telecentro-0000009e", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,20)
-- Executing [s@macro-hangupcall:20] NoOp("SIP/Telecentro-0000009e", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:21] GotoIf("SIP/Telecentro-0000009e", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,39)
-- Executing [s@macro-hangupcall:39] NoOp("SIP/Telecentro-0000009e", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:40] GotoIf("SIP/Telecentro-0000009e", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] NoOp("SIP/Telecentro-0000009e", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:46] GotoIf("SIP/Telecentro-0000009e", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,52)
-- Executing [s@macro-hangupcall:52] NoOp("SIP/Telecentro-0000009e", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:53] GotoIf("SIP/Telecentro-0000009e", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,59)
-- Executing [s@macro-hangupcall:59] NoOp("SIP/Telecentro-0000009e", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:60] GotoIf("SIP/Telecentro-0000009e", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,62)
-- Executing [s@macro-hangupcall:62] NoOp("SIP/Telecentro-0000009e", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:63] NoOp("SIP/Telecentro-0000009e", "CDR recordingfile set to: ") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/Telecentro-0000009e", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/Telecentro-0000009e", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/Telecentro-0000009e", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/Telecentro-0000009e", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/Telecentro-0000009e>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/Telecentro-0000009e", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/Telecentro-0000009e' in macro 'hangupcall'
== Spawn extension (ext-group, h, 1) exited non-zero on 'SIP/Telecentro-0000009e'