<HTML dir=ltr><HEAD><TITLE>Re: [Kamailio-Users] OpenSER reply 513 when register use FQDN</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText75820 dir=ltr>
<DIV dir=ltr><FONT size=2>Klaus Darilion wrote:</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>&gt;&gt;I guess the message is looped by openser to itself (openser does not<BR>&gt;&gt;detect that it is reponsible for this domain) and tat some point the<BR>&gt;&gt;message gets too big (lots of Via headers)<BR><BR>&gt;&gt;You can verify this with "ngrep -d lo port 5060".<BR><BR>&gt;&gt;Make sure openser detects your domain as lokal domain, eg:<BR>&gt;&gt;alias=ipcsip.org</FONT></DIV>
<DIV dir=ltr><FONT size=2>I just add this line, it works fine. Thank you<BR><BR>Steven Wu schrieb:<BR>&gt; Hi,<BR>&gt; I just want use FQDN in my networking environment.<BR>&gt; My SJPhone use FQDN register to OpenSER 1.2.2 but was rejected by 513<BR>&gt; Message to big.<BR>&gt; However it can be registed use the same profile just replace FQDN to IP<BR>&gt; address.<BR>&gt; The DNS query process worked fine and got the right IP address.<BR>&gt;&nbsp;<BR>&gt; My environment elments looks like:<BR>&gt; OpenSER 1.2.2 at host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.1.120 / ipcsip.org<BR>&gt; DNS server at host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.57.39.53<BR>&gt; SJPhone at host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.1.105<BR>&gt;&nbsp;<BR>&gt;&nbsp;<BR>&gt; REGISTER package looks like:<BR>&gt;&nbsp;<BR>&gt; 192.168.1.105 -&gt; 192.168.1.120<BR>&gt; REGISTER sip:ipcsip.org:5062 SIP/2.0<BR>&gt; Via: SIP/2.0/UDP<BR>&gt; 192.168.1.105;branch=z9hG4bKc0a801690000001f48bf8e4700006b9400000002;rport<BR>&gt; From: "unknown" &lt;sip:1000@ipcsip.org:5062&gt;;tag=328715c58a2<BR>&gt; To: &lt;sip:1000@ipcsip.org:5062&gt;<BR>&gt; Contact: &lt;sip:1000@192.168.1.105&gt;<BR>&gt; Call-ID: 444CD1265B43407EBBF2B26BD4C01C6B0xc0a80169<BR>&gt; CSeq: 1 REGISTER<BR>&gt; Max-Forwards: 70<BR>&gt; User-Agent: SJphone/1.65.377a (SJ Labs)<BR>&gt; Content-Length: 0<BR>&gt;&nbsp;<BR>&gt; 192.168.1.120 -&gt; 192.168.1.105<BR>&gt; SIP/2.0 513 Message too big<BR>&gt; Via: SIP/2.0/UDP<BR>&gt; 192.168.1.105;branch=z9hG4bKc0a801690000001f48bf8e4700006b9400000002;rport=5060<BR>&gt; From: "unknown" &lt;sip:1000@ipcsip.org:5062&gt;;tag=328715c58a2<BR>&gt; To: &lt;sip:1000@ipcsip.org:5062&gt;;tag=2560d490c3265ff35995c6bbde62a7c3.b7d8<BR>&gt; Call-ID: 444CD1265B43407EBBF2B26BD4C01C6B0xc0a80169<BR>&gt; CSeq: 1 REGISTER<BR>&gt; Server: OpenSER (1.2.2-notls (i386/linux))<BR>&gt; Content-Length: 0<BR>&gt;&nbsp;<BR>&gt; I got same result evenif enabled dns &amp; rev_dns in openser.cfg (dns=yes<BR>&gt; rev_dns=yes).<BR>&gt; So, What wrong with me?<BR>&gt; Coudle some give me some instructions?<BR>&gt;&nbsp;<BR>&gt;&nbsp;<BR>&gt; Best regards,<BR>&gt; Steven Wu<BR>&gt;<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; Users@lists.kamailio.org<BR>&gt; <A href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A><BR></DIV></FONT></DIV></BODY></HTML>