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 toDon't use "To" but RURI. The routing decission MUST be done based into RURI
> 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;
> }
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