<div>Daniel, you are having a problem often seen in pre 1.4.14 versions.</div>
<div> </div>
<div>Before this release <font face="Courier New">srvlookup=no </font>was the default for sip.conf and guess the same for iax.conf . So if you are working with a previous release just add this parameter ...... but change it to</div>
<div> </div>
<div>serverlookup=yes</div>
<div> </div>
<div>under your iax.conf [general] section.</div>
<div> </div>
<div>Alyed</div>
<div><br><br> </div>
<div class="gmail_quote">2010/4/10 Daniel Bareiro <span dir="ltr"><<a href="mailto:daniel-listas@gmx.net">daniel-listas@gmx.net</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi all!<br><br>I'm trying to test with a friend who has an Asterisk in his office with<br>
the Asterisk which I have in my house. Then I have an extension that he<br>is trying to register remotely.<br><br>Trying with the Twinkle client, I see that it is registered:<br><br>- ---------------------------------------------------------------------------<br>
400/400 190.0.163.57 D N 5060 OK (35 ms)<br>- ---------------------------------------------------------------------------<br><br>but to the few seconds I obtain the following thing in Asterisk CLI:<br>
<br>- ---------------------------------------------------------------------------<br>400/400 190.0.163.57 D N 5060 UNREACHABLE<br>- ---------------------------------------------------------------------------<br>
<br>And Twinkle gives an error "408 request timeout". And when he tries to<br>make the register through his Asterisk instead of use Twinkle, after a<br>little while he obtains errors of this type:<br><br>- ---------------------------------------------------------------------------<br>
[Apr 10 19:07:18] NOTICE[16848]: chan_sip.c:7618 sip_reg_timeout: --<br>Registration for '<a href="mailto:400@myremotehome.com">400@myremotehome.com</a>' timed out, trying again<br>(Attempt #138)<br>- ---------------------------------------------------------------------------<br>
<br>This is the configuration that I'm using for the extension:<br><br>- ---------------------------------------------------------------------------<br>[400]<br>username=400<br>type=friend<br>secret=passwd<br>qualify=yes<br>
callerid="Daniel" <400><br>host=dynamic<br>nat=no<br>context=from-internal<br>mailbox=400@voicemail<br>canreinvite=no<br>- ---------------------------------------------------------------------------<br><br>
I tried with both "nat=yes" ---as it is possible to be observed above---<br>and "nat=no", and we always obtain the same behavior. My Asterisk server<br>is installed in the same firewall with GNU/Linux.<br>
<br>I don't believe that it is a problem with the ports since the client<br>registers itself at some time. Whatever happens, I'm allowing<br>connections for the remote IP to the 5060 tcp/UDP port and 10000:20000<br>
UDP in the firewall. The router that it is ahead has these ports<br>redirected to the firewall.<br><br>Also I'm using externhost, externip and localnet in<br>/etc/asterisk/sip.conf<br><br><br>Which can be the problem?<br>
<br>Thanks in advance for your reply.<br><br>Regards,<br>Daniel<br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.9 (GNU/Linux)<br><br>iEYEARECAAYFAkvBAFQACgkQZpa/GxTmHTe0mgCcCmDNhkMm3DMc/Ckd7AAzZneF<br>4ngAn0SL/IC58kNDktcRsxJOaKPoAuCL<br>
=Ve4J<br>-----END PGP SIGNATURE-----<br><br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>