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@lists.kamailio.org 代表 Iñaki Baz Castillo
Sent: 2008-9-4 (星期四) 16:24
To: users@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@in.ilimit.es

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