<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px">I'm using opensips 2.1.1<br><div id="yui_3_16_0_1_1448939462013_21718"><span></span></div><div id="yui_3_16_0_1_1448939462013_21720" class="qtdSeparateBR"><br><br></div> <div style="display: block;" id="yui_3_16_0_1_1448939462013_21725" class="yahoo_quoted"> <div id="yui_3_16_0_1_1448939462013_21724" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 10px;"> <div id="yui_3_16_0_1_1448939462013_21723" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div id="yui_3_16_0_1_1448939462013_21722" dir="ltr"><font id="yui_3_16_0_1_1448939462013_21727" face="Arial" size="2"> On Tuesday, 1 December 2015, 8:49, Pasan Meemaduma <pasandev@ymail.com> wrote:<br></font></div> <br><br> <div id="yui_3_16_0_1_1448939462013_21750" class="y_msg_container"><div id="yiv5906100353"><div id="yui_3_16_0_1_1448939462013_21749"><div id="yui_3_16_0_1_1448939462013_21748" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px;"><div id="yiv5906100353yui_3_16_0_1_1448939462013_5595">Hi Guys, <br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5597"><br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5601" dir="ltr">I'm having an issue with using drouting module. I used the routeid in dr_rules table to execute a route block when a prefix match. But the issue is I'm using rewriteuser() function to add a suffix to ruri username which is not working.</div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5628" dir="ltr"><br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5630" dir="ltr">Ex: prefix match 000 execute route id add_code<br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5632" dir="ltr"><br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5634" dir="ltr">route add_code {</div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5657" dir="ltr"> rewriteuser(000123);</div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5659" dir="ltr"><br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5661" dir="ltr">}<br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5599"><br></div><div dir="ltr">It doesn't change the rU. I can see that original rU is sent to gateway. Is it not possible to mangle ruri when using drouting module ?</div><div dir="ltr"><br></div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5663" dir="ltr">Thanks</div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5706" dir="ltr">Regards</div><div id="yiv5906100353yui_3_16_0_1_1448939462013_5709" dir="ltr">Pasan<br></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>