<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"><<a href="mailto:ibc@in.ilimit.es" target="_blank">ibc@in.ilimit.es</a>></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>> at the moment I am checking the to_uri and then redirecting the traffic to<br>
> my one of Kamilio on my network, it seems to work fine with Linksys but not<br>
> other phones e.g polycom xlite or even sjphone.<br>
><br>
> if(to_uri=~"<a href="mailto:sip%3A.%2B@sip.mydomain.ie" target="_blank">sip:.+@sip.mydomain.ie</a>") {<br>
> ds_select_domain("1", "4");<br>
> sl_send_reply("300","Redirect");<br>
> exit;<br>
> }<br>
<br>
</div>Don't use "To" but RURI. The routing decission MUST be done based into RURI<br>
since if a request is diverted before arriving to your proxy it "To" 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>