<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)">
<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:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:1.0pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
p.PrformatHTML, li.PrformatHTML, div.PrformatHTML
{mso-style-name:"Préformaté HTML";
mso-style-link:"Préformaté HTML Car";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle26
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
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="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Thank you!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Users <users-bounces@lists.opensips.org> <b>On Behalf Of
</b>Alain Bieuzent<br>
<b>Sent:</b> Thursday, January 17, 2019 10:19<br>
<b>To:</b> OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject:</b> Re: [OpenSIPS-Users] Escaping URL parameter values<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<pre><span lang="FR" style="font-size:11.0pt;font-family:"Calibri",sans-serif">You can use s.escape.user,<o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></pre>
<pre><span lang="FR" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__opensips.org_pipermail_users_2015-2DSeptember_032545.html&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=XckYNWIj-VsioCVdM4_W_g&m=kNlgcnjsF7Styl-xQbWwocFs_xCTaIjBtE7_QjCZA-Y&s=uZbvbVO3SGwY93vFYrloMFvJQpaxQ5Guv3tWRKY-SN8&e=">https://opensips.org/pipermail/users/2015-September/032545.html</a><o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></pre>
<pre><span lang="FR" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Reagrds<o:p></o:p></span></pre>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="FR" style="font-size:12.0pt;color:black">De :
</span></b><span lang="FR" style="font-size:12.0pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>> au nom de "CARTWRIGHT, CORY C" <<a href="mailto:cc3283@att.com">cc3283@att.com</a>><br>
<b>Répondre à : </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
<b>Date : </b>lundi 14 janvier 2019 à 19:09<br>
<b>À : </b>"<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>" <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
<b>Objet : </b>[OpenSIPS-Users] Escaping URL parameter values<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">Hello,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">I have a need to escape URL parameters in the Contact header received from an application.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">Here is an example:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-family:"Cambria",serif">Contact: <<a href="sip:55555555555@proxy1;rn=+15555555550;ocn=1234;carrier=%22local%20clec%22;cat=%22WIRELESS%22;lata=123;npdi"><span style="color:#0563C1">sip:55555555555@proxy1;rn=+15555555550;ocn=1234;<span style="background:yellow">carrier="local
clec";cat="WIRELESS";</span>lata=123;npdi</span></a>> </span><span lang="FR"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-size:12.0pt;font-family:"Cambria",serif"> </span><span lang="FR"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-family:"Cambria",serif">I believe according to the RFC I need to escape the “ and any spaces? I would like to do that within opensips based on certain conditions. I welcome any thoughts or suggestions.</span><span lang="FR"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-family:"Cambria",serif"> </span><span lang="FR"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-size:12.0pt;font-family:"Cambria",serif"> </span><span lang="FR"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">C<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="FR">_______________________________________________ Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=XckYNWIj-VsioCVdM4_W_g&m=kNlgcnjsF7Styl-xQbWwocFs_xCTaIjBtE7_QjCZA-Y&s=BvIqo7FCFCD4gfZWNBL0EaNCeWt3zWAAvYR3dvzzNqQ&e=">
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a> <o:p></o:p></span></p>
</div>
</body>
</html>