<div dir="ltr">Thank you, Bogdan.<div>I'm using message_flow_id uri already. That would be good if it was documented as a limitation.</div><div>Regards,</div><div>Ivan</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">15 aug 2022 г. в 17:16, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>:<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>
    <font face="monospace">Hi Ivan,<br>
      <br>
      I did some more digging into this and I managed to reproduce the
      issue and understand it. The REJECT'ion even in B2B is triggered
      only in the sequential bridging's, but not in the original setup
      bridging.<br>
      <br>
      So, what you have to do it is to set a welcome message for sure in
      the queue - this fixed the issue for me for now. I will check
      further if this can be addressed in any other way, otherwise I
      will document it as a limitation.<br>
      <br>
      Regards,<br>
    </font>
    <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
  <a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
    <div>On 8/9/22 4:55 PM, Bogdan-Andrei Iancu
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      Thanks Ivan,<br>
      <br>
      The relevant log is <br>
      <br>
      DBG:call_center:b2bl_callback_customer:  call (0x7f0a08e95a00) has
      event 4<br>
      <br>
      But the event 4 (B2B leg destroyed) is a wrong one in this case,
      it should have been 2 (B2B leg rejected). It seems the problem is
      in the B2B logic somewhere.<br>
      <br>
      Let me do some digging there.<br>
      <br>
      Regards,<br>
      <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
  <a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
      <div>On 8/9/22 3:04 PM, Ryzhik Ivan wrote:<br>
      </div>
      <blockquote type="cite">
        
        <div dir="ltr">
          <div>Hi,</div>
          <div>thank you for your reply.</div>
          <div><br>
          </div>
          <div>There is no B2B_REJECT_CB in my case. See log below, only
            B2B_DESTROY_CB</div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2022-08-09T11:44:27.788721+00:00
             DBG:call_center:b2bl_callback_customer:  call
            (0x7f0a08e95a00) has event 4,<br>
            2022-08-09T11:44:27.788767+00:00
             DBG:call_center:b2bl_callback_customer: A delete in
            b2blogic, call->state=6, 0x7f0a08e95a00<br>
          </blockquote>
          <div><br>
          </div>
          <div>Negative reply processed in _b2b_handle_reply, but the
            tuple->state is not in B2B_BRIDGING_STATE and
            process_bridge_negreply doesn't called with
            cbf(&cb_params, B2B_REJECT_CB);.</div>
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2022-08-09T11:44:27.769757+00:00
             <span style="background-color:rgb(0,255,0)">DBG:b2b_logic:_b2b_handle_reply:
              Negative reply [486]</span> - delete[0x7f0a08e95b28]<br>
            2022-08-09T11:44:27.769808+00:00
             DBG:b2b_logic:b2b_mark_todel: 0x7f0a08e95b28<br>
          </blockquote>
          <div><br>
          </div>
          <div>P.S. But with message_flow_id uri in db (its do simple
            200/bye on invite) - all works fine , because negative reply
            is in  B2B_BRIDGING_STATE. But this is not a good way.</div>
          <div><br>
          </div>
          <div>Thank you very much.</div>
          <div><br>
          </div>
          <div>log:</div>
          <div><br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[....]<br>
          </blockquote>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">вт, 9 авг. 2022 г. в
              11:36, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>:<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> <font face="monospace">Hi,<br>
                  <br>
                  In such a case, in `b2bl_callback_customer()` you
                  should get a B2B_REJECT_CB event.<br>
                  <br>
                  Could you post here the logs in log_level 4 (debug)
                  for your test call ?<br>
                  <br>
                  Regards,<br>
                </font>
                <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Summit 27-30 Sept 2022, Athens
  <a href="https://www.opensips.org/events/Summit-2022Athens/" target="_blank">https://www.opensips.org/events/Summit-2022Athens/</a></pre>
                <div>On 8/8/22 11:48 AM, Ryzhik Ivan wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">Hi @All.
                    <div>I have a simple flow with 2 agents. When call
                      entering queue by cc_handle_call("600")</div>
                    <div>and the first agent rejects call (busy or
                      decline) - queue also rejects call with same
                      reason and does not proceed to second agent.</div>
                    <div>I looked at sources  - negative
                      replies processed only in B2B_BRIDGING_STATE. But
                      for that time i have B2B_NOTDEF_STATE only.</div>
                    <div>What am I doing wrong? </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div></div>