- edited description
Erro ao transferir ligações para Ramais indisponíveis
Issue #76
resolved
Quando uma ligação é transferida para um ramal que está indisponível, o dialplan do contexto [transferencias] encaminha a ligação para o contexto default
com destino à uma extensão vazia, causando erro de Número Inválido
para o usuário que está transferindo.
-- Executing [109@transferencias:1] NoOp("Local/109@transferencias-0000006e;2", "LIGACAO DE 67????0117 PARA 109 NO CANAL Local/109@transferencias-0000006e;2") in new stack
-- Channel Local/109@transferencias-0000006e;1 joined 'simple_bridge' basic-bridge <4eb0d6e8-06b7-400b-a22b-90e9934e8c4e>
-- Executing [109@transferencias:2] Set("Local/109@transferencias-0000006e;2", "CHANNEL(language)=pt_BR") in new stack
-- Executing [109@transferencias:3] GotoIf("Local/109@transferencias-0000006e;2", "0?blind:assisted") in new stack
-- Goto (transferencias,109,7)
-- Executing [109@transferencias:7] Set("Local/109@transferencias-0000006e;2", "TCHANNEL=SIP/117-00000874") in new stack
-- Executing [109@transferencias:8] AGI("Local/109@transferencias-0000006e;2", "snep/get_raw_channel.php,TRANSFERER,SIP/117-00000874") in new stack
-- Channel SIP/117-00000874 left 'simple_bridge' basic-bridge <19b5ff25-ebcd-421c-9f52-337e4322ba33>
-- Launched AGI Script /var/lib/asterisk/agi-bin/snep/get_raw_channel.php
-- Channel SIP/117-00000874 joined 'simple_bridge' basic-bridge <4eb0d6e8-06b7-400b-a22b-90e9934e8c4e>
-- <Local/109@transferencias-0000006e;2>AGI Script snep/get_raw_channel.php completed, returning 0
-- Executing [109@transferencias:9] AGI("Local/109@transferencias-0000006e;2", "snep/resolv_extension.php,SIP/117,RAMAL") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/snep/resolv_extension.php
-- <Local/109@transferencias-0000006e;2>AGI Script snep/resolv_extension.php completed, returning 0
-- Executing [109@transferencias:10] GotoIf("Local/109@transferencias-0000006e;2", "0?snep") in new stack
-- Executing [109@transferencias:11] Set("Local/109@transferencias-0000006e;2", "CALLERID(all)=117") in new stack
[12:15]
-- Executing [109@transferencias:12] AGI("Local/109@transferencias-0000006e;2", "snep/snep.php,-x,SIP/117") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/snep/snep.php
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Identified source: 117 (Snep_Exten)
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Connection attempt from 117 (SIP/117) to 109
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Running the rule 1:Internas - Ramal para Ramal
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Recording with 'mixmonitor'
-- AGI Script Executing Application: (mixmonitor) Options: (/var/www/html/snep/arquivos/2017-12-12/1513087814_20171212_1110_117_109.wav,b)
== Begin MixMonitor Recording Local/109@transferencias-0000006e;2
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Definindo centro de custos para 9.
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):Discando para ramal 109 no canal SIP/109.
-- AGI Script Executing Application: (Dial) Options: (SIP/109,60,TWKtwkR)
[Dec 12 12:10:14] WARNING[21132][C-0000028f]: app_dial.c:2432 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
snep/snep.php,-x,SIP/117: 117 -> 109 ERR (3):CHANUNAVAIL ao discar para 109
snep/snep.php,-x,SIP/117: 117 -> 109 INFO (6):End of running the rule 1:Internas - Ramal para Ramal
-- <Local/109@transferencias-0000006e;2>AGI Script snep/snep.php completed, returning 0
-- Executing [109@transferencias:13] GotoIf("Local/109@transferencias-0000006e;2", "0?hangup") in new stack
-- Executing [109@transferencias:14] Goto("Local/109@transferencias-0000006e;2", "default,,1") in new stack
Comments (2)
-
reporter -
reporter - changed status to resolved
- fixed the transfer problem when the dest extension is unavailable.
- fixed
#76 - improving the debug on Rule Action Loop
→ <<cset 500980e4052c>>
- Log in to comment