<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Bom dia,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Amigos estou com um problema em meu trixbox, vou
tentar detalhar ao maximo que talvez alguem possa me ajudar. Tenho uma maquina
com trixbox instalado (somente os módulos básicos + voicemail), ela esta na DMZ
de um dlink 512g. Inicialmente configurei 2 ramais, o 202 e o 2002. Tudo
funcionando perfeito, ligações locais, clientes remotos, nat. Então decidi
adicionar um trunk para um serviço voip de um amigo, o serviço dele é através
da telehumanas (acho q eh isso) só que toda vez que tento realizar uma ligação através
desse trunk recebo de imediato a msg ALL CIRCUITS ARE BUSY. Recorri ao google,
achei muitos casos parecidos, porém nenhuma solução resolveu meu problema, vale
lembrar que não estou usando firewall e os ramais através do nat estão funcionando
perfeitamente. Vou colar aqui minhas configurações do TRUNK e do Outbound Route.
Mais uma coisa, cheguei a verificar o trixbox esta registrando no serviço voip.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>trunks sip<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Outbound Caller ID : "empresa"<202><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Dial Rules : NXXXXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Outgoing Settings<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Trunk Name: spidmax<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Peer Details:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>canreinvite=no<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>context=from-spidmax<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>fromdomain=spidmax.novaphone.net<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>fromuser=55XXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>host=spidmax.novaphone.net<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>secret=XXXXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>type=peer<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>username=55XXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Incoming Settings<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>User Context:spidmax.novaphone.net<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>User Details:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>context=from-pstn<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>fromdomain=spidmax.novaphone.net<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>host=spidmax.novaphone.net<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>insecure=very<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>type=friend<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>user=55XXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>username=55XXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Register String:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>55XXXXX:XXXXXXX@spidmax.novaphone.net<o:p></o:p></span></font></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoNormal style='border:none;padding:0cm'><font size=2 face=Arial><span
lang=PT-BR style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Outbound Routes<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Route Name: spidmax<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Dial Patterns: NXXXXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Trunk Sequence:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>0 SIP/spidmax<o:p></o:p></span></font></p>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0cm 0cm 1.0pt 0cm'>
<p class=MsoNormal style='border:none;padding:0cm'><font size=2 face=Arial><span
lang=PT-BR style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Já tentei fazer outros dial plans tb, até que cheguei
a usar esse pois já estava com os neurônios queimando e não tinha mais paciência
de digitar algo para pegar linha...segue agora um pedaço que copiei do console
do asterisk.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> > fixlocalprefix: Using pattern NXXXXXXX<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> == fixlocalprefix: Dialpattern NXXXXXXX matched. 32291894
-> 32291894<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- AGI Script fixlocalprefix completed, returning 0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Set("SIP/202-087a9708",
"OUTNUM=32291894") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Set("SIP/202-087a9708",
"custom=SIP/spidmax") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing GotoIf("SIP/202-087a9708",
"0?customtrunk") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Dial("SIP/202-087a9708",
"SIP/spidmax/32291894|300|") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> == Everyone is busy/congested at this time (1:0/0/1)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Goto("SIP/202-087a9708",
"s-CHANUNAVAIL|1") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing NoOp("SIP/202-087a9708",
"Dial failed due to CHANUNAVAIL - failing through to other trunks")
in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Macro("SIP/202-087a9708",
"outisbusy|") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Playback("SIP/202-087a9708",
"all-circuits-busy-now|noanswer") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Playing 'all-circuits-busy-now' (language 'en')<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Playback("SIP/202-087a9708",
"pls-try-call-later|noanswer") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Playing 'pls-try-call-later' (language 'en')<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> -- Executing Macro("SIP/202-087a9708",
"hangupcall") in new stack<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Se alguem tiver alguma ideia do que pode ser,
agradeco desde já<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'>Sérgio Cunha<o:p></o:p></span></font></p>
</div>
</body>
</html>