<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"Apple Color Emoji";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:remialcxesans;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:template-IIW3pcg7EeunrQANOhMDEQ;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:zone-1;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:zones-AQ;
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>unfortunately</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'> no,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>$rU in my example returns the entire string between sip: and before the @ => 123456789;tgrp=99999<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>I know how read the value of parameters (ex : $(rU{param.value, tgrp}) ), but I don’t know how to read the value without parameters<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-family:"Calibri",sans-serif;color:black'>De : </span></b><span style='font-family:"Calibri",sans-serif;color:black'>Users <users-bounces@lists.opensips.org> au nom de Ali Dogan <alidogan@plan.com><br><b>Répondre à : </b>OpenSIPS users mailling list <users@lists.opensips.org><br><b>Date : </b>jeudi 9 janvier 2025 à 12:31<br><b>À : </b>OpenSIPS users mailling list <users@lists.opensips.org><br><b>Objet : </b>Re: [OpenSIPS-Users] Extract "numeric part" of RURI<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='color:black'>Hello Alain,<br><br>3.77 Username in SIP Request's URI - $rU </span><span style='font-family:"Apple Color Emoji";color:black'>🔗</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>$rU - reference to username in request's URI<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>It is R/W variable (you can assign values to it routing script)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><br>This should give you what you need.<br><br>Best Regards,<o:p></o:p></span></p></div><div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:22.5pt 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=500 style='width:375.0pt;border-collapse:collapse'><tr><td valign=top style='border:none;border-bottom:solid #B1BAD4 1.0pt;padding:0cm 0cm 15.0pt 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td style='border:none;border-right:solid #CCCCCC 1.0pt;padding:0cm 15.0pt 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p><b><span style='font-size:10.5pt;font-family:"Verdana",sans-serif;color:#041729'>Ali Dogan</span></b><b><span style='font-size:1.0pt;font-family:"remialcxesans",serif;color:white'></span></b><b><span style='font-size:1.0pt;font-family:"template-IIW3pcg7EeunrQANOhMDEQ",serif;color:white'></span></b><b><span style='font-size:1.0pt;font-family:"zone-1",serif;color:white'></span></b><b><span style='font-size:1.0pt;font-family:"zones-AQ",serif;color:white'></span></b><b><span style='font-size:10.5pt;font-family:"Verdana",sans-serif;color:#041729'><o:p></o:p></span></b></p></td></tr><tr><td valign=top style='padding:11.25pt 0cm 0cm 0cm'><p><b><span style='font-size:1.0pt;color:#041729'><a href="http://www.plan.com/" target="_blank"><span style='color:#041729;text-decoration:none'><span style='color:blue'><img border=0 width=157 style='width:1.6354in' id="_x0000_i1030" src="http://www.plan.com/signatures/v2/plan-logo.png" alt=plan.com></span></span></a><o:p></o:p></span></b></p></td></tr></table></td><td style='border:none;border-right:solid #B1BAD4 1.0pt;padding:0cm 15.0pt 0cm 15.0pt'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><p><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#041729'><a href="tel:+44(0)3300%2088%2018%2018" target="_blank"><span style='color:#041729;text-decoration:none'>+44(0)3300 88 18 18</span></a><o:p></o:p></span></p></td></tr><tr><td valign=top style='padding:6.0pt 0cm 0cm 0cm'><p><b><span style='font-size:9.0pt;font-family:"Verdana",sans-serif;color:#000001'><a href="mailto:alidogan@plan.com" target="_blank"><span style='color:#041729;text-decoration:none'>alidogan@plan.com</span></a><o:p></o:p></span></b></p></td></tr><tr><td valign=top style='padding:6.0pt 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td style='padding:0cm 5.25pt 0cm 0cm'><p align=center style='text-align:center'><span style='font-size:1.0pt'><a href="https://www.facebook.com/plan.im" target="_blank"><span style='color:windowtext;text-decoration:none'><span style='color:blue'><img border=0 width=20 style='width:.2083in' id="_x0000_i1029" src="http://www.plan.com/signatures/v3/facebook.png" alt=Facebook></span></span></a><o:p></o:p></span></p></td><td style='padding:0cm 5.25pt 0cm 5.25pt'><p align=center style='text-align:center'><span style='font-size:1.0pt'><a href="https://www.instagram.com/plandotcom" target="_blank"><span style='color:windowtext;text-decoration:none'><span style='color:blue'><img border=0 width=20 style='width:.2083in' id="_x0000_i1028" src="http://www.plan.com/signatures/v3/instagram.png" alt=Instagram></span></span></a><o:p></o:p></span></p></td><td style='padding:0cm 5.25pt 0cm 5.25pt'><p align=center style='text-align:center'><span style='font-size:1.0pt'><a href="https://www.linkedin.com/company/plan-com" target="_blank"><span style='color:windowtext;text-decoration:none'><span style='color:blue'><img border=0 width=20 style='width:.2083in' id="_x0000_i1027" src="http://www.plan.com/signatures/v3/linkedin.png" alt=LinkedIn></span></span></a><o:p></o:p></span></p></td><td style='padding:0cm 0cm 0cm 5.25pt'><p class=MsoNormal><span style='font-size:1.0pt'> <o:p></o:p></span></p></td></tr></table></td></tr></table></td><td style='padding:0cm 15.0pt 0cm 15.0pt'><p><span style='font-size:1.0pt'><img border=0 width=615 style='width:6.4062in' id="_x0000_i1026" src="http://www.plan.com/signatures/v4/2024-awards-logos.png"><o:p></o:p></span></p></td></tr></table></td></tr><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-collapse:collapse'><tr><td valign=top style='padding:0cm 0cm 0cm 0cm'><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse'><tr><td valign=top style='padding:15.0pt 0cm 15.0pt 0cm'><p><span style='font-size:7.0pt;font-family:"Verdana",sans-serif;color:#AFB3C2'><a href="http://www.plan.com/" target="_blank" title="http://www.plan.com/"><span style='color:#AFB3C2;text-decoration:none'>plan.com</span></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.<o:p></o:p></span></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></div><div class=MsoNormal align=center style='text-align:center'><hr size=0 width="100%" align=center></div><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'> 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> <o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left width="100%" style='width:100.0%;border-collapse:collapse;box-sizing: border-box;border-spacing: 0px'><tr style='height:24.75pt'><td width=4 style='width:3.0pt;background:#910A19;padding:5.25pt 1.5pt 5.25pt 1.5pt;height:24.75pt'></td><td width="100%" style='width:100.0%;background:#FDF2F4;padding:5.25pt 3.75pt 5.25pt 11.25pt;height:24.75pt'><p style='mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span style='font-family:"Calibri",sans-serif;color:black'>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.</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Good Morning,</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>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><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>INVITE <u><span style='color:#0563C1'><a href="sip:123456789;tgrp=99999@X.X.X.X:5060"><span style='color:#0563C1'>sip:123456789;tgrp=99999@X.X.X.X:5060</span></a></span></u></span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Thanks in advance,</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Alain</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p class=MsoNormal>_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users <o:p></o:p></p></div></body></html>