<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hello Ravindra,<br>
      <br>
      Are you changing the interface (from IPv6 to IPv4) before sending
      the call to user3 ? <br>
      <br>
      Normally OpenSIPS preserves the incoming interface when comes to
      sending out. So, your opensips may try to reach user3 via the IPv6
      interface (used for receiving the call from user1).<br>
      <br>
      see the force_send_socket() function for selecting the outbound
      interface:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc16">http://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc16</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>
    <div class="moz-cite-prefix">On 09/13/2017 04:31 PM, Ravindrakumar
      Bhatt wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN0RySqZ5CPAFnt2S7mUp2A0f22hb13Bg1r6zJTWrHUbwWjMEg@mail.gmail.com">
      <div dir="ltr">
        <div>
          <table class="gmail-cf gmail-gJ" cellpadding="0">
            <tbody>
              <tr class="gmail-acZ gmail-xD">
                <td colspan="3">
                  <table class="gmail-cf gmail-adz" cellpadding="0">
                    <tbody>
                      <tr>
                        <td class="gmail-ady">
                          <div class="gmail-ajy" tabindex="0"><img
                              class="gmail-ajz" id="gmail-:16h"
                              src="https://mail.google.com/mail/u/0/images/cleardot.gif"
                              alt="" moz-do-not-send="true"></div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
          Hello,</div>
        <div><br>
        </div>
        <div id="gmail-:10k" class="gmail-ii gmail-gt gmail-adP
          gmail-adO">
          <div id="gmail-:14h" class="gmail-a3s gmail-aXjCH
            gmail-m15e7b6abb375b261">
            <div dir="ltr">
              <div>
                <div>I apologize for earlier half mail done by mistake .
                  I am using opensips 2.2.3 within centos7.<br>
                  <br>
                </div>
                Opensips is listening on IPv4 and ipv6 sockets.I am
                getting below shown error when i try call forwarding.<br>
                <br>
              </div>
              <div>Scenario is :</div>
              <div><br>
              </div>
              <div>user1(IPv6) -> user2(IPv6) ->call forward to
                user3(IPv4)<br>
              </div>
              <div><br>
                <div>Sep 13 13:18:45 host60-190-60-195
                  /usr/local/sbin/opensips[<wbr>134236]:
                  ERROR:core:proto_udp_send: sendto(sock,0x7f1da1c8a940,<wbr>2300,0,0x7f1da1ca9698,16):
                  Network is unreachable(101)<br>
                  Sep 13 13:18:45 host60-190-60-195
                  /usr/local/sbin/opensips[<wbr>134236]:
                  ERROR:tm:msg_send: send() for proto 1 failed<br>
                  Sep 13 13:18:45 host60-190-60-195
                  /usr/local/sbin/opensips[<wbr>134236]:
                  ERROR:tm:t_forward_nonack: sending request failed<br>
                  Sep 13 13:18:45 host60-190-60-195
                  /usr/local/sbin/opensips[<wbr>134234]: This is
                  handle_nat reply route: 477</div>
                <div><br>
                </div>
                <div>please note i am getting this error in only this
                  scenario in other cases its working fine.so what is
                  the reason behind this and how does bridging between
                  ipv4 and ipv6 works?<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>