Sorry, the parameter should be.

srvlookup=yes

Alyed

2010/4/10 Alyed <al...@vivoxie.com>

> 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-lis...@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 '4...@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=...@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
>>
>
>
-- 
_____________________________________________________________________
-- 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

Reply via email to