Hola a todos
Una consulta por si alguien ha tropezado con este problemilla.
Escenario:
Asterisk 1.4.24-RSP con FreePBX 2.5.2.2.
Una cola 210 con anuncio y luego a ext estática 999
Desde la ext 996 llamo a 210, escucho el anuncio y seguidamente se recibe la llamada en la 999 proveniente de la 996.
Todo bien hasta aquí, la llamada establecida y audio de maravillas.
Luego viene el problema: Cualquier tipo de transferencia que intenta 999 hace caer los dos extremos de la llamada en cuanto detecta la secuencia de xfer (blind o attended, dá igual)
Pruebas que he realizado sin éxito:
- Cambiar los features codes de los xfer
- Quitar el parámetro t al Queue dejándoselo al Dial
- Quitar el parámetro t al Dial dejándoselo a Queue
Dato adicional:
Llamando desde 996 directamente a 999 las transferencias funcionan perfectamente.
Logs:
-- Executing [210@from-internal:1] Macro("SIP/996-9002a5e0", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/996-9002a5e0", "AMPUSER=996") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/996-9002a5e0", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/996-9002a5e0", "1|Set|REALCALLERIDNUM=996") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/996-9002a5e0", "AMPUSER=996") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/996-9002a5e0", "AMPUSERCIDNAME=Secretaria 996") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/996-9002a5e0", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/996-9002a5e0", "AMPUSERCID=996") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/996-9002a5e0", "CALLERID(all)="Secretaria 996" <996>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/996-9002a5e0", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/996-9002a5e0", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/996-9002a5e0", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/996-9002a5e0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/996-9002a5e0", "Using CallerID "Secretaria 996" <996>") in new stack
-- Executing [210@from-internal:2] Answer("SIP/996-9002a5e0", "") in new stack
-- Executing [210@from-internal:3] Set("SIP/996-9002a5e0", "__BLKVM_OVERRIDE=BLKVM/210/SIP/996-9002a5e0") in new stack
-- Executing [210@from-internal:4] Set("SIP/996-9002a5e0", "__BLKVM_BASE=210") in new stack
-- Executing [210@from-internal:5] Set("SIP/996-9002a5e0", "DB(BLKVM/210/SIP/996-9002a5e0)=TRUE") in new stack
-- Executing [210@from-internal:6] ExecIf("SIP/996-9002a5e0", "1|Set|_DIAL_OPTIONS=trwWM(auto-blkvm)") in new stack
-- Executing [210@from-internal:7] Set("SIP/996-9002a5e0", "__NODEST=210") in new stack
-- Executing [210@from-internal:8] Set("SIP/996-9002a5e0", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q210-20100419-162729-1271687249.973") in new stack
-- Executing [210@from-internal:9] Playback("SIP/996-9002a5e0", "custom/anuncioentrada") in new stack
-- <SIP/996-9002a5e0> Playing 'custom/anuncioentrada' (language 'es')
-- Executing [210@from-internal:10] Queue("SIP/996-9002a5e0", "210|t||") in new stack
-- Started music on hold, class 'default', on SIP/996-9002a5e0
-- Executing [999@from-internal:1] GotoIf("Local/999@from-internal-b4e3,2", "0?ext-local|999|1") in new stack
-- Executing [999@from-internal:2] Macro("Local/999@from-internal-b4e3,2", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/999@from-internal-b4e3,2", "AMPUSER=996") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/999@from-internal-b4e3,2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/999@from-internal-b4e3,2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("Local/999@from-internal-b4e3,2", "__TTL=63") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("Local/999@from-internal-b4e3,2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/999@from-internal-b4e3,2", "Using CallerID "Secretaria 996" <996>") in new stack
-- Executing [999@from-internal:3] GotoIf("Local/999@from-internal-b4e3,2", "0?skipdb") in new stack
-- Executing [999@from-internal:4] GotoIf("Local/999@from-internal-b4e3,2", "1?skipov") in new stack
-- Goto (from-internal,999,9)
-- Executing [999@from-internal:9] Set("Local/999@from-internal-b4e3,2", "RRNODEST=210") in new stack
-- Executing [999@from-internal:10] Set("Local/999@from-internal-b4e3,2", "__NODEST=999") in new stack
-- Executing [999@from-internal:11] Set("Local/999@from-internal-b4e3,2", "RecordMethod=Group") in new stack
-- Executing [999@from-internal:12] Macro("Local/999@from-internal-b4e3,2", "record-enable|999|Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/999@from-internal-b4e3,2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Local/999@from-internal-b4e3,2", "recordingcheck|20100419-162733|1271687253.975") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/999@from-internal-b4e3,2", "") in new stack
-- Executing [999@from-internal:13] Set("Local/999@from-internal-b4e3,2", "RingGroupMethod=ringallv2") in new stack
-- Executing [999@from-internal:14] Set("Local/999@from-internal-b4e3,2", "_FMGRP=999") in new stack
-- Executing [999@from-internal:15] GotoIf("Local/999@from-internal-b4e3,2", "0?doconfirm") in new stack
-- Executing [999@from-internal:16] Macro("Local/999@from-internal-b4e3,2", "dial|20|trwWM(auto-blkvm)|999") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/999@from-internal-b4e3,2", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Local/999@from-internal-b4e3,2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Secretaria 996' number is '996'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringallv2'
-- dialparties.agi: Added extension 999 to extension map
> dialparties.agi: got fmgrp_prering: 2, fmgrp_grptime: 20
> dialparties.agi: fmgrp_totalprering: 22
> dialparties.agi: found extension in pre-ring and array
> dialparties.agi: ringallv2 ring times: REALPRERING: 22, PRERING: 2
-- dialparties.agi: Extension 999 cf is disabled
-- dialparties.agi: Extension 999 do not disturb is disabled
> dialparties.agi: extnum 999 has: cw: 1; hascfb: 0 [] hascfu: 0 []
-- dialparties.agi: dbset CALLTRACE/999 to 996
-- dialparties.agi: Filtered ARG3: 999
> dialparties.agi: NODEST: 999 blkvm enabled macro already in dialopts: trwWM(auto-blkvm)
> dialparties.agi: NODEST: 999 blkvm enabled macro already in dialopts: trwWM(auto-blkvm)
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Local/999@from-internal-b4e3,2", "SIP/999|22|trwWM(auto-blkvm)") in new stack
-- Called 999
-- Local/999@from-internal-b4e3,1 is ringing
-- SIP/999-0093dfb0 is ringing
-- SIP/999-0093dfb0 answered Local/999@from-internal-b4e3,2
-- Executing [s@macro-auto-blkvm:1] Set("SIP/999-0093dfb0", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("SIP/999-0093dfb0", "BLKVM/210/SIP/996-9002a5e0") in new stack
-- DBdel: family=BLKVM, key=210/SIP/996-9002a5e0
-- Local/999@from-internal-b4e3,1 answered SIP/996-9002a5e0
-- Stopped music on hold on SIP/996-9002a5e0
AQUI YA ESTAMOS HABLANDO SIN PROBLEMAS
SEGUIDAMENTE TECLEO EL CODE DE TRANSFERENCIA DESDE 999 Y SE JODE TODO
NO DA TIEMPO NI DE MARCAR UNA EXTENSION, SE CAE EN CUANTO DETECTA EL CODE DE XFER
-- Started music on hold, class 'default', on Local/999@from-internal-b4e3,2
-- Stopped music on hold on Local/999@from-internal-b4e3,2
-- Executing [h@macro-dial:1] Macro("Local/999@from-internal-b4e3,2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/999@from-internal-b4e3,2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/999@from-internal-b4e3,2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/999@from-internal-b4e3,2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/999@from-internal-b4e3,2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/999@from-internal-b4e3,2' in macro 'hangupcall'
== Spawn h extension (macro-dial, h, 1) exited non-zero on 'Local/999@from-internal-b4e3,2'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/999@from-internal-b4e3,2' in macro 'dial'
== Spawn extension (from-internal, 999, 16) exited non-zero on 'Local/999@from-internal-b4e3,2'
-- Executing [h@from-internal:1] System("SIP/996-9002a5e0", "/var/lib/asterisk/bin/
fax-process.pl --to --from
fre...@gmail.com --dest "" --subject "Fax from 996 pruebas%20996" --attachment fax_996.pdf --type application/pdf --file ") in new stack
-- Executing [h@from-internal:2] Hangup("SIP/996-9002a5e0", "") in new stack
== Spawn h extension (from-internal, h, 2) exited non-zero on 'SIP/996-9002a5e0'
== Spawn extension (from-internal, 210, 10) exited non-zero on 'SIP/996-9002a5e0'