[OpenSIPS-Users] Is NAPTR query always necessary?
hsuan
hsuanx at gmail.com
Thu Jul 2 06:07:14 CEST 2009
Hi Bogdan,
Thanks for your feedback.
Yes, I can find the sip request to itself on LO interface.
But I don't know what setting in opensips server will cause SIP looping.
Could you spell out more precisely? Why the sip looping only happens in the
domain is not numeric? Do you mean it's not the DNS issue? I am a little
confused.
Best regards,
Eason
Bogdan-Andrei Iancu wrote:
>
> Hi Eason,
>
> according to RFC3263 ( SIP: Locating SIP Servers), if the explicit
> protocol and port is contain by the destination SIP URI, the proxy must
> try to do NAPTR and SRV lookups to discover what protocol and port to
> use...
> If these records are missing, the default value ( UDP + 5060) are assumed.
>
> these DNS lookups are done each time a requests is routed out (if not
> using IPs).
>
> What happens in your case is a SIP looping on the proxy (sending the
> request to itself). You can check this with tcpdump/ngrep/wireshark ,
> watching the traffic on LO interface.
>
> Regards,
> Bogdan
>
>
> hsuan wrote:
>> Hi all,
>>
>> I am newbie on opensips, I wonder if the NAPTR is necessary in some case?
>> When my sip domain is set to FQDN, the opensips server will send NAPTR
>> query
>> to DNS server. But there is no NAPTR supported DNS in my environment,
>> although the opensips server will get the ip and port eventaully.
>> Why the opensips server will send NAPTR query again and again even though
>> it
>> already get the ip and port from DNS? When the opensips server get into
>> the
>> NAPTR loop, the user will get 483 too many hops finally and will not able
>> to
>> register to opensips server. Once if the sip domain is set to ip address,
>> the user will register successfully. Is there any way to disable the
>> NAPTR
>> query in opensips server? Please advice.
>>
>> Best regards,
>> Eason
>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
View this message in context: http://n2.nabble.com/Is-NAPTR-query-always-necessary--tp3187819p3193353.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list