[Kamailio-Users] Kamailio dispatcher Module redirection

Asim Riaz ariaz78 at gmail.com
Wed Aug 27 17:43:48 CEST 2008


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 at 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:.+ at sip.mydomain.ie <sip%3A.%2B at 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 at in.ilimit.es
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080827/9335cd98/attachment.htm 


More information about the Users mailing list