[OpenSIPS-Users] changing $rU number

dpa denis7979 at mail.ru
Thu Jul 23 10:41:33 CEST 2015


As I understand regex module just matches string against regexp. but not makes any manipulation.

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Schneur Rosenberg
Sent: Thursday, July 23, 2015 11:24 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] changing $rU number

 

http://www.opensips.org/html/docs/modules/1.10.x/regex.html

 

On Thu, Jul 23, 2015 at 10:49 AM, dpa <denis7979 at mail.ru> wrote:

Thank you.

But what can I use for do it?

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Schneur Rosenberg
Sent: Thursday, July 23, 2015 10:40 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] changing $rU number

 

$rU is read/write so you can use regexp and just rewrite the variable

 

On Thu, Jul 23, 2015 at 10:33 AM, dpa <denis7979 at mail.ru> wrote:



Hello!

 

Opensips 1.10.

 

I am using DROUTING module from making routing.

But some SIP UA sends to Opensips tel. number with  some unnecessary characters, such as “%20” and “-”.

 

The question is how can I delete these characters from request user?

 

Thank you for any help.

 

 

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150723/f5e48906/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20150723/f5e48906/attachment.gif>


More information about the Users mailing list