[asterisk-users] Remote registering fails
Daniel Bareiro
daniel-listas at gmx.net
Sat Apr 10 17:54:34 CDT 2010
-----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-----
More information about the asterisk-users
mailing list