<div dir="ltr">Hi Baz,<br>I tried this but same, looks like phones just ignore the 300 messages.<br><br>Regards<br>Asim Riaz<br><br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 3:52 PM, Iñaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@in.ilimit.es" target="_blank">ibc@in.ilimit.es</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Wednesday 27 August 2008 16:19:27 Asim Riaz escribió:<br>
<div>&gt; at the moment I am checking the to_uri and then redirecting the traffic to<br>
&gt; my one of Kamilio on my network, it seems to work fine with Linksys but not<br>
&gt; other phones e.g polycom xlite or even sjphone.<br>
&gt;<br>
&gt; &nbsp;if(to_uri=~&quot;<a href="mailto:sip%3A.%2B@sip.mydomain.ie" target="_blank">sip:.+@sip.mydomain.ie</a>&quot;) {<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds_select_domain(&quot;1&quot;, &quot;4&quot;);<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;300&quot;,&quot;Redirect&quot;);<br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>
&gt; }<br>
<br>
</div>Don&#39;t use &quot;To&quot; but RURI. The routing decission MUST be done based into RURI<br>
since if a request is diverted before arriving to your proxy it &quot;To&quot; will<br>
remain being the original but the RURI will be the new destination.<br>
<font color="#888888"><br>
--<br>
Iñaki Baz Castillo<br>
<a href="mailto:ibc@in.ilimit.es" target="_blank">ibc@in.ilimit.es</a><br>
</font><div><div></div><div><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>