[Freeswitch-users] Strange Reg
Brian West
brian.west at mac.com
Mon May 21 06:52:38 PDT 2007
it appears your might have to set ext-sip-ip and ext-rtp-ip so it can
report them properly.
/b
On May 21, 2007, at 8:42 AM, Dave wrote:
> It doesn't seem to help:
>
>> From: [R352928 at freeswitch1.asnetinc.net]
>> Contact: ["user" <sip:R352928 at 10.0.0.221:39260>]
>> Expires: [3600]
>
> Thanks,
> - Dave
>
>
> On Mon, May 21, 2007 at 07:49:31AM -0500, Brian West wrote:
>> Try setting your IP to stun:stun.fwdnet.net and let stun do the job.
>>
>> /b
>>
>> On May 21, 2007, at 2:20 AM, Dave wrote:
>>
>>> Hi guys,
>>>
>>> I've got a rather interesting situation, here. I've got an ATA
>>> registering to a FreeSWITCH(TM) (FS2), both behind NAT. So far, so
>>> good.
>>> Now, the FreeSWITCH(TM) registers to another FreeSWITCH(TM) outside
>>> the
>>> NAT (FS2), and that's where the problems start. Here's the
>>> configuration:
>>>
>>> ATA<->FS2<->NAT<->Internet<->FS1
>>>
>>> ATA: 10.1.0.51 (behind NAT)
>>> FS2: 10.1.0.30 (behind NAT)
>>> FS1: freeswitch1.asnetinc.net (64.118.94.19)
>>>
>>> Now, here's where it gets very interesting. This is what FS1 gets
>>> when
>>> FS2 registers:
>>>> From: [R352928 at freeswitch1.asnetinc.net]
>>>> Contact: ["user" <sip:R352928 at 10.0.0.221:39260>]
>>>> Expires: [3600]
>>>> nta_agent: tport: Bad message
>>>
>>> Now, where on Earth did 10.0.0.221 come from??? (I've actually
>>> hardcoded
>>> both external_rtp_ip and server_name to the public IP of the NAT in
>>> the
>>> FS2 config, but for some strange reason, FS2 apparently claims to
>>> be at
>>> 10.0.0.221, which isn't even its local IP.)
>>>
>>> As if that's not interesting enough, I get this from FS1, too,
>>> when it
>>> tries to connect to another SIP server on the public Internet:
>>>> outbound(0xb4e1e1a0): detected NAT: freeswitch1.asnetinc.net !=
>>>> 64.118.94.19
>>>
>>> Now, since a forward DNS resolution claims that the inequality is
>>> false, I
>>> assume it attempted a reverse DNS lookup, which would fail (since
>>> my ISP
>>> takes forever to update PTR records).
>>>
>>> As usual, any hints, tips, tricks, ideas, suggestions, flames,
>>> questions,
>>> or (ideally) answers are greatly appreciated :-)
>>>
>>> Thank you,
>>> - Dave
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>>> users
>>> http://www.freeswitch.org
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> users
>> http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list