<div dir="ltr">Hi Jean,<div>Can you further explain your question, the steps you mentioend are already handled by kamailio's module rtpproxy. Now, you mentioned change the SDP in kamailio before rtpproxy function is called....I wonder how the device would feel about it. </div><div>For example UA sent and INVITE/SDP saying I'm listening on port 54321 ; you modify it to 12345 in kamailio and then call manage_rtpproxy() function. After 200OK RTPproxy will try to send RTPs to 12345 port but nothing may be possibly there ?!</div><div><br></div><div>Kindly explain the whole scenario.</div><div><br></div><div>BR,</div><div>Sammy</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 19, 2015 at 8:28 AM, Jean-Marie Baran <span dir="ltr"><<a href="mailto:jean-marie.baran@ama.bzh" target="_blank">jean-marie.baran@ama.bzh</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    Is there a way to change the ports were RTPproxy sends outgoing
    packets ? By rewriting the SDP before it gets to RTPproxy, or
    anything else ?<br>
    <br>
    1 - Kamailio receives the SDP<br>
    2 - It somehow transmits the contact information to RTPproxy (ip +
    ports)<br>
    3 - The client start sending packets to RTPproxy which in turn
    relays them to the contact<br>
    <br>
    How to change the ports in step 2 ?<br>
    <br>
    Sincerely,<span class="HOEnZb"><font color="#888888"><br>
    <div>-- <br>
      
      
      <b>Jean-Marie Baran</b></div>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>