[AsteriskBrasil] RES: Digest AsteriskBrasil, volume 74, assunto 187

Oswaldo Galdino de A. Junior oswaldojr em multtectelecom.com.br
Terça Maio 29 20:07:08 BRT 2012


Boa noite pessoal,

Obrigado pelas dicas Ribeiro.

Segue abaixo a resposta que tenho na CLI:> 

E para voltar ao normal, só dou um reload e volta a funcionar.

Vejam esta parte aqui:

    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern 003001007575
       >  fixlocalprefix: Using pattern 0300XXXXXXX
       >  fixlocalprefix: Using pattern 0800XXXXXXX
       >  fixlocalprefix: Using pattern 04004XXXX
       >  fixlocalprefix: Using pattern 550300XXXXXXX
       >  fixlocalprefix: Using pattern 550800XXXXXXX
       >  fixlocalprefix: Using pattern 554004XXXX
    -- AGI Script fixlocalprefix completed, returning 0

Isto são rotas antigas e nem sei pq aparecem, poderia influenciar?

CLI:> -- Called MULTTEC/3522----
    -- SIP/MULTTEC-08582730 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s em macro-dialout-trunk:20] Goto("SIP/38-b69073d0",
"s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION em macro-dialout-trunk:1]
GotoIf("SIP/38-b69073d0", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    -- Executing [s-CONGESTION em macro-dialout-trunk:3]
NoOp("SIP/38-b69073d0", "TRUNK Dial failed due to CONGESTION - failing
through to other trunks") in new stack
    -- Executing [035225876 em from-internal:5] Macro("SIP/38-b69073d0",
"dialout-trunk|1|3522----||") in new stack
    -- Executing [s em macro-dialout-trunk:1] Set("SIP/38-b69073d0",
"DIAL_TRUNK=1") in new stack
    -- Executing [s em macro-dialout-trunk:2] GosubIf("SIP/38-b69073d0",
"0?sub-pincheck|s|1") in new stack
    -- Executing [s em macro-dialout-trunk:3] GotoIf("SIP/38-b69073d0",
"0?disabletrunk|1") in new stack
    -- Executing [s em macro-dialout-trunk:4] Set("SIP/38-b69073d0",
"DIAL_NUMBER=3522----") in new stack
    -- Executing [s em macro-dialout-trunk:5] Set("SIP/38-b69073d0",
"DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s em macro-dialout-trunk:6] Set("SIP/38-b69073d0",
"OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s em macro-dialout-trunk:7] GotoIf("SIP/38-b69073d0",
"1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s em macro-dialout-trunk:9] GotoIf("SIP/38-b69073d0",
"0?skipoutcid") in new stack
    -- Executing [s em macro-dialout-trunk:10] Set("SIP/38-b69073d0",
"DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s em macro-dialout-trunk:11] Macro("SIP/38-b69073d0",
"outbound-callerid|1") in new stack
    -- Executing [s em macro-outbound-callerid:1] ExecIf("SIP/38-b69073d0",
"0|SetCallerPres|") in new stack
    -- Executing [s em macro-outbound-callerid:2] ExecIf("SIP/38-b69073d0",
"0|Set|REALCALLERIDNUM=113522") in new stack
    -- Executing [s em macro-outbound-callerid:3] GotoIf("SIP/38-b69073d0",
"1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s em macro-outbound-callerid:6] Set("SIP/38-b69073d0",
"USEROUTCID=") in new stack
    -- Executing [s em macro-outbound-callerid:7] Set("SIP/38-b69073d0",
"EMERGENCYCID=") in new stack
    -- Executing [s em macro-outbound-callerid:8] Set("SIP/38-b69073d0",
"TRUNKOUTCID=1125379111") in new stack
    -- Executing [s em macro-outbound-callerid:9] GotoIf("SIP/38-b69073d0",
"1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s em macro-outbound-callerid:12] ExecIf("SIP/38-b69073d0",
"1|Set|CALLERID(all)=1125379111") in new stack
    -- Executing [s em macro-outbound-callerid:13] ExecIf("SIP/38-b69073d0",
"0|Set|CALLERID(all)=") in new stack
    -- Executing [s em macro-outbound-callerid:14] ExecIf("SIP/38-b69073d0",
"0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s em macro-dialout-trunk:12] ExecIf("SIP/38-b69073d0",
"1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern 003001007575
       >  fixlocalprefix: Using pattern 0300XXXXXXX
       >  fixlocalprefix: Using pattern 0800XXXXXXX
       >  fixlocalprefix: Using pattern 04004XXXX
       >  fixlocalprefix: Using pattern 550300XXXXXXX
       >  fixlocalprefix: Using pattern 550800XXXXXXX
       >  fixlocalprefix: Using pattern 554004XXXX
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s em macro-dialout-trunk:13] Set("SIP/38-b69073d0",
"OUTNUM=3522----") in new stack
    -- Executing [s em macro-dialout-trunk:14] Set("SIP/38-b69073d0",
"custom=DAHDI/1") in new stack
    -- Executing [s em macro-dialout-trunk:15] ExecIf("SIP/38-b69073d0",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s em macro-dialout-trunk:16] Macro("SIP/38-b69073d0",
"dialout-trunk-predial-hook|") in new stack
    -- Executing [s em macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/38-b69073d0", "") in new stack
    -- Executing [s em macro-dialout-trunk:17] GotoIf("SIP/38-b69073d0",
"0?bypass|1") in new stack
    -- Executing [s em macro-dialout-trunk:18] GotoIf("SIP/38-b69073d0",
"0?customtrunk") in new stack
    -- Executing [s em macro-dialout-trunk:19] Dial("SIP/38-b69073d0",
"DAHDI/1/35225876|300|") in new stack
    -- Called 1/3522----
    -- DAHDI/1-1 answered SIP/38-b69073d0
    -- Executing [h em macro-dialout-trunk:1] Macro("SIP/38-b69073d0",
"hangupcall|") in new stack
    -- Executing [s em macro-hangupcall:1] GotoIf("SIP/38-b69073d0",
"1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s em macro-hangupcall:4] GotoIf("SIP/38-b69073d0",
"1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s em macro-hangupcall:7] GotoIf("SIP/38-b69073d0",
"1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s em macro-hangupcall:9] Hangup("SIP/38-b69073d0", "") in new
stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on
'SIP/38-b69073d0' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on
'SIP/38-b69073d0'
    -- Hungup 'DAHDI/1-1'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on
'SIP/38-b69073d0' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 035225876, 5) exited non-zero on
'SIP/38-b69073d0'
  == MixMonitor close filestream
  == End MixMonitor Recording SIP/38-b69073d0

Agradeço a atenção de todos.

Att, 

Oswaldo Jr.
----------------------------------------------------------------------

Message: 1
Date: Tue, 29 May 2012 15:36:10 -0300
From: "Ribeiro" <asterisk em aquidolado.com.br>
Subject: [AsteriskBrasil] RES:  CONGESTION.
To: <asteriskbrasil em listas.asteriskbrasil.org>
Message-ID: <015801cd3dc9$eb80a590$c281f0b0$@aquidolado.com.br>
Content-Type: text/plain; charset="utf-8"

Alberto

 

Só para detalhar um pouco mais...

 

Oswaldo

 

Para te ajudar, que eu estava com o mesmo problema...

CLI> Sip set debug on ip <IP que está com problemas>

Só uma dica: DESLIGUE após seus testes com ?Sip set debug off?, que isso
gera um log imenso.

Vem um erro em duas partes.  Eu tinha achado um PDF que descrevia cada erro,
sem muito detalhes, mas o suficiente para explicar melhor o erro, mas
procurei por tudo aqui e não achei.

Em meu caso resolvi trocando meu provedor VoIP. Estava dando erro 500 no
servidor...

 

Um abraço

Ribeiro





Mais detalhes sobre a lista de discussão AsteriskBrasil