<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 1/12/10 3:49 PM, alex pappas wrote:
<blockquote
 cite="mid:88b5e74c1001120649q54d6f01djf390df3ab489d352@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I already tried that and i was expecting to see back a # but that did
not happen. Anyway i will read more carefully the docs and see if I
find something there.<br>
</blockquote>
<br>
i tested $(rU{s.unescape.user}) just now and works fine. Can you send
here your cfg lines along with the value of r-uri username?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:88b5e74c1001120649q54d6f01djf390df3ab489d352@mail.gmail.com"
 type="cite"><br>
  <br>
Cheers<br>
Alex<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">On Tue, Jan 12, 2010 at 4:41 PM, Alex
Balashov <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Section
19.1.2 ("Character Escaping Requirements") of RFC 3261 says quite
clearly that special characters must be escaped when appearing in SIP
URIs.<br>
    <br>
It's up to the SIP stack to decode them and translate them into
something usable by the caller, if needed. &nbsp;Kamailio doesn't do this
for '#' by default.<br>
    <br>
If you want to decode escaped characters, try use the transformations
that are designed for that, i.e. {s.unescape.user}. &nbsp;Example:<br>
    <br>
&nbsp; $(rU{s.unescape.user})
    <div>
    <div class="h5"><br>
    <br>
On 01/12/2010 09:29 AM, alex pappas wrote:<br>
    <br>
    </div>
    </div>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div>
      <div class="h5">Dear Friends,<br>
      <br>
Do you have any idea on how to remove from $rU the %23 when is send in<br>
to my network?<br>
The scenario is: The customer will send (prefix # number). This is<br>
translated in sip in (prefix %23 number). I need to remove this in order<br>
to check against PDT module.<br>
      <br>
Thanks<br>
Alex<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      </div>
      </div>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
      <a moz-do-not-send="true" href="mailto:Users@lists.kamailio.org"
 target="_blank">Users@lists.kamailio.org</a><br>
      <a moz-do-not-send="true"
 href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
      <a moz-do-not-send="true"
 href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
    </blockquote>
    <br>
    <br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems<br>
Web &nbsp; &nbsp; : <a moz-do-not-send="true" href="http://www.evaristesys.com/"
 target="_blank">http://www.evaristesys.com/</a><br>
Tel &nbsp; &nbsp; : (+1) (678) 954-0670<br>
Direct &nbsp;: (+1) (678) 954-0671<br>
    <br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
    <a moz-do-not-send="true" href="mailto:Users@lists.kamailio.org"
 target="_blank">Users@lists.kamailio.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
    <a moz-do-not-send="true"
 href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>