<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    for curiosity I did a test with r-uri (from the first email):<br>
    <pre wrap=""><a class="moz-txt-link-freetext" href="sip:annc@cl1.oms.ser.v0.pftest.net;play=http://1xx.1xx.1xx.1xx:8080/errfile/err.wav;repeat=forever">sip:annc@cl1.oms.ser.v0.pftest.net;play=http://1xx.1xx.1xx.1xx:8080/errfile/err.wav;repeat=forever</a>

and one with r-uri (as suggested by Andreas):

<a class="moz-txt-link-freetext" href="sip:annc@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever">sip:annc@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever</a>

In both cases the whole value was printed by $ru (in an xlog(...) function).
</pre>
    Can you add in config a line like:<br>
    <br>
    &nbsp;&nbsp;&nbsp; xlog("r-uri is [$ru]\n");<br>
    <br>
    and what the output? Eventually, you can set debug=3 inc config and
    send all log messages for processing a request with such uri.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/4/12 7:02 PM, Andreas Granig
      wrote:<br>
    </div>
    <blockquote cite="mid:4FCCEA40.3010702@sipwise.com" type="cite">
      <pre wrap="">Hi Patrice,

There are couple of characters in the URI which need to be escaped
properly. A correct R-URI would look like this:

<a class="moz-txt-link-freetext" href="sip:annc@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever">sip:annc@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever</a>

There are string transformations "{s.escape.param}" and
"{s.unescape.param}" you can use (in case you get the full URI into your
config script, not sure whether the parser bails out first).

Andreas

On 06/04/2012 06:35 PM, <a class="moz-txt-link-abbreviated" href="mailto:patrice.bodeven@orange.com">patrice.bodeven@orange.com</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

 

I&#8217;am working on Kamailio version 3.2.2.

I&#8217;m doing some test in interaction with Application server and media
server.

The applicationServer sends a INVITE sip to Media Server via the Kamailio.

The R-URI has the format

<a class="moz-txt-link-freetext" href="sip:annc@cl1.oms.ser.v0.pftest.net;play=http://1xx.1xx.1xx.1xx:8080/errfile/err.wav;repeat=forever">sip:annc@cl1.oms.ser.v0.pftest.net;play=http://1xx.1xx.1xx.1xx:8080/errfile/err.wav;repeat=forever</a>

But the parsing done by Kamailio of $ru is trunked to

<a class="moz-txt-link-freetext" href="sip:annc@cl1.oms.ser.v0.pftest.net;play=http">sip:annc@cl1.oms.ser.v0.pftest.net;play=http</a>

 

1)      Could you confirm if Kamailio supports Netann protocol ?

2)      If not, how to route the INVITE with the correct R-URI format ?

 

Thanks in advance.

 

PatriceB

 

 

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-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>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
    <br>
    <br>
  </body>
</html>