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 <[email protected]> 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:* [email protected] [mailto:
> [email protected]] *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:[email protected]:31156;rinstance=19e78a48990c0005
>
>
>
> I want following from above string
>
>
>
> [email protected]:31156
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to