<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Everyone,</div><div>I changed dispatcher algorithm  from 0 to 1 and start working as expected. Yes group 0 is accepted.</div><div><br data-mce-bogus="1"></div><div>route[DISPATCHER] {<br> if(!ds_select_dst("0", "1")) {<br> xlog("L_ERROR","ERROR: Proxy Mapping - Desitnation for $fd not found...request dropped \n");<br> sl_send_reply("404","Desitination Not Found \n");<br> drop();<br> } else {<br> $var(did) = 1;<br> }<br> if($var(did)) {<br> if (!t_relay()) {<br> sl_reply_error();<br> }<br> #forward();<br> }<br><br> t_on_failure("DISPATCHER_FAIL_ROUTE");<br> exit;<br>}<br><br></div><div>Slava.</div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Daniel-Constantin Mierla" <miconda@gmail.com><br><b>To: </b>"sr-users" <sr-users@lists.sip-router.org><br><b>Sent: </b>Wednesday, 9 November, 2016 04:33:33<br><b>Subject: </b>Re: [SR-Users] BYE dispatcher<br></div><br><div data-marker="__QUOTED_TEXT__"><p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 08/11/16 20:42, Slava Bendersky
      wrote:<br>
    </div>
    <blockquote cite="mid:981933097.5086863.1478634156825.JavaMail.zimbra@skillsearch.ca">
      <div style="font-family: lucida console,sans-serif; font-size:
        12pt; color: #000000">
        <div>Hello Everyone,</div>
        <div>My setup is kamailio as proxy  with few boxes of freeswitch
          in the LAN. Having issue with BYE when extensions register on
          different freeswitch boxes. Here are some trace of the call. </div>
        <div>Not sure if this tag= miss match or routing.</div>
        <div><br>
        </div>
        <div>Dispatcher use group 0 with option 4 (round robin).</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    is group value 0 accepted? I think this may create problems if a
    function returns the group in the config as return code -- iirc,
    this was changed maybe for lcr or permissions.<br>
    <br>
    On the other hand, the registrations are quite independent in SIP in
    relation with calls. The BYE should be routed based on
    record-routing to the freeswitch that was involved in routing
    initial INVITE, with no relation to new registrations from end
    devices. Is the BYE sent to the freeswitch that got the initial BYE.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  

<br>_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>sr-users@lists.sip-router.org<br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></div></div></body></html>