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> XXXXXXX => é o meu IP Phone Number<br> ZZZZZZ_ZZZZZZ_ => é o meu User Name
<br> YYYYYY => é 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><br><-- 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: "asterisk" <<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>>;tag=as290a9451<br>To: <sip:<a href="http://sip.telextreme.net">sip.telextreme.net
</a>>;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> (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 =>
<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> type=friend<br> username=2001<br> mailbox=2001<br> secret=cisco186<br> qualify=yes<br> nat=no<br> host=dynamic<br> caninvite=no<br> context=internal
<br> dtmfmode=rfc2833<br> disallow=all<br> allow=ulaw<br> allow=alaw<br> allow=g729<br> allow=g723.1<br><br>[2002]<br> type=friend<br> username=2002<br> mailbox=2002<br> secret=cisco186<br> qualify=yes<br> nat=no
<br> host=dynamic<br> caninvite=no<br> context=internal<br> dtmfmode=rfc2833<br> disallow=all<br> allow=ulaw<br> allow=alaw<br> allow=g729<br> allow=g723.1<br><br>[2003]<br> type=friend<br> username=2003<br> mailbox=2003
<br> secret=cisco186<br> qualify=yes<br> nat=no<br> host=dynamic<br> caninvite=no<br> context=internal<br> dtmfmode=rfc2833<br> disallow=all<br> allow=ulaw<br> allow=alaw<br> allow=g729<br> allow=g723.1<br><br>
[2004]<br> type=friend<br> username=2004<br> mailbox=2004<br> secret=cisco186<br> qualify=yes<br> nat=no<br> host=dynamic<br> caninvite=no<br> context=internal<br> dtmfmode=rfc2833<br> disallow=all<br> allow=ulaw
<br> allow=alaw<br> allow=g729<br> allow=g723.1<br><br>root@csjunior:/etc/asterisk# cat extensions.conf<br>[general]<br> static=yes<br> writeprotect=no<br> autofallthrough=yes<br> clearglobalvars=no<br> priorityjumping=no
<br><br>[global]<br><br>[default]<br> include => internal<br> include => external<br><br>[internal]<br> exten => 2001,1,Dial(SIP/2001,45,o)<br> exten => 2002,1,Dial(SIP/2002,45,o)<br> exten => 2003,1,Dial(SIP/2003,45,o)
<br> exten => 2004,1,Dial(SIP/2004,45,o)<br><br>[telextreme-out]<br> exten => _9.,1,Dial(SIP/${EXTEN:1}@telextreme,60,r)<br><br>[telextreme-in]<br> exten => XXXXXXX,1,Goto(telextreme-in-dialplan, 101, 1)<br>
<br>[telextreme-in-dialplan]<br> extem => 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 <
<a href="mailto:markster@digium.com">markster@digium.com</a>><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><br>Verbosity is at least 3<br>csjunior*CLI> sip debug<br>SIP Debugging enabled<br>csjunior*CLI> sip reload<br> Reloading SIP<br> == Parsing '/etc/asterisk/sip.conf': Found
<br> == 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: "asterisk" <<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1
</a>>;tag=as290a9451<br>To: <sip:<a href="http://sip.telextreme.net">sip.telextreme.net</a>><br>Contact: <<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>><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: -- Re-registration for
<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: <<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net
</a>>;tag=as6f795636<br>To: <<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>><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: <<a href="mailto:sip:XXXXXXX@10.9.16.1">sip:XXXXXXX@10.9.16.1</a>><br>Event: registration<br>Content-Length: 0<br>
<br><br>---<br>csjunior*CLI><br><-- 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: "asterisk" <<a href="mailto:sip:asterisk@10.9.16.1">sip:asterisk@10.9.16.1</a>>;tag=as290a9451
<br>To: <sip:<a href="http://sip.telextreme.net">sip.telextreme.net</a>>;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> (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><br><-- 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: <<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>>;tag=as6f795636
<br>To: <<a href="mailto:sip:XXXXXXX@sip.telextreme.net">sip:XXXXXXX@sip.telextreme.net</a>>;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: <sip:XXXXXXX@201.40.77.122:5060>;expires=120<br>Server: CityMoon <a href="http://1.4.3.32">1.4.3.32</a> (i386/linux)<br>Content-Length: 0<br><br><br><br><div><span class="gmail_quote">
2006/7/27, Antonio José dos Santos Brandão <<a href="mailto:brandao@gmail.com">brandao@gmail.com</a>>:</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 => <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 <<a href="mailto:bernardo.vieira@terra.com.br">
bernardo.vieira@terra.com.br</a>> wrote:<br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>><br>> Forbidden - wrong password on authentication, ipsis literis.<br>><br>> fabio wrote:<br>> > não estou conseguindo fazer o asterisk funcionar com a tellextreme,
<br>> > consegui fazer o register mas na hora de fazer a ligação ele da essa<br>> > mensagem:<br>> ><br>> > chan_sip.c:9696 handle_response_invite: Forbidden - wrong password on<br>> > authentication for INVITE to
<br>> ><br>> > agradeço desde ja a ajuda.<br>> > obrigado.<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 wiki AsteriskBrasil.org:<br>> > <a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br>> ><br>> ><br>> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG
v1.4.1 (MingW32)<br>> Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br>><br>> iD8DBQFEyMib2QVs8jsa1mQRAmK5AJ973+YyedOh3S8ie7gnoj/cQ2VSIwCfS9+Z<br>> WzY9uieqpbo1TP+xvy3P9bw=
<br>> =+5eo<br>> -----END PGP SIGNATURE-----<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 wiki AsteriskBrasil.org:<br>> <a href="http://www.asteriskbrasil.org">http://www.asteriskbrasil.org</a><br>><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 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