[OpenSIPS-Users] Regex on R-URI question

Newlin, Ben Ben.Newlin at inin.com
Tue Apr 7 16:37:56 CEST 2015


“$rU@$rd:$rp”

$rU – R-URI Username
$rd – R-URI Domain
$rp – R-URI Port

http://www.opensips.org/Documentation/Script-CoreVar-1-11

Ben Newlin

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Satish Patel
Sent: Tuesday, April 07, 2015 10:23 AM
To: OpenSIPS users mailling list
Subject: [OpenSIPS-Users] Regex on R-URI question

I have following R-URI, want to remove "sip:" and anything after ";"

sip:12345678 at 176.74.234.222:31156;rinstance=19e78a48990c0005

I want following from above string

12345678 at 176.74.234.222:31156<http://12345678@176.74.234.222:31156>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150407/1530105a/attachment.htm>


More information about the Users mailing list