Hi! 2. you can use something like this $var(newruri)=newrurivalue; $ru = $var(newruri); if you want to change not complete ruri, take a look here <http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables> for pv related to R-URI (they are R/W)
3. pseudovariables in To header are read only, if you really want to change it, take a look at the subst functions here <http://kamailio.org/docs/modules/4.2.x/modules/textops.html#textops.f.subst> with first point cannot help you, sorry. Cheers! SureshTummala wrote > Hi, > I have the following questions > 1. How to remove ruri which is already added to the destination set2. How > to rewritehost in ruri with variables3. How to change the To header in > INVITE which are generated by t_relay based on destination > set Regards,Suresh Tummala > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > [email protected] > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- View this message in context: http://sip-router.1086192.n5.nabble.com/how-to-use-seturi-with-varibales-in-kamailio-tp140520p140537.html Sent from the Users mailing list archive at Nabble.com. _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
