Hi Baz,
I tried this but same, looks like phones just ignore the 300 messages.

Regards
Asim Riaz


On Wed, Aug 27, 2008 at 3:52 PM, Iñaki Baz Castillo <ibc@in.ilimit.es> wrote:
El Wednesday 27 August 2008 16:19:27 Asim Riaz escribió:
> at the moment I am checking the to_uri and then redirecting the traffic to
> my one of Kamilio on my network, it seems to work fine with Linksys but not
> other phones e.g polycom xlite or even sjphone.
>
>  if(to_uri=~"sip:.+@sip.mydomain.ie") {
>            ds_select_domain("1", "4");
>           sl_send_reply("300","Redirect");
>           exit;
> }

Don't use "To" but RURI. The routing decission MUST be done based into RURI
since if a request is diverted before arriving to your proxy it "To" will
remain being the original but the RURI will be the new destination.

--
Iñaki Baz Castillo
ibc@in.ilimit.es

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