[OpenSIPS-Users] Fw: drouting module

Pasan Meemaduma pasandev at ymail.com
Tue Dec 1 07:32:58 CET 2015


I'm using opensips 2.1.1


     On Tuesday, 1 December 2015, 8:49, Pasan Meemaduma <pasandev at ymail.com> wrote:
 

 Hi Guys, 

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.
Ex:  prefix match 000    execute route id add_code

route add_code {    rewriteuser(000123);
}

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 ?
ThanksRegardsPasan


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151201/4eee6559/attachment.htm>


More information about the Users mailing list