[Kamailio-Users] 答复: OpenSER reply 513 when register use FQDN

Steven Wu Steven.Wu at teleca.com
Thu Sep 4 11:22:38 CEST 2008


Hi I?aki,
 
I had tried add the domain in /etc/hosts. But it not work.
Just add ailas=domain in profile works fine.
 
 
Best regards,
Steven Wu

________________________________

From: users-bounces at lists.kamailio.org 代表 I?aki Baz Castillo
Sent: 2008-9-4 (星期四) 16:24
To: users at lists.kamailio.org
Subject: Re: [Kamailio-Users] OpenSER reply 513 when register use FQDN



El Thursday 04 September 2008 09:46:47 Steven Wu escribi:
> I just want use FQDN in my networking environment.
> MySJPhone use FQDNregister to OpenSER 1.2.2 but was rejected by 513
> Message to big. However it can be registed use the same profile just
> replace FQDN to IP address. The DNS query process worked fine and got the
> right IP address.

This occurs when the DNS points the domain to your OpenSer IP but OpenSer
doesn't now that this domain is himself, so when it receives the request it
performs a DNS query for that domain and forwards the request to that IP
(OpenSer again!!!), so you get an infinite loop and each step the size is
bigger since OpenSer adds a "Via" header in each step, until the request size
is too big.

Add:


alias=my_domain

or add your domain in your /etc/hosts.

--
Iaki Baz Castillo
ibc at in.ilimit.es

_______________________________________________
Users mailing list
Users at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080904/191f2428/attachment.htm>


More information about the sr-users mailing list