[asterisk-users] Remote registering fails
Alyed
alyed at vivoxie.com
Sat Apr 10 23:43:00 CDT 2010
Daniel, you are having a problem often seen in pre 1.4.14 versions.
Before this release srvlookup=no 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
serverlookup=yes
under your iax.conf [general] section.
Alyed
2010/4/10 Daniel Bareiro <daniel-listas at gmx.net>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all!
>
> I'm trying to test with a friend who has an Asterisk in his office with
> the Asterisk which I have in my house. Then I have an extension that he
> is trying to register remotely.
>
> Trying with the Twinkle client, I see that it is registered:
>
> -
> ---------------------------------------------------------------------------
> 400/400 190.0.163.57 D N 5060 OK (35 ms)
> -
> ---------------------------------------------------------------------------
>
> but to the few seconds I obtain the following thing in Asterisk CLI:
>
> -
> ---------------------------------------------------------------------------
> 400/400 190.0.163.57 D N 5060 UNREACHABLE
> -
> ---------------------------------------------------------------------------
>
> And Twinkle gives an error "408 request timeout". And when he tries to
> make the register through his Asterisk instead of use Twinkle, after a
> little while he obtains errors of this type:
>
> -
> ---------------------------------------------------------------------------
> [Apr 10 19:07:18] NOTICE[16848]: chan_sip.c:7618 sip_reg_timeout: --
> Registration for '400 at myremotehome.com' timed out, trying again
> (Attempt #138)
> -
> ---------------------------------------------------------------------------
>
> This is the configuration that I'm using for the extension:
>
> -
> ---------------------------------------------------------------------------
> [400]
> username=400
> type=friend
> secret=passwd
> qualify=yes
> callerid="Daniel" <400>
> host=dynamic
> nat=no
> context=from-internal
> mailbox=400 at voicemail
> canreinvite=no
> -
> ---------------------------------------------------------------------------
>
> I tried with both "nat=yes" ---as it is possible to be observed above---
> and "nat=no", and we always obtain the same behavior. My Asterisk server
> is installed in the same firewall with GNU/Linux.
>
> I don't believe that it is a problem with the ports since the client
> registers itself at some time. Whatever happens, I'm allowing
> connections for the remote IP to the 5060 tcp/UDP port and 10000:20000
> UDP in the firewall. The router that it is ahead has these ports
> redirected to the firewall.
>
> Also I'm using externhost, externip and localnet in
> /etc/asterisk/sip.conf
>
>
> Which can be the problem?
>
> Thanks in advance for your reply.
>
> Regards,
> Daniel
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkvBAFQACgkQZpa/GxTmHTe0mgCcCmDNhkMm3DMc/Ckd7AAzZneF
> 4ngAn0SL/IC58kNDktcRsxJOaKPoAuCL
> =Ve4J
> -----END PGP SIGNATURE-----
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100410/c011defd/attachment.htm
More information about the asterisk-users
mailing list