Thank you!

From: Users <[email protected]> On Behalf Of Alain Bieuzent
Sent: Thursday, January 17, 2019 10:19
To: OpenSIPS users mailling list <[email protected]>
Subject: Re: [OpenSIPS-Users] Escaping URL parameter values

Hi,


You can use s.escape.user,



https://opensips.org/pipermail/users/2015-September/032545.html<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=>



Reagrds


De : Users 
<[email protected]<mailto:[email protected]>> au 
nom de "CARTWRIGHT, CORY C" <[email protected]<mailto:[email protected]>>
Répondre à : OpenSIPS users mailling list 
<[email protected]<mailto:[email protected]>>
Date : lundi 14 janvier 2019 à 19:09
À : "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Objet : [OpenSIPS-Users] Escaping URL parameter values

Hello,

I have a need to escape URL parameters in the Contact header received from an 
application.

Here is an example:
Contact: <sip:55555555555@proxy1;rn=+15555555550;ocn=1234;carrier="local 
clec";cat="WIRELESS";lata=123;npdi<sip:55555555555@proxy1;rn=+15555555550;ocn=1234;carrier=%22local%20clec%22;cat=%22WIRELESS%22;lata=123;npdi>>

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.



Thanks,
C


_______________________________________________ Users mailing list 
[email protected]<mailto:[email protected]> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<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=>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to