<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi, <br>
      <br>
      Could you post a ladder diagram showing what is the problem you
      have with the 2 contacts? For me it is not clear from your initial
      description.<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 10/12/23 2:43 PM, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALf-Q44VuqJgNmOoEraUT33wmcGaPUu4Dr=6tudUtfFSTntrqA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Is there any update on this ? How can I make sure
        each time every contact will get tried ?
        <div><br clear="all">
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr"><b><i>Thanks & Regards</i></b>
                    <div><i>Sasmita Panda</i></div>
                    <div><i>Senior Network Testing and Software Engineer</i></div>
                    <div><i>3CLogic , ph:07827611765</i></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Oct 10, 2023 at
          11:37 AM Sasmita Panda <<a href="mailto:spanda@3clogic.com"
            moz-do-not-send="true">spanda@3clogic.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">In this case I am using the registrar module . 
            <div><br>
            </div>
            <div><br clear="all">
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div dir="ltr">
                    <div>
                      <div dir="ltr"><b><i>Thanks & Regards</i></b>
                        <div><i>Sasmita Panda</i></div>
                        <div><i>Senior Network Testing and Software
                            Engineer</i></div>
                        <div><i>3CLogic , ph:07827611765</i></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Mon, Oct 9, 2023 at
              7:40 PM Ben Newlin <<a
                href="mailto:Ben.Newlin@genesys.com" target="_blank"
                moz-do-not-send="true">Ben.Newlin@genesys.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div>
                <div lang="EN-US">
                  <div>
                    <p class="MsoNormal"><span style="font-size:11pt">Sasmita,</span></p>
                    <p class="MsoNormal"><span style="font-size:11pt"> </span></p>
                    <p class="MsoNormal"><span style="font-size:11pt">I
                        think the relevant piece here is not the call to
                        “serialize_branches”, but how the branches are
                        being created to begin with. Are you using
                        drouting, dispatcher, registrar, etc? It seems
                        like what is happening is that whatever
                        mechanism you are using to track the contacts is
                        considering the 486 response to mean that URI
                        should not be tried again and it is removed from
                        routing. This behavior is likely configurable in
                        that module.</span></p>
                    <p class="MsoNormal"><span style="font-size:11pt"> </span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11pt;color:black">Ben Newlin</span><span
                        style="font-size:11pt"></span></p>
                    <p class="MsoNormal"><span style="font-size:11pt"> </span></p>
                    <div
id="m_1148367533680058932m_2191562533924531538mail-editor-reference-message-container">
                      <div>
                        <div
style="border-right:none;border-bottom:none;border-left:none;border-top:1pt
                          solid rgb(181,196,223);padding:3pt 0in 0in">
                          <p class="MsoNormal"
                            style="margin-bottom:12pt"><b><span
                                style="font-size:12pt;color:black">From:
                              </span></b><span
                              style="font-size:12pt;color:black">Users
                              <<a
                                href="mailto:users-bounces@lists.opensips.org"
                                target="_blank" moz-do-not-send="true">users-bounces@lists.opensips.org</a>>
                              on behalf of Sasmita Panda <<a
                                href="mailto:spanda@3clogic.com"
                                target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>><br>
                              <b>Date: </b>Monday, October 9, 2023 at
                              8:47 AM<br>
                              <b>To: </b>OpenSIPS users mailling list
                              <<a
                                href="mailto:users@lists.opensips.org"
                                target="_blank" moz-do-not-send="true">users@lists.opensips.org</a>><br>
                              <b>Subject: </b>[OpenSIPS-Users] Need to
                              understand the seral forking logic of
                              opensips .</span></p>
                        </div>
                        <div>
                          <div>
                            <div>
                              <table
                                style="border-collapse:collapse;border:none"
                                cellspacing="0" cellpadding="0"
                                border="1">
                                <tbody>
                                  <tr>
                                    <td style="border:1pt solid
                                      rgb(182,0,0);background:white;padding:0.75pt">
                                      <p class="MsoNormal"><b><span
                                            style="font-size:12pt;color:rgb(182,0,0)"> EXTERNAL
                                            EMAIL - Please use caution
                                            with links and attachments </span></b></p>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </div>
                            <p class="MsoNormal"><span
                                style="font-size:9pt;font-family:Helvetica;color:black"> </span></p>
                            <div class="MsoNormal"
                              style="text-align:center" align="center"><span
                                style="font-size:11pt">
                                <hr width="100%" size="0" align="center">
                              </span></div>
                          </div>
                          <p class="MsoNormal"><span
                              style="font-size:11pt">Hi , </span></p>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">I know this is a
                                very basic question . Still I need some
                                clarification . </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">I have 2 contact
                                for same number , When I place a call
                                Openips give that to 1st if 1st contact
                                reject the call with 486 busy , then
                                opensips try the same call to the 2nd
                                contact without rejecting the call .</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">In the next call
                                for same number , opensips tries to 2nd
                                contact if that rejects the call with
                                486 it wont try to the 1st contact again
                                . Why is this happening ? </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">route{</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">                 
                                      if (!serialize_branches(1)){<br>
                                                               
                                sl_send_reply("500","Unable to load
                                contacts");<br>
                                                                exit;<br>
                                                        }else{<br>
                                                                if
                                (next_branches()){<br>
                                                                       
                                t_on_failure("1");<br>
                                                                }<br>
                                                        }</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">}</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">failure_route[1]
                                {<br>
                                <br>
                                   if (
                                t_check_status("404|477|480|481|408|486|50[234]")){<br>
                                         if (next_branches())<br>
                                         {<br>
                                                t_on_failure("1");<br>
                                                route(1);<br>
                                         }<br>
                                <br>
                                    }<br>
                                }</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">This is in my
                                config file . i have gone through the
                                doc 
                                <a
href="https://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc44"
                                  target="_blank" moz-do-not-send="true">
https://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc44</a></span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">but not able to
                                understand properly . </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"> </span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt">How can I print
                                the internally stored branches on avp ?</span></p>
                          </div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:11pt"><br clear="all">
                              </span></p>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"><b><i><span
                                              style="font-size:11pt">Thanks
                                              & Regards</span></i></b><span
                                          style="font-size:11pt"></span></p>
                                      <div>
                                        <p class="MsoNormal"><i><span
                                              style="font-size:11pt">Sasmita
                                              Panda</span></i><span
                                            style="font-size:11pt"></span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"><i><span
                                              style="font-size:11pt">Senior
                                              Network Testing and
                                              Software Engineer</span></i><span
                                            style="font-size:11pt"></span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"><i><span
                                              style="font-size:11pt">3CLogic
                                              , ph:07827611765</span></i><span
                                            style="font-size:11pt"></span></p>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                _______________________________________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opensips.org"
                  target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
                <a
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>