On Wednesday 20 August 2014 14:54:42 Satish Patel wrote:Well, my guess is your routing ends with t_relay().
> I am new in Kamailio so could you please give me code example how to use
> t_relay() to forward traffic to Provide, I know how to use rewritehost()
> but i never use t_relay() function
But routing will normally be done based on $ru unless $du is set (after for
example location()).
http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#ru_-_request_uri
http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#du_-
_destination_uri
So changing destination can be accomplished by simply setting $rd to an other
ip/domain (and setting $du=null). But TIMTOWTDI.
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/ - http://www.sipo.nl/
K.v.K. Eindhoven 17097024
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users