<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Răzvan,<br><br>I got the revised rtpproxy.c from http://opensips.svn.sourceforge.net/viewvc/opensips?view=revision&amp;revision=8616. <br><br>The functions are working fine now.<br><br>Thank you very much!<br>Matt<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Sun, 22 Jan 2012 20:01:34 +0200<br>From: razvancrainea@opensips.org<br>To: users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] can't force rtpproxy use a new IP in SDP<br><br>
  
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
    
  
  
    Hi, Matt!<br>
    <br>
    The fix was only reported by Ovidiu and I was the one that fixed it
    in OpenSIPS's revision 8616 on trunk and 8639 on 1.7.1. This doesn't
    have anything to do with Kamailio. Can you please check if you have
    these changes? Because otherwise I don't think it will work.<br>
    <br>
    Regards,<br>
    Răzvan<br>
    <br>
    On 01/22/2012 07:49 PM, Matt Hamilton wrote:
    <blockquote cite="mid:BAY170-W66353C4120FC7831B9AF6EB3850@phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
      <div dir="ltr">
        Hi Răzvan,<br>
        <br>
        I'm using Opensips 1.7.1. I have seen Ovidiu's changes, but I
        think they are on the Kamailio side. if I'm not mistaken,
        sources are a little different, so I didn't want to mess with it
        (for now).<br>
        <br>
        I don't think there are any changes in Opensips (not in the
        trunk, either). <br>
        <br>
        &gt; Both scenarios you presented can be implemented using the
        rtpproxy module.<br>
        <br>
        Can I still use rtpproxy (without the fix) to get the first
        scenario going? Second one is all set.<br>
        <br>
        Thanks a lot,<br>
        Matt<br>
        <br>
        <br>
        <div>
          <hr id="ecxstopSpelling">Date: Sun, 22 Jan 2012 19:25:04 +0200<br>
          From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:razvancrainea@opensips.org">razvancrainea@opensips.org</a><br>
          To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
          Subject: Re: [OpenSIPS-Users] can't force rtpproxy use a new
          IP in SDP<br>
          <br>
          
          
          Hi, Matt!<br>
          <br>
          What version of OpenSIPS are you using? There was a bug
          reported by Ovidiu and fixed in revision 8639.<br>
          Both scenarios you presented can be implemented using the
          rtpproxy module.<br>
          <br>
          Regards,<br>
          Răzvan <br>
          <br>
          On 01/22/2012 07:15 PM, Matt Hamilton wrote:
          <blockquote cite="mid:BAY170-W8749DCD9353F6A5BAE0F33B3850@phx.gbl">
            <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
            <div dir="ltr"> <font style="" face="Courier New">Hi,</font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">I can't seem to
                force a new IP to change the connection in SDP; e.g.,</font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">rtpproxy_offer("c",

                "1.2.3.4"); </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">IP address I
                enter is always ignored. Any thoughts how I can resolve
                this?</font><font style="" face="Courier New"><br>
                <br>
                <br>
                Here is my setup:<br>
              </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">private &nbsp; NAT &nbsp; &nbsp;
                &nbsp; public &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAT &nbsp; &nbsp;&nbsp; private &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">phones
                ----|------ internet ------------|---
                opensips/rtpproxy-----asterisk cluster</font><br>
              <br>
              <br>
              I would like to force rtpproxy use the NATted public ip
              instead of the private ip of the opensips server when
              sending messages to UACs. advertised_address doesn't help
              btw.<br>
              <br>
              <br>
              I was able to get the following going using the bridge
              mode. Can bridge mode be somehow used for the above?<br>
              <br>
              <br>
              <font style="" face="Courier New">private &nbsp; NAT &nbsp; &nbsp; &nbsp;
                public &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAT&nbsp;&nbsp;&nbsp; private
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><font style="" face="Courier New"><br>
              </font><font style="" face="Courier New">phones
                ----|------ internet ------
                opensips/rtpproxy------|---asterisk cluster</font><br>
              <br>
              <br>
              <br>
              Thanks,<br>
              Matt<br>
              <br>
              <br>
              <br>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <br>
          _______________________________________________
          Users mailing list
          <a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
          <a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  

<br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div>                                               </div></body>
</html>