[OpenSIPS-Users] Regex on R-URI question
Satish Patel
satish.txt at gmail.com
Tue Apr 7 17:02:28 CEST 2015
Thanks for hint, It works like following way
$var(my-uri) = $rU + "@" + $rd + ":" + $rp"
On Tue, Apr 7, 2015 at 10:37 AM, Newlin, Ben <Ben.Newlin at inin.com> wrote:
> “$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
>
> _______________________________________________
> 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/20150407/78b9c743/attachment.htm>
More information about the Users
mailing list