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

Reply via email to