<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Nick,<br>
    <br>
    try to replace that line with:<br>
        ci.send_sock     = msg-&gt;force_send_socket ?
    msg-&gt;force_send_socket : msg-&gt;rcv.bind_address;<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 03/16/2012 03:03 PM, Nick wrote:
    <blockquote
cite="mid:CAJOe1EO8ASN-MKmrk8KFcvZi9aaHMQjnBGw+t6TaszJTdMJfrg@mail.gmail.com"
      type="cite">
      <div>In my config mhomed=1, but in logic.c everything code like:</div>
      <div><br>
      </div>
      <div>ci.send_sock     = msg-&gt;rcv.bind_address;</div>
      <div><br>
      </div>
      <div>If I understand correctly, only used socket from which
        message received.</div>
      <div><br>
      </div>
      --<br>
      Nick<br>
      <br>
      <br>
      <div class="gmail_quote">2012/3/16 Bogdan-Andrei Iancu <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Hi Nick,<br>
          <br>
          have you tried to enabled the mhomed option ?<br>
                 <a moz-do-not-send="true"
            href="http://www.opensips.org/Resources/DocsCoreFcn17#toc63"
            target="_blank">http://www.opensips.org/Resources/DocsCoreFcn17#toc63</a><br>
          <br>
          Regards,<br>
          Bogdan
          <div class="HOEnZb">
            <div class="h5"><br>
              <br>
              On 03/16/2012 11:23 AM, Nick wrote:<br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                Hello!<br>
                <br>
                I try to make b2bua with two interfaces (external and
                internal) and<br>
                need to bridge calls from internal to external interface
                (and back).<br>
                But when initial INVITE received to internal socket,
                b2b_logic sends<br>
                packet to external address also from internal socket.<br>
                <br>
                I tried force_send_socket before b2b_init_request, it
                has no effect.<br>
                I tried force_send_socket in local_route, it also has no
                effect.<br>
                <br>
                Does anyone have any ideas how to solve this problem?<br>
                <br>
                --<br>
                Nick<br>
              </blockquote>
              <br>
            </div>
          </div>
          <span class="HOEnZb"><font color="#888888">
              -- <br>
              Bogdan-Andrei Iancu<br>
              OpenSIPS Founder and Developer<br>
              <a moz-do-not-send="true"
                href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br>
              <br>
            </font></span></blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <br>
    <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>
  </body>
</html>