<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Alain,<br>
<br>
3.77 Username in SIP Request's URI - $rU 🔗</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
$rU - reference to username in request's URI</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It is R/W variable (you can assign values to it routing script)</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
This should give you what you need.<br>
<br>
Best Regards,</div>
<div id="appendonsend"></div>
<div dir="ltr" style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;font-size:1px;direction:ltr;"><table dir="ltr" cellpadding="0" cellspacing="0" border="0" style="width:100%;direction:ltr;border-collapse:collapse;font-size:1px;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:30px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:500px;border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:0 0 20px;border-top:none;border-right:none;border-bottom:solid 1px #B1BAD4;border-left:none;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:0 20px 0 0;border-top:none;border-right:solid 1px #CCCCCC;border-bottom:none;border-left:none;vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;color:#041729;font-style:normal;font-weight:700;line-height:normal;white-space:nowrap;"><tr style="font-size:14px;"><td align="left" style="padding:0;vertical-align:top;font-family:Verdana;"><p style="margin-top:0px;margin-bottom:0px;">Ali Dogan<span style="font-family:remialcxesans;font-size:1px;color:#FFFFFF;line-height:1px;"><span style="font-family:'template-IIW3pcg7EeunrQANOhMDEQ';"></span><span style="font-family:'zone-1';"></span><span style="font-family:'zones-AQ';"></span></span></p></td></tr><tr style="font-size:0;"><td align="left" style="padding:15px 0 0;vertical-align:top;"><p style="margin-top:0px;margin-bottom:0px;"><a href="http://www.plan.com/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.plan.com/signatures/v2/plan-logo.png" width="157" border="0" title="plan.com" alt="plan.com" style="width:157px;min-width:157px;max-width:157px;font-size:12px;" /></a></p></td></tr></table></td><td align="left" style="padding:0 20px;border-top:none;border-right:solid 1px #B1BAD4;border-bottom:none;border-left:none;vertical-align:middle;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;color:#041729;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="padding:0;vertical-align:top;font-family:Verdana;"><p style="margin-top:0px;margin-bottom:0px;"><a href="tel:+44(0)3300%2088%2018%2018" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#041729;">+44(0)3300 88 18 18</a></p></td></tr><tr style="font-size:12px;color:#000001;font-weight:700;"><td align="left" style="padding:8px 0 0;vertical-align:top;font-family:Verdana;"><p style="margin-top:0px;margin-bottom:0px;"><a href="mailto:alidogan@plan.com" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#041729;">alidogan@plan.com</a></p></td></tr><tr style="font-size:0;"><td align="left" style="padding:8px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="center" style="padding:0 7px 0 0;vertical-align:middle;"><p style="margin-top:0px;margin-bottom:0px;"><a href="https://www.facebook.com/plan.im" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.plan.com/signatures/v3/facebook.png" width="20" border="0" title="Facebook" alt="Facebook" style="width:20px;min-width:20px;max-width:20px;font-size:12px;" /></a></p></td><td align="center" style="padding:0 7px;vertical-align:middle;"><p style="margin-top:0px;margin-bottom:0px;"><a href="https://www.instagram.com/plandotcom" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.plan.com/signatures/v3/instagram.png" width="20" border="0" title="Instagram" alt="Instagram" style="width:20px;min-width:20px;max-width:20px;font-size:12px;" /></a></p></td><td align="center" style="padding:0 7px;vertical-align:middle;"><p style="margin-top:0px;margin-bottom:0px;"><a href="https://www.linkedin.com/company/plan-com" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.plan.com/signatures/v3/linkedin.png" width="20" border="0" title="LinkedIn" alt="LinkedIn" style="width:20px;min-width:20px;max-width:20px;font-size:12px;" /></a></p></td><td style="padding:0 0 0 7px;"> </td></tr></table></td></tr></table></td><td align="left" style="padding:0 20px;vertical-align:middle;line-height:normal;"><p style="margin-top:0px;margin-bottom:0px;"><img src="http://www.plan.com/signatures/v4/2024-awards-logos.png" width="615" border="0" alt="" style="width:615px;min-width:615px;max-width:615px;font-size:0;" /></p></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="padding:0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;color:#AFB3C2;font-style:normal;font-weight:400;white-space:normal;"><tr style="font-size:9.33px;"><td align="left" style="padding:20px 0;vertical-align:top;font-family:Verdana;"><p style="margin-top:0px;margin-bottom:0px;"><a href="http://www.plan.com/" target="_blank" id="LPlnk689713" title="http://www.plan.com/" style="text-decoration:none;color:#AFB3C2;">plan.com</a> is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error.<br /></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></div><hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Users <users-bounces@lists.opensips.org> on behalf of Alain Bieuzent <alain.bieuzent@free.fr><br>
<b>Sent:</b> Thursday, January 9, 2025 14:12<br>
<b>To:</b> OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject:</b> [OpenSIPS-Users] Extract "numeric part" of RURI</span>
<div> </div>
</div>
<table align="left" cellspacing="0" cellpadding="0" style="width: 100%; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td style="width: 4px; height: 33px; background-color: rgb(145, 10, 25); padding: 5.25pt 1.5pt;">
</td>
<td style="width: 100%; height: 33px; background-color: rgb(253, 242, 244); padding: 5.25pt 3.75pt 5.25pt 11.25pt;">
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;">This message was sent from outside plan.com. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe.</p>
</td>
</tr>
</tbody>
</table>
<br>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;">Good Morning,</span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;"> </span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;">What is the best way to extract the "numeric part" of a RURI, for example on an INVITE with tgrp parameter and I want to extract only the “123456789” part</span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;"> </span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;">INVITE
</span><span style="font-size: 11pt; color: rgb(5, 99, 193);"><u><a href="sip:123456789;tgrp=99999@X.X.X.X:5060" id="OWA20a38e16-2577-a59d-7bb5-a2f2a209bd97" class="OWAAutoLink" data-auth="NotApplicable" style="color: rgb(5, 99, 193); margin-top: 0px; margin-bottom: 0px;">sip:123456789;tgrp=99999@X.X.X.X:5060</a></u></span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;"> </span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;">Thanks in advance,</span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;"> </span></p>
<p style="margin: 0cm; font-family: Calibri, sans-serif; font-size: 12pt;"><span style="font-size: 11pt;">Alain</span></p>
</body>
</html>