[AsteriskBrasil] Chamadas Debug de chamada+chamada DDD

thiago.rodrigues thiago.rodrigues em labsupport.com.br
Quarta Setembro 23 12:39:40 BRT 2009


On Wed, 23 Sep 2009 11:21:12 -0300
  "thiago.rodrigues " <thiago.rodrigues em labsupport.com.br> wrote:
> Bom dia a todos da lista.
> 
> Estou com o seguinte caso. todas que tem numero 9, 0(no caso de DDD 
>e 0800) nao sao completadas pelo asterisk. Ja fui no extension.conf, 
>porem acredito que tenha um include apontando para outro local que 
>vai buscar a regra. Ai que esta, nao sei como funciona e nem onde 
>estao esses includes. rsrsrs segue em anexo. um debug de uma ligacao 
>comum que sai normalmente. notem que ele chama um AGI 
>"fixlocalprefix", ja o alterei imaginando que resolveria o meu 
>problema porem nada acontece ele continua chamando o "fixlocalprefix" 
>onde o match do numero e NXXXXX.
> 
> -- Executing [82177213 em from-internal:1] Macro("SIP/3507-09dcacf0", 
>"user-callerid|SKIPTTL|") in new stack
>     -- Executing [s em macro-user-callerid:1] Set("SIP/3507-09dcacf0", 
>"AMPUSER=3507") in new stack
>     -- Executing [s em macro-user-callerid:2] 
>GotoIf("SIP/3507-09dcacf0", "0?report") in new stack
>     -- Executing [s em macro-user-callerid:3] 
>ExecIf("SIP/3507-09dcacf0", "1|Set|REALCALLERIDNUM=3507") in new 
>stack
>     -- Executing [s em macro-user-callerid:4] Set("SIP/3507-09dcacf0", 
>"AMPUSER=3507") in new stack
>     -- Executing [s em macro-user-callerid:5] Set("SIP/3507-09dcacf0", 
>"AMPUSERCIDNAME=3507") in new stack
>     -- Executing [s em macro-user-callerid:6] 
>GotoIf("SIP/3507-09dcacf0", "0?report") in new stack
>     -- Executing [s em macro-user-callerid:7] Set("SIP/3507-09dcacf0", 
>"AMPUSERCID=3507") in new stack
>     -- Executing [s em macro-user-callerid:8] Set("SIP/3507-09dcacf0", 
>"CALLERID(all)="3507" <3507>") in new stack
>     -- Executing [s em macro-user-callerid:9] Set("SIP/3507-09dcacf0", 
>"REALCALLERIDNUM=3507") in new stack
>     -- Executing [s em macro-user-callerid:10] 
>GotoIf("SIP/3507-09dcacf0", "1?continue") in new stack
>     -- Goto (macro-user-callerid,s,19)
>     -- Executing [s em macro-user-callerid:19] 
>NoOp("SIP/3507-09dcacf0", "Using CallerID "3507" <3507>") in new 
>stack
>     -- Executing [82177213 em from-internal:2] Set("SIP/3507-09dcacf0", 
>"_NODEST=") in new stack
>     -- Executing [82177213 em from-internal:3] 
>Macro("SIP/3507-09dcacf0", "record-enable|3507|OUT|") in new stack
>     -- Executing [s em macro-record-enable:1] 
>GotoIf("SIP/3507-09dcacf0", "1?check") in new stack
>     -- Goto (macro-record-enable,s,4)
>     -- Executing [s em macro-record-enable:4] AGI("SIP/3507-09dcacf0", 
>"recordingcheck|20090923-061236|1253700756.2") in new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
>   recordingcheck|20090923-061236|1253700756.2: Outbound recording 
>not enabled
>     -- AGI Script recordingcheck completed, returning 0
>     -- Executing [s em macro-record-enable:5] 
>MacroExit("SIP/3507-09dcacf0", "") in new stack
>     -- Executing [82177213 em from-internal:4] 
>Macro("SIP/3507-09dcacf0", "dialout-trunk|1|82177213||") in new stack
>     -- Executing [s em macro-dialout-trunk:1] Set("SIP/3507-09dcacf0", 
>"DIAL_TRUNK=1") in new stack
>     -- Executing [s em macro-dialout-trunk:2] 
>GosubIf("SIP/3507-09dcacf0", "0?sub-pincheck|s|1") in new stack
>     -- Executing [s em macro-dialout-trunk:3] 
>GotoIf("SIP/3507-09dcacf0", "0?disabletrunk|1") in new stack
>     -- Executing [s em macro-dialout-trunk:4] Set("SIP/3507-09dcacf0", 
>"DIAL_NUMBER=82177213") in new stack
>     -- Executing [s em macro-dialout-trunk:5] Set("SIP/3507-09dcacf0", 
>"DIAL_TRUNK_OPTIONS=tr") in new stack
>     -- Executing [s em macro-dialout-trunk:6] Set("SIP/3507-09dcacf0", 
>"OUTBOUND_GROUP=OUT_1") in new stack
>     -- Executing [s em macro-dialout-trunk:7] 
>GotoIf("SIP/3507-09dcacf0", "0?nomax") in new stack
>     -- Executing [s em macro-dialout-trunk:8] 
>GotoIf("SIP/3507-09dcacf0", "0?chanfull") in new stack
>     -- Executing [s em macro-dialout-trunk:9] 
>GotoIf("SIP/3507-09dcacf0", "0?skipoutcid") in new stack
>     -- Executing [s em macro-dialout-trunk:10] Set("SIP/3507-09dcacf0", 
>"DIAL_TRUNK_OPTIONS=") in new stack
>     -- Executing [s em macro-dialout-trunk:11] 
>Macro("SIP/3507-09dcacf0", "outbound-callerid|1") in new stack
>     -- Executing [s em macro-outbound-callerid:1] 
>ExecIf("SIP/3507-09dcacf0", "0|SetCallerPres|") in new stack
>     -- Executing [s em macro-outbound-callerid:2] 
>ExecIf("SIP/3507-09dcacf0", "0|Set|REALCALLERIDNUM=3507") in new 
>stack
>     -- Executing [s em macro-outbound-callerid:3] 
>GotoIf("SIP/3507-09dcacf0", "1?normcid") in new stack
>     -- Goto (macro-outbound-callerid,s,6)
>     -- Executing [s em macro-outbound-callerid:6] 
>Set("SIP/3507-09dcacf0", "USEROUTCID=") in new stack
>     -- Executing [s em macro-outbound-callerid:7] 
>Set("SIP/3507-09dcacf0", "EMERGENCYCID=") in new stack
>     -- Executing [s em macro-outbound-callerid:8] 
>Set("SIP/3507-09dcacf0", "TRUNKOUTCID=1126783500") in new stack
>     -- Executing [s em macro-outbound-callerid:9] 
>GotoIf("SIP/3507-09dcacf0", "1?trunkcid") in new stack
>     -- Goto (macro-outbound-callerid,s,12)
>     -- Executing [s em macro-outbound-callerid:12] 
>ExecIf("SIP/3507-09dcacf0", "1|Set|CALLERID(all)=1126783500") in new 
>stack
>     -- Executing [s em macro-outbound-callerid:13] 
>GotoIf("SIP/3507-09dcacf0", "1?exit") in new stack
>     -- Goto (macro-outbound-callerid,s,11)
>     -- Executing [s em macro-outbound-callerid:11] 
>MacroExit("SIP/3507-09dcacf0", "") in new stack
>     -- Executing [s em macro-dialout-trunk:12] 
>ExecIf("SIP/3507-09dcacf0", "1|AGI|fixlocalprefix") in new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
>        >  fixlocalprefix: Using pattern NXXXXXX.
>   ==  fixlocalprefix: Dialpattern NXXXXXX. matched. 82177213 -> 
>82177213
>     -- AGI Script fixlocalprefix completed, returning 0
>     -- Executing [s em macro-dialout-trunk:13] Set("SIP/3507-09dcacf0", 
>"OUTNUM=82177213") in new stack
>     -- Executing [s em macro-dialout-trunk:14] Set("SIP/3507-09dcacf0", 
>"custom=ZAP/g1") in new stack
>     -- Executing [s em macro-dialout-trunk:15] 
>ExecIf("SIP/3507-09dcacf0", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") 
>in new stack
>     -- Executing [s em macro-dialout-trunk:16] 
>Macro("SIP/3507-09dcacf0", "dialout-trunk-predial-hook|") in new 
>stack
>     -- Executing [s em macro-dialout-trunk-predial-hook:1] 
>MacroExit("SIP/3507-09dcacf0", "") in new stack
>     -- Executing [s em macro-dialout-trunk:17] 
>GotoIf("SIP/3507-09dcacf0", "0?bypass|1") in new stack
>     -- Executing [s em macro-dialout-trunk:18] 
>GotoIf("SIP/3507-09dcacf0", "0?customtrunk") in new stack
>     -- Executing [s em macro-dialout-trunk:19] 
>Dial("SIP/3507-09dcacf0", "ZAP/g1/82177213|300|") in new stack
>     -- Called g1/82177213
>     -- Zap/1-1 is ringing
> 
> 
> Obrigado a todos!



Mais detalhes sobre a lista de discussão AsteriskBrasil