<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></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=PT-BR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Bom dia pessoal, <o:p></o:p></p><p class=MsoNormal>Tenho aqui na empresa o link de voz da ctbc (VOZ TOTAL EXECUTIVO). <o:p></o:p></p><p class=MsoNormal>Estou tendo problema para fazer o SIP TRUNK, faço a configuração da CTBC no sip.conf mas quando dou o comando sip show peers aparece como UNREACHABLE.. <o:p></o:p></p><p class=MsoNormal>Alguem tem alguma sugestão da configuração correta..Abaixo segue a configuração que fiz no meu sip.conf<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[ctbc]<o:p></o:p></p><p class=MsoNormal>type=friend<o:p></o:p></p><p class=MsoNormal><span lang=EN-US>host=IP_SBC_DA CTBC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>username=link-ctbc<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>nat=yes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>context=ctbc<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>qualify=yes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>disallow=all<o:p></o:p></span></p><p class=MsoNormal>allow=ulaw<o:p></o:p></p><p class=MsoNormal>allow=alaw<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Quando dou o sip debug aparece a seguinte mensagem.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Retransmitting #4 (NAT) to XXX.XXX.XXX.XXX:5060:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>OPTIONS sip:XXX.XXX.XXX.XXX SIP/2.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>v: SIP/2.0/UDP 172.17.255.248:5060;branch=z9hG4bK773ab2c4;rport<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Max-Forwards: 70<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>f: "asterisk" <sip:asterisk@172.17.255.248>;tag=as2034d716<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>t: <sip:XXX.XXX.XXX.XXX><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>m: <sip:asterisk@172.17.255.248:5060><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>i: 1a66ff46492684f12ab0e9772dde3e95@172.17.255.248:5060<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>CSeq: 102 OPTIONS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>User-Agent: Asterisk PBX 1.8.11.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Date: Mon, 02 Apr 2012 14:29:41 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH<o:p></o:p></span></p><p class=MsoNormal>k: replaces, timer<o:p></o:p></p><p class=MsoNormal>l: 0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Retransmitting #4 (NAT) to 201.16.146.195:5060:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>OPTIONS sip:201.16.146.195 SIP/2.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>v: SIP/2.0/UDP 172.17.255.248:5060;branch=z9hG4bK773ab2c4;rport<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Max-Forwards: 70<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>f: "asterisk" <sip:asterisk@172.17.255.248>;tag=as2034d716<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>t: <sip:201.16.146.195><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>m: <sip:asterisk@172.17.255.248:5060><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>i: 1a66ff46492684f12ab0e9772dde3e95@172.17.255.248:5060<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>CSeq: 102 OPTIONS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>User-Agent: Asterisk PBX 1.8.11.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Date: Mon, 02 Apr 2012 14:29:41 GMT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH<o:p></o:p></span></p><p class=MsoNormal>k: replaces, timer<o:p></o:p></p><p class=MsoNormal>l: 0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Monotype Corsiva"'>Glauber Henrique Castelani</span></b><b><span style='font-size:14.0pt;font-family:"Monotype Corsiva"'><o:p></o:p></span></b></p><div class=MsoNormal align=center style='text-align:center'><span style='color:#1F497D'><hr size=2 width="100%" noshade style='color:blue' align=center></span></div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Administração e Segurança de Redes/Telefonia</span></b><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Universidade de Franca</span></b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif";color:black'><br></span><span style='font-size:8.0pt;font-family:Wingdings;color:black'>(</span><span style='font-size:8.0pt;font-family:"Courier New";color:black'> </span><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'>Fone:</span></b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> (16)3711-8931<br></span><span style='font-size:8.0pt;font-family:Wingdings;color:black'>*</span><span style='font-size:8.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> E-mail: </span><span style='font-size:8.0pt;font-family:"Courier New";color:black'><a href="mailto:glauber@unifran.br"><span style='font-family:"Arial","sans-serif";color:blue'>glauber@unifran.br</span></a> </span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'><br></span><span style='font-size:8.0pt;font-family:Wingdings;color:black'>8</span><span style='font-size:8.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> Site: <a href="../../../../../www.unifran.br"><span style='color:blue'>www.unifran.br</span></a></span><span style='font-size:10.0pt;font-family:"Courier New";color:black'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>