<!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">
    Hi Lazlo,<br>
    <br>
    I do not understand - the LB + b2b refer capture shows a call going
    through the B2B and receiving a 503.....there is no REFER stuff
    there at all...<br>
    <br>
    Is there something I mis ?<br>
    <br>
    Regards,<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>
    <br>
    On 04/29/2013 04:09 PM, Laszlo wrote:
    <blockquote
cite="mid:CANhz8u=vLee39tGdXiV2Kd_ubew81Ae6nYxbAQUUYH6uSJo2Gg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi Bogdan,<br>
          <br>
        </div>
        <div>
          <div>with the stock LB config:<br>
            <a moz-do-not-send="true"
              href="http://pastebin.com/Msw6Hk0p">http://pastebin.com/xxxxxxxxxxx</a><br>
            <br>
            with LB + b2b refer<br>
            <a moz-do-not-send="true"
              href="http://pastebin.com/zYb3PxLe">http://pastebin.com/xxxxxxxxxxx</a><br>
            <br>
            <br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/4/29 Bogdan-Andrei Iancu <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bogdan@opensips.org" target="_blank">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;">
            <div bgcolor="#ffffff" text="#000000"> <tt>Hi Lazlo,<br>
                <br>
                Could you post somewhere the SIP capture of the call ?
                Just to be sure I correctly understand your scenario.<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5"> <br>
                  On 04/29/2013 02:38 PM, Laszlo wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>Hello,<br>
                                <br>
                                <br>
                              </div>
                              Just tried to play with the b2b refer
                              scenario with opensips.<br>
                            </div>
                            The config is pretty much the default LB
                            config from <a moz-do-not-send="true"
                              href="http://opensips.org" target="_blank">opensips.org</a>,
                            so nothing sexy in the conf, it works fine
                            without the b2b stuff. LB destinations are
                            reachable through the private ip of the
                            server.<br>
                            <br>
                          </div>
                          if I use the b2b topology hiding scenario, it
                          also work fine.<br>
                        </div>
                        when I use the refer scenario, things goes mad
                        :)<br>
                        <br>
                      </div>
                      Sending this to the caller party (default LB
                      config):<br>
                      <p style="margin-bottom: 0in;">U 2013/04/30
                        02:19:05.920262 opensips_public_ip:5060 -&gt;
                        caller_ip:5060</p>
                      <p style="margin-bottom: 0in;">SIP/2.0 183 Session
                        Progress.</p>
                      <p style="margin-bottom: 0in;">Via: SIP/2.0/UDP
caller_ip:5060;received=caller_ip;branch=z9hG4bK25704719;rport=5060.</p>
                      <p style="margin-bottom: 0in;">Record-Route:
                        <a moz-do-not-send="true">&lt;sip:username@opensips_private_ip;r2=on;lr;ftag=as38e68f66;did=a3c.83df6ae1&gt;</a>.</p>
                      <p style="margin-bottom: 0in;">Record-Route:<a
                          moz-do-not-send="true">&lt;sip:username@opensips_public_ip;r2=on;lr;ftag=as38e68f66;did=a3c.83df6ae1&gt;</a>.</p>
                      <br>
                      <br>
                      <br>
                      <div>
                        <div>
                          <div>
                            <div>New callĀ  with the refer settings
                              applied:<br>
                              <br>
                              U 2013/04/30 02:13:50.130487
                              opensips_public_ip:5060 -&gt;
                              caller_ip:5060<br>
                              SIP/2.0 183 Session Progress.<br>
                              Record-Route: <a moz-do-not-send="true">&lt;sip:6288808754418@;r2=on;lr;ftag=as439eda7d;did=35.b69971a2&gt;</a>.<br>
                              Record-Route:
                              <a moz-do-not-send="true">&lt;sip:6288808754418@opensips_public_ip;r2=on;lr;ftag=as439eda7d;did=35.b69971a2&gt;</a>.<br>
                            </div>
                            <div><br>
                              <br>
                            </div>
                            <div>In the first record-route header, the
                              host part is missing.<br>
                              <br>
                            </div>
                            <div>The relevant lines from the syslog in
                              this case: <br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lumps_len: lumps_len called
                              with null send_sock<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:process_lumps: null
                              bind_address<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              Apr 30 02:13:47 svr2
                              /usr/local/sbin/opensips[30081]:
                              CRITICAL:core:lump_check_opt: null send
                              socket<br>
                              <br>
                              <br>
                            </div>
                            <div>What can cause this?<br>
                            </div>
                            <div>It is a multihomed enviroment with
                              opensips 1.9.<br>
                              # opensips -V<br>
                              version: opensips 1.9.0-notls
                              (x86_64/linux)<br>
                              flags: STATS: Off, USE_IPV6, USE_TCP,
                              DISABLE_NAGLE, USE_MCAST, SHM_MEM,
                              SHM_MMAP, PKG_MALLOC, F_MALLOC,
                              FAST_LOCK-ADAPTIVE_WAIT<br>
                              ADAPTIVE_WAIT_LOOPS=1024,
                              MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
                              16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
                              poll method support: poll, epoll_lt,
                              epoll_et, sigio_rt, select.<br>
                              svnrevision: 2:9980<br>
                              @(#) $Id: main.c 9790 2013-02-15 10:14:34Z
                              bogdan_iancu $<br>
                              main.c compiled on 00:52:55 Apr 30 2013
                              with gcc 4.4.6<br>
                              <br>
                              <br>
                            </div>
                            <div>-Laszlo<br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>