<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Klaus,<br><br>Thanks. I removed to tag check from config file.<br><br>Thanks<br>Sid<br><br><div><span style="font-weight: bold; color: rgb(45, 45, 45);"><font color="#0000ff" size="4">"May the light be with you."</font></span></div>  <div><span style="font-weight: bold; color: rgb(45, 45, 45);"></span><span style="font-family: arial;">______________________________________________</span><br style="font-family: arial;"><font style="font-family: arial;" size="4"><font style="font-family: arial;" size="3"><font color="#407f00"><span style="font-weight: bold;">Siddhardha Garige</span><br style="font-weight: bold;"></font><a rel="nofollow" style="font-weight: bold;" target="_blank" href="http://www.luminepixels.com/"><font color="#407f00">www.luminepixels.com</font></a></font><br style="font-weight: bold;"></font><br></div><br><br>--- On <b>Mon, 9/6/10, Klaus
 Darilion <i>&lt;klaus.mailinglists@pernau.at&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Klaus Darilion &lt;klaus.mailinglists@pernau.at&gt;<br>Subject: Re: [SR-Users] Routing issues with SIP Route headers.<br>To: "Siddhardha Garige" &lt;siddu999@yahoo.com&gt;<br>Cc: "SR-Users" &lt;sr-users@lists.sip-router.org&gt;<br>Date: Monday, September 6, 2010, 4:34 AM<br><br><div class="plainMail">The REGISTER request contains the "pre-loaded route set". Pre-loaded <br>route sets are for security reasons disabled in the default config <br>(to-tag check):<br><br>if (has_totag()) {<br>&nbsp; &nbsp; # sequential request withing a dialog should<br>&nbsp; &nbsp; # take the path determined by record-routing<br>&nbsp; &nbsp; if (loose_route()) {<br>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;...<br>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;route(RELAY);<br>&nbsp; &nbsp; } else {<br>&nbsp; &nbsp;
 ...<br><br>Either remove the totag check or add an explicit entry (eg. before the <br>above block):<br><br>if (is_method("REGISTER") {<br>&nbsp; &nbsp; # allow pre-loaded route set for REGISTER<br>&nbsp; &nbsp; if (loose_route()) {<br>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;...<br>&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;route(RELAY);<br>&nbsp; &nbsp; }<br>}<br><br><br>regards<br>Klaus<br><br><br>Am 02.09.2010 17:05, schrieb Siddhardha Garige:<br>&gt; Hello all,<br>&gt;<br>&gt; I am having little trouble routing registrations based on route header<br>&gt; in following configuration. UA sends registration to P1 and P1 is<br>&gt; ignoring “route header” and forwards registration request to Registrar.<br>&gt;<br>&gt; I am using default kamailio configuration. Is there any thing I need to<br>&gt; add to default config to enable route headers?<br>&gt;<br>&gt;<br>&gt;
 UA-----------------&gt;proxy1(kamailio)-------------------&gt;proxy2------------------&gt;Registrar<br>&gt;<br>&gt; REGISTER sip:Registrar.com SIP/2.0<br>&gt;<br>&gt; Via: SIP/2.0/UDP 10.18.0.67:5060;branch=z9hG4bKd209323e;rport<br>&gt;<br>&gt; Route: &lt;sip:proxy2.com;lr&gt;<br>&gt;<br>&gt; Max-Forwards: 70<br>&gt;<br>&gt; From: &lt;sip:<a ymailto="mailto:xxxxxx@registrar.com" href="/mc/compose?to=xxxxxx@registrar.com">xxxxxx@registrar.com</a>&gt;;tag=a85f9424<br>&gt;<br>&gt; To: &lt;sip:<a ymailto="mailto:xxxxx@registrar.com" href="/mc/compose?to=xxxxx@registrar.com">xxxxx@registrar.com</a>&gt;<br>&gt;<br>&gt; Contact: &lt;sip:xxxxxxx@10.18.0.67&gt;<br>&gt;<br>&gt; Call-ID: 431368ae25a3e232<br>&gt;<br>&gt; CSeq: 100 REGISTER<br>&gt;<br>&gt; Expires: 840<br>&gt;<br>&gt; Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,UPDATE,SUBSCRIBE,NOTIFY<br>&gt;<br>&gt; Supported:<br>&gt;<br>&gt; User-Agent: xg-tx60 3.1.17 (VeriCall Edge)<br>&gt;<br>&gt; Content-Length:
 0<br>&gt;<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Sid<br>&gt;<br>&gt;<br>&gt;<br>&gt; "May the light be with you."<br>&gt; ______________________________________________<br>&gt; Siddhardha Garige<br>&gt; www.luminepixels.com &lt;<a href="http://www.luminepixels.com/" target="_blank">http://www.luminepixels.com/</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>&gt; <a ymailto="mailto:sr-users@lists.sip-router.org" href="/mc/compose?to=sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br></div></blockquote></td></tr></table><br>