Hi Daniel,<br><br>I was testing the $rU like:<br><br>$(rU{s.unescape.user}); with $rU=1000<b>%23</b>210XXXXXXX and i was trying to get back the  1000<b>#</b>210XXXXXXX.<br><br>Thanks<br>Alex<br><br><br><br><br><br><div class="gmail_quote">
On Fri, Jan 15, 2010 at 3:31 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.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;">



  

<div bgcolor="#ffffff" text="#000000">
Hello,<div class="im"><br>
<br>
On 1/12/10 3:49 PM, alex pappas wrote:
<blockquote 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></div>
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<div><div></div><div class="h5"><br>
<br>
<blockquote 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 href="mailto:abalashov@evaristesys.com" target="_blank">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 (&quot;Character Escaping Requirements&quot;) of RFC 3261 says quite
clearly that special characters must be escaped when appearing in SIP
URIs.<br>
    <br>
It&#39;s up to the SIP stack to decode them and translate them into
something usable by the caller, if needed.  Kamailio doesn&#39;t do this
for &#39;#&#39; 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}.  Example:<br>
    <br>
  $(rU{s.unescape.user})
    <div>
    <div><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>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 href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
      <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
      <a 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     : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel     : (+1) (678) 954-0670<br>
Direct  : (+1) (678) 954-0671<br>
    <br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
    <a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
    <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
    <a 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><fieldset></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
</div></div><pre cols="72">-- 
Daniel-Constantin Mierla
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
</pre>
</div>

</blockquote></div><br>