<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Sunil,<br>
        <br>
        You can use the sdp.line transformation to get the c line :<br>
            <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Tran-1-11#toc70">http://www.opensips.org/Documentation/Script-Tran-1-11#toc70</a><br>
        <br>
        Form there you can use a regexp to test the IP<br>
            <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Tran-1-11#toc71">http://www.opensips.org/Documentation/Script-Tran-1-11#toc71</a><br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 27.10.2014 08:05, Sunil P wrote:<br>
    </div>
    <blockquote
cite="mid:CAHffFazk_wt1pWccg_c+a5moGQ_gXSRmnXPcOFjKbpUzyQEz6w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><span style="font-family:arial,sans-serif;font-size:13px">Hi
            Bogdan,</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"> 
                      Thanks for your reply.Please let me know if there
            is anyway to</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">know
            whether SDP Connection parameter(c) contains IPV4 or IPV6
            address.</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">Thanks
            and Regards,</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">Sunil</span></div>
        <span style="font-family:arial,sans-serif;font-size:13px">
          <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
            </span></div>
          <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
            </span></div>
          <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
            </span></div>
          Date: Tue, 21 Oct 2014 21:24:29 +0300</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">From:
          Bogdan-Andrei Iancu &lt;</span><a moz-do-not-send="true"
          href="mailto:bogdan@opensips.org"
          style="font-family:arial,sans-serif;font-size:13px">bogdan@opensips.org</a><span
          style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Subject:
          Re: [OpenSIPS-Users] Convert SDP Connection IP</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">To:
          OpenSIPS users mailling list &lt;</span><a
          moz-do-not-send="true" href="mailto:users@lists.opensips.org"
          style="font-family:arial,sans-serif;font-size:13px">users@lists.opensips.org</a><span
          style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Message-ID:
          &lt;</span><a moz-do-not-send="true"
          href="mailto:5446A4DD.1060308@opensips.org"
          style="font-family:arial,sans-serif;font-size:13px">5446A4DD.1060308@opensips.org</a><span
          style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Content-Type:
          text/plain; charset="windows-1252"; Format="flowed"</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Hi
          Sunil,</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">See
          the fix_nated_sdp() function in the nathelper module:</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/1.11.x/nathelper.html#id293864"
          target="_blank"
          style="font-family:arial,sans-serif;font-size:13px">http://www.opensips.org/html/docs/modules/1.11.x/nathelper.html#id293864</a><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Use
          the second parameter to push your own IP address into SDP.</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Regards,</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">Bogdan-Andrei
          Iancu</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">OpenSIPS
          Founder and Developer</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <a moz-do-not-send="true"
          href="http://www.opensips-solutions.com/" target="_blank"
          style="font-family:arial,sans-serif;font-size:13px">http://www.opensips-solutions.com</a><br
          style="font-family:arial,sans-serif;font-size:13px">
        <br style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">On
          21.10.2014 07:59, Sunil P wrote:</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             Hi All,</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             I need to make Opensips AS to act as IBCF, which is going
          to</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             convert the V6 SDP to V4 SDP and Vice Versa.Please suggest
          me in</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             which functions I need to change</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             to convert SDP Connection Parameter.</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             Thanks and Regards,</span><br
          style="font-family:arial,sans-serif;font-size:13px">
        <span style="font-family:arial,sans-serif;font-size:13px">&gt; 
             Sunil</span><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>