Ola Pessoal,<br><br>Agradeco ao Antonio por ter retornado o email abaixo, so que não estou tendo sorte com a configuração do Asterisk<br><br>Infelizmente nao esta dando certo aqui. Inicialmente estou atras de um nat. (faltou passar isto)
<br><br>Segue meu sip.conf e meu extensions.conf. Tambem to enviando abaixo o log do sip debug no prompt do asterisk.<br><br>Note que: <br>&nbsp;&nbsp;&nbsp; XXXXXXX =&gt; é o meu IP Phone Number<br>&nbsp;&nbsp;&nbsp; ZZZZZZ_ZZZZZZ_ =&gt; é o meu User Name
<br>&nbsp;&nbsp;&nbsp; YYYYYY =&gt; é o password<br><br>Coforme o log abaixo a parte de registro esta sendo feita normalmente, so que ele tambem esta errando em alguma coisa, quando aparece: <br><br><br>---<br>csjunior*CLI&gt;<br>&lt;-- SIP read from 
<a href="http://64.77.227.171:5060">64.77.227.171:5060</a>:<br>SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/TM)<br>Via: SIP/2.0/UDP <a href="http://10.9.16.1:5060">10.9.16.1:5060</a>;branch=z9hG4bK437ce299;rport=5060;received=
<a href="http://201.40.77.122">201.40.77.122</a><br>From: &quot;asterisk&quot; &lt;<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>&gt;;tag=as290a9451<br>To: &lt;sip:<a href="http://sip.telextreme.net">sip.telextreme.net
</a>&gt;;tag=5a7a560da4f88ad91eb8c3d818d92ed0-dd88<br>Call-ID: <a href="mailto:3856a1de4d7a06be3e5e00900a912b55@10.9.16.1">3856a1de4d7a06be3e5e00900a912b55@10.9.16.1</a><br>CSeq: 102 OPTIONS<br>Server: CityMoon <a href="http://1.4.3.32">
1.4.3.32</a>&nbsp; (i386/linux)<br>Content-Length: 0<br><br><br>Apesar de que no meu sip.conf eu tenho informado as possibiliddes para o registro.<br>Sei que deve ser besteira, mas ja estou quase desistindo e comprando o ata.<br>
<br>Claudio Jr.<br><br><br>root@csjunior:/etc/asterisk# cat sip.conf<br>[general]<br>context=default<br>bindport=5060<br>port=5060<br>bindaddr=<a href="http://0.0.0.0">0.0.0.0</a><br>srvlookup = yes<br><br>register =&gt; 
<a href="http://XXXXXXX:YYYYYY:ZZZZZZ_ZZZZZZ_@sip.telextreme.net/XXXXXXX">XXXXXXX:YYYYYY:ZZZZZZ_ZZZZZZ_@sip.telextreme.net/XXXXXXX</a><br><br>[telextreme]<br>type=peer<br>username=ZZZZZZ_ZZZZZZ_<br>amaflags=billing<br>secret=YYYYYY
<br>dtmfmode=RFC2833<br>qualify=yes<br>canreinvite=yes<br>disallow=all<br>allow=g729,ulaw,alaw,gsm<br>host=<a href="http://sip.telextreme.net">sip.telextreme.net</a><br>context=from-telextreme<br>fromuser=XXXXXXX<br>fromdomain=
<a href="http://sip.telextreme.net">sip.telextreme.net</a><br><br><br>[2001]<br>&nbsp; type=friend<br>&nbsp; username=2001<br>&nbsp; mailbox=2001<br>&nbsp; secret=cisco186<br>&nbsp; qualify=yes<br>&nbsp; nat=no<br>&nbsp; host=dynamic<br>&nbsp; caninvite=no<br>&nbsp; context=internal
<br>&nbsp; dtmfmode=rfc2833<br>&nbsp; disallow=all<br>&nbsp; allow=ulaw<br>&nbsp; allow=alaw<br>&nbsp; allow=g729<br>&nbsp; allow=g723.1<br><br>[2002]<br>&nbsp; type=friend<br>&nbsp; username=2002<br>&nbsp; mailbox=2002<br>&nbsp; secret=cisco186<br>&nbsp; qualify=yes<br>&nbsp; nat=no
<br>&nbsp; host=dynamic<br>&nbsp; caninvite=no<br>&nbsp; context=internal<br>&nbsp; dtmfmode=rfc2833<br>&nbsp; disallow=all<br>&nbsp; allow=ulaw<br>&nbsp; allow=alaw<br>&nbsp; allow=g729<br>&nbsp; allow=g723.1<br><br>[2003]<br>&nbsp; type=friend<br>&nbsp; username=2003<br>&nbsp; mailbox=2003
<br>&nbsp; secret=cisco186<br>&nbsp; qualify=yes<br>&nbsp; nat=no<br>&nbsp; host=dynamic<br>&nbsp; caninvite=no<br>&nbsp; context=internal<br>&nbsp; dtmfmode=rfc2833<br>&nbsp; disallow=all<br>&nbsp; allow=ulaw<br>&nbsp; allow=alaw<br>&nbsp; allow=g729<br>&nbsp; allow=g723.1<br><br>
[2004]<br>&nbsp; type=friend<br>&nbsp; username=2004<br>&nbsp; mailbox=2004<br>&nbsp; secret=cisco186<br>&nbsp; qualify=yes<br>&nbsp; nat=no<br>&nbsp; host=dynamic<br>&nbsp; caninvite=no<br>&nbsp; context=internal<br>&nbsp; dtmfmode=rfc2833<br>&nbsp; disallow=all<br>&nbsp; allow=ulaw
<br>&nbsp; allow=alaw<br>&nbsp; allow=g729<br>&nbsp; allow=g723.1<br><br>root@csjunior:/etc/asterisk# cat extensions.conf<br>[general]<br>&nbsp; static=yes<br>&nbsp; writeprotect=no<br>&nbsp; autofallthrough=yes<br>&nbsp; clearglobalvars=no<br>&nbsp; priorityjumping=no
<br><br>[global]<br><br>[default]<br>&nbsp; include =&gt; internal<br>&nbsp; include =&gt; external<br><br>[internal]<br>&nbsp; exten&nbsp;&nbsp; =&gt; 2001,1,Dial(SIP/2001,45,o)<br>&nbsp; exten&nbsp;&nbsp; =&gt; 2002,1,Dial(SIP/2002,45,o)<br>&nbsp; exten&nbsp;&nbsp; =&gt; 2003,1,Dial(SIP/2003,45,o)
<br>&nbsp; exten&nbsp;&nbsp; =&gt; 2004,1,Dial(SIP/2004,45,o)<br><br>[telextreme-out]<br>&nbsp; exten =&gt; _9.,1,Dial(SIP/${EXTEN:1}@telextreme,60,r)<br><br>[telextreme-in]<br>&nbsp; exten =&gt; XXXXXXX,1,Goto(telextreme-in-dialplan, 101, 1)<br>
<br>[telextreme-in-dialplan]<br>&nbsp; extem =&gt; 101,1,Dial(SIP/2001,30,r)<br><br>root@csjunior:/etc/asterisk# asterisk -r<br>Asterisk 1.2.10, Copyright (C) 1999 - 2006 Digium, Inc. and others.<br>Created by Mark Spencer &lt;
<a href="mailto:markster@digium.com">markster@digium.com</a>&gt;<br>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.<br>This is free software, with components licensed under the GNU General Public
<br>License version 2 and other licenses; you are welcome to redistribute it under<br>certain conditions. Type 'show license' for details.<br>=========================================================================<br>Connected to Asterisk 
1.2.10 currently running on csjunior (pid = 30166)<br>onnectionCLI&gt;<br>Verbosity is at least 3<br>csjunior*CLI&gt; sip debug<br>SIP Debugging enabled<br>csjunior*CLI&gt; sip reload<br>&nbsp;Reloading SIP<br>&nbsp; == Parsing '/etc/asterisk/sip.conf': Found
<br>&nbsp; == Parsing '/etc/asterisk/sip_notify.conf': Found<br><br>12 headers, 0 lines<br>Reliably Transmitting (no NAT) to <a href="http://64.77.227.171:5060">64.77.227.171:5060</a>:<br>OPTIONS sip:<a href="http://sip.telextreme.net">
sip.telextreme.net</a> SIP/2.0<br>Via: SIP/2.0/UDP <a href="http://10.9.16.1:5060">10.9.16.1:5060</a>;branch=z9hG4bK437ce299;rport<br>From: &quot;asterisk&quot; &lt;<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1
</a>&gt;;tag=as290a9451<br>To: &lt;sip:<a href="http://sip.telextreme.net">sip.telextreme.net</a>&gt;<br>Contact: &lt;<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>&gt;<br>Call-ID: <a href="mailto:3856a1de4d7a06be3e5e00900a912b55@10.9.16.1">
3856a1de4d7a06be3e5e00900a912b55@10.9.16.1</a><br>CSeq: 102 OPTIONS<br>User-Agent: Asterisk PBX<br>Max-Forwards: 70<br>Date: Mon, 31 Jul 2006 20:28:03 GMT<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
<br>Content-Length: 0<br><br><br><br>--- (10 headers 11 lines)---<br>Destroying call '<a href="mailto:2cdcd60945f15fbd2a4726bf17653052@10.9.16.1">2cdcd60945f15fbd2a4726bf17653052@10.9.16.1</a>'<br>Jul 31 17:28:03 NOTICE[30180]: chan_sip.c:5336 sip_reregister:&nbsp;&nbsp;&nbsp; -- Re-registration for&nbsp; 
<a href="mailto:XXXXXXX@sip.telextreme.net">XXXXXXX@sip.telextreme.net</a><br>REGISTER 12 headers, 0 lines<br>Reliably Transmitting (no NAT) to <a href="http://64.77.227.171:5060">64.77.227.171:5060</a>:<br>REGISTER sip:<a href="http://sip.telextreme.net">
sip.telextreme.net</a> SIP/2.0<br>Via: SIP/2.0/UDP <a href="http://10.9.16.1:5060">10.9.16.1:5060</a>;branch=z9hG4bK7f27d851;rport<br>From: &lt;<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net
</a>&gt;;tag=as6f795636<br>To: &lt;<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>&gt;<br>Call-ID: <a href="mailto:747c554c5822f49b7731267606841dea@127.0.1.1">747c554c5822f49b7731267606841dea@127.0.1.1
</a><br>CSeq: 102 REGISTER<br>User-Agent: Asterisk PBX<br>Max-Forwards: 70<br>Expires: 120<br>Contact: &lt;<a href="mailto:sip:XXXXXXX@10.9.16.1">sip:XXXXXXX@10.9.16.1</a>&gt;<br>Event: registration<br>Content-Length: 0<br>
<br><br>---<br>csjunior*CLI&gt;<br>&lt;-- SIP read from <a href="http://64.77.227.171:5060">64.77.227.171:5060</a>:<br>SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/TM)<br>Via: SIP/2.0/UDP <a href="http://10.9.16.1:5060">
10.9.16.1:5060</a>;branch=z9hG4bK437ce299;rport=5060;received=<a href="http://201.40.77.122">201.40.77.122</a><br>From: &quot;asterisk&quot; &lt;<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>&gt;;tag=as290a9451
<br>To: &lt;sip:<a href="http://sip.telextreme.net">sip.telextreme.net</a>&gt;;tag=5a7a560da4f88ad91eb8c3d818d92ed0-dd88<br>Call-ID: <a href="mailto:3856a1de4d7a06be3e5e00900a912b55@10.9.16.1">3856a1de4d7a06be3e5e00900a912b55@10.9.16.1
</a><br>CSeq: 102 OPTIONS<br>Server: CityMoon <a href="http://1.4.3.32">1.4.3.32</a>&nbsp; (i386/linux)<br>Content-Length: 0<br><br><br>--- (8 headers 0 lines)---<br>Destroying call '<a href="mailto:3856a1de4d7a06be3e5e00900a912b55@10.9.16.1">
3856a1de4d7a06be3e5e00900a912b55@10.9.16.1</a>'<br>csjunior*CLI&gt;<br>&lt;-- SIP read from <a href="http://64.77.227.171:5060">64.77.227.171:5060</a>:<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP <a href="http://10.9.16.1:5060">
10.9.16.1:5060</a>;branch=z9hG4bK7f27d851;rport=5060;received=<a href="http://201.40.77.122">201.40.77.122</a><br>From: &lt;<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>&gt;;tag=as6f795636
<br>To: &lt;<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>&gt;;tag=460f73edc87593b423d079818bb980e0.db68<br>Call-ID: <a href="mailto:747c554c5822f49b7731267606841dea@127.0.1.1">747c554c5822f49b7731267606841dea@127.0.1.1
</a><br>CSeq: 102 REGISTER<br>Contact: &lt;sip:XXXXXXX@201.40.77.122:5060&gt;;expires=120<br>Server: CityMoon <a href="http://1.4.3.32">1.4.3.32</a>&nbsp; (i386/linux)<br>Content-Length: 0<br><br><br><br><div><span class="gmail_quote">
2006/7/27, Antonio José dos Santos Brandão &lt;<a href="mailto:brandao@gmail.com">brandao@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Precisei configurar a telextreme para um cliente e funcionou legal.<br>Veja como ficou:<br><br>sip.conf<br><br>register =&gt; <a href="http://XXXXXXXX:senha:YYYYYY_YYYYYY_@sip.telextreme.net/222222">XXXXXXXX:senha:YYYYYY_YYYYYY_@sip.telextreme.net/222222
</a><br><br>[telextreme]<br>type=peer<br>username=YYYYYY_YYYYYY_<br>amaflags=billing<br>secret=senha<br>dtmfmode=RFC2833<br>qualify=yes<br>canreinvite=yes<br>disallow=all<br>allow=g729,ulaw,alaw,gsm<br>host=<a href="http://sip.telextreme.net">
sip.telextreme.net</a><br>context=blablabla<br>fromuser=XXXXXXX<br>fromdomain=<a href="http://sip.telextreme.net">sip.telextreme.net</a><br><br><br><br>On 7/27/06, Bernardo Vieira &lt;<a href="mailto:bernardo.vieira@terra.com.br">
bernardo.vieira@terra.com.br</a>&gt; wrote:<br>&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; Hash: SHA1<br>&gt;<br>&gt; Forbidden - wrong password on authentication, ipsis literis.<br>&gt;<br>&gt; fabio wrote:<br>&gt; &gt; não estou conseguindo fazer o asterisk funcionar com a tellextreme,
<br>&gt; &gt; consegui fazer o register mas na hora de fazer a ligação ele da essa<br>&gt; &gt; mensagem:<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; chan_sip.c:9696 handle_response_invite: Forbidden - wrong password on<br>&gt; &gt; authentication for INVITE to
<br>&gt; &gt;<br>&gt; &gt; agradeço desde ja a ajuda.<br>&gt; &gt; obrigado.<br>&gt; &gt; _______________________________________________<br>&gt; &gt; LIsta de discussões AsteriskBrasil.org<br>&gt; &gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">
AsteriskBrasil@listas.asteriskbrasil.org</a><br>&gt; &gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; Acesse o&nbsp;&nbsp;wiki AsteriskBrasil.org:<br>&gt; &gt; <a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; Version: GnuPG 
v1.4.1 (MingW32)<br>&gt; Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br>&gt;<br>&gt; iD8DBQFEyMib2QVs8jsa1mQRAmK5AJ973+YyedOh3S8ie7gnoj/cQ2VSIwCfS9+Z<br>&gt; WzY9uieqpbo1TP+xvy3P9bw=
<br>&gt; =+5eo<br>&gt; -----END PGP SIGNATURE-----<br>&gt; _______________________________________________<br>&gt; LIsta de discussões AsteriskBrasil.org<br>&gt; <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org
</a><br>&gt; <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>&gt;<br>&gt; _______________________________________________<br>
&gt; Acesse o&nbsp;&nbsp;wiki AsteriskBrasil.org:<br>&gt; <a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br>&gt;<br><br><br>--<br>Antonio J. S. Brandão<br>_______________________________________________<br>
LIsta de discussões AsteriskBrasil.org<br><a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br><a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br><br>_______________________________________________<br>Acesse o&nbsp;&nbsp;wiki AsteriskBrasil.org:<br><a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Claudio da Silva Junior<br>csjunior at gmail dot com