<div dir="ltr">Hey guys, <br><div><br></div><div>I wanted to report back, after replacing the "return(0)" with "return(-1)" as Patrick pointed out my config script now continues as it used to on v5.5.2 with no more issues.</div><div><br></div><div>Thanks for the help!</div><div><br></div><div>Joel.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 16, 2022 at 8:26 AM Patrick Karton <<a href="mailto:patrickarton@hotmail.com" target="_blank">patrickarton@hotmail.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="auto">You should return -1 or any négative number instead of 0 in route ABC if you want the calling block to continue.<div dir="auto"><br></div><div dir="auto">Return 0 will end kamailio script. Its équivalent to exit in 5.6.1 and even 5.5.4 if i remember.</div></div><div class="gmail_extra"><br><div class="gmail_quote">Le 16 sept. 2022 15:48, Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>> a écrit :<br type="attribution"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Daniel, <div><br></div><div>So after a lot of digging, this is my finding so far:</div><div><br></div><div>Chronology:</div><div><br></div><div>current Kamailio v5.5.2 - everything works</div><div>update to Kamailio v5.6.1 - issue begins</div><div>downgrade to Kamailio v5.5.4 - issue continues</div><div><br></div><div>That got me triggered, so I added a lot of debug logs to see where I was getting stuck.</div><div><br></div><div>the last point in the script I get to is something similar to:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>if(route(ABC)) {</div><div>    ... do stuff ...</div><div>}</div></blockquote><div><br></div><div>Having:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>route[ABC] {</div><div>    if(condition) {</div><div>        return(1);</div><div>    } else {</div><div>        return(0);</div><div>    }</div><div>}</div></blockquote><div><br></div><div>Right after doing the route(ABC) the call ends.</div><div><br></div><div>I've done a diff from 5.5.2 to 5.5.4 and I think this commit could be related:</div><div><br></div><div><a href="https://github.com/kamailio/kamailio/commit/b149906e3c0558fd9cb866d39b36f180efaef656" target="_blank">https://github.com/kamailio/kamailio/commit/b149906e3c0558fd9cb866d39b36f180efaef656</a><br></div><div><br></div><div><br></div><div><a href="mailto:miconda@gmail.com" target="_blank">@Daniel-Constantin Mierla</a> any tips? Do I need to rework my config and stop using the logic were a child route can return(1) or return(0) to parent route? I think that when I return(0) effectively the call is ending.</div><div><br></div><div>I don't see kamailio v5.5.2 in the repo any more are they available? I could downgrade to 5.5.2 to confirm this 100%, but I think I'm finally getting to the root cause.</div><div><br></div><div>root@csbc01:~# apt-cache policy kamailio<br>kamailio:<br>  Installed: 5.5.4+bpo10<br>  Candidate: 5.5.4+bpo10<br>  Version table:<br> *** 5.5.4+bpo10 500<br>        500 <a href="http://deb.kamailio.org/kamailio55" target="_blank">http://deb.kamailio.org/kamailio55</a> buster/main amd64 Packages<br>        100 /var/lib/dpkg/status<br>     5.2.1-1 500<br>        500 <a href="http://ftp.us.debian.org/debian" target="_blank">http://ftp.us.debian.org/debian</a> buster/main amd64 Packages<br>root@csbc01:~#<br></div><div><br></div><div><br></div><div><br></div><div>Let me know what you think.</div><div><br></div><div>Thanks, </div><div>Joel.</div><div><br></div><div><br></div></div><br><div><div dir="ltr">On Thu, Sep 15, 2022 at 9:50 AM Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">In sngrep I do see the the INVITEs coming in, I’ll check more on the OS side and see what I can find. </div><div dir="auto"><br></div><div dir="auto">Again, thanks for checking! I’ll follow up with what I find. </div><div><br><div><div dir="ltr">On Thu, Sep 15, 2022 at 09:16 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>if the traffic is over UDP, the Kamailio workers were blocked in
      recvfrom(), meaning that nothing is passed from the network layer
      to them. If you see UDP packets coming to Kamailio via
      ngrep/sngrep/..., then is the OS that drops them via firewall or
      some other app that controls the network traffic.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p></div><div>
    <div>On 15.09.22 07:37, Joel Serrano wrote:<br>
    </div>
    <blockquote>
      
      <div dir="ltr">Hi Daniel, 
        <div><br>
        </div>
        <div>I've tried with apparmor disabled unfortunately the same
          issue happens. </div>
        <div><br>
        </div>
        <div>I've sent you privately the output of the kamctl trap. I
          personally don't think it's Kamailio's fault per se, this is
          on a standard debian 11. I'm just lost and don't really
          understand what the hell is going on.</div>
        <div><br>
        </div>
        <div>Thanks, I appreciate your help with this.</div>
        <div>Joel.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div>
        <div dir="ltr">On Wed, Sep 14, 2022 at 9:50
          AM Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>>
          wrote:<br>
        </div>
        <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Hi Daniel, 
            <div><br>
            </div>
            <div>I've followed your suggestions and compared this "bad"
              server with the two "good" ones.</div>
            <div><br>
            </div>
            <div>- Pike:</div>
            <div><br>
            </div>
            <div>In all cases we have:</div>
            <div><br>
            </div>
            <div>    if (src_ip!=myself && !ds_is_from_list()) {<br>
                      if($sht(ipban=>$si)!=$null) {<br>
                          xlog("L_ALERT","ALERT: blocked by pike R=$ru
              from $fu (IP:$si:$sp)\n");<br>
                          exit;<br>
                      }<br>
                      if (!pike_check_req()) {<br>
                          xlog("L_ALERT","ALERT: pike blocking R=$ru
              from $fu (IP:$si:$sp)\n");<br>
                          $sht(ipban=>$si) = 1;<br>
                          exit;<br>
                      }<br>
                  }<br>
            </div>
            <div><br>
            </div>
            <div>And we are not seeing any logs, therefore I'm
              discarding pike.</div>
            <div><br>
            </div>
            <div>- Firewall:</div>
            <div><br>
            </div>
            <div>I checked all 3 servers, and none of them have -local-
              firewall policies.</div>
            <div><br>
            </div>
            <div>- conntrack:</div>
            <div><br>
            </div>
            <div>All 3 servers have nf_conntrack loaded in kernel.</div>
            <div><br>
            </div>
            <div>- selinux/etc:</div>
            <div><br>
            </div>
            <div>The two good servers have "AppArmor" disabled.</div>
            <div>The bad server has "AppArmor" enabled. !!!!!!!!!!!!!!
              <---------- I'm hoping this could be the cause and I'm
              going to test tonight without it.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div>Thanks for checking this, I was so lost I actually
                went ahead and did "kamctl trap" last night too just in
                case. When I run it, it didn't stop by itself (I stopped
                it with CTRL+C after some time) but it did generate a
                file with a lot of output. Can I send you it privately?
                I'm not sure how to interpret it.</div>
            </div>
            <div><br>
            </div>
            <div>Before anything I'm going to test tonight:</div>
            <div><br>
            </div>
            <div>1- disabling apparmor</div>
            <div>2- unloading nf_conntrack</div>
            <div><br>
            </div>
            <div>I'll report back with the resutls.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <br>
          <div>
            <div dir="ltr">On Wed, Sep 14, 2022 at
              5:27 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
              wrote:<br>
            </div>
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div>
                <p>Hello,</p>
                <p>be sure you do not hit some limits set by Kamailio
                  (e.g., pike) or the system/firewall (e.g., selinux,
                  conntrack).</p>
                <p>You should install gdb and run "kamctl trap" when it
                  stops processing and inspect the written file to see
                  where each kamailio process is in the execution stack.</p>
                <p>Cheers,<br>
                  Daniel<br>
                </p>
                <div>On 14.09.22 10:20, Joel Serrano wrote:<br>
                </div>
                <blockquote>
                  <div dir="ltr">Bumping this! Any comments? Or
                    suggestions on what to check? I'm feeling it has to
                    be something stupid but I can't see it :(
                    <div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                  <br>
                  <div>
                    <div dir="ltr">On Sun, Sep 11,
                      2022 at 12:56 AM Joel Serrano <<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>>
                      wrote:<br>
                    </div>
                    <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                      <div dir="ltr">Hello,
                        <div><br>
                        </div>
                        <div>I have a cluster of 2 kamailios v5.5 on
                          debian 9 working flawlessly.</div>
                        <div><br>
                        </div>
                        <div>We have added a third node, also on v5.5
                          but debian 11. Kamailio doesn't work correctly
                          for some reason that I'm not seeing.</div>
                        <div><br>
                        </div>
                        <div>The symptoms are:</div>
                        <div><br>
                        </div>
                        <div>1- Kamailio receives INVITEs and starts to
                          process them per routing script.</div>
                        <div>2- There is a specific place where
                          something happens and the calls are dropped
                          (Kamailio is not even replying to the source).
                          Note that the config is exactly the same on
                          all 3 servers, only one of the three is having
                          the issue.</div>
                        <div><br>
                        </div>
                        <div>
                          <div>I enabled debug logs and I could see:</div>
                          <div><br>
                          </div>
                          <div>[...]</div>
                          <div>Sep 10 12:30:48 sbc03 sbc[956340]: exec:
                            {1 102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.example.com" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.example.com</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[GET_OUTBOUND_API_DATA]
                            c=[/etc/kamailio/sbc/api.cfg] l=61 a=5
                            n=route<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.example.com" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.example.com</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=211 a=26
                            n=xlog</div>
                          <div>Sep 10 12:30:48 sbc03 sbc[956340]: INFO:
                            {1 102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <script>: Applying local to toll-free
                            rewrite rules on callee number using dpid
                            '20'<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=212 a=63
                            n=assign<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=219 a=16
                            n=if<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=213 a=26
                            n=dp_translate<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dialplan.c:237]: dp_get_ivalue():
                            searching 15<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dialplan.c:245]: dp_get_ivalue():
                            dpid is 20 from pv argument<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dialplan.c:254]: dp_get_svalue():
                            searching 15<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dialplan.c:350]: dp_translate_f():
                            input is 67339924<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:605]:
                            dp_translate_helper(): regex operator
                            testing over [67339924]<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dp_repl.c:676]:
                            dp_translate_helper(): no matching rule<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialplan [dialplan.c:354]: dp_translate_f():
                            could not translate 67339924 with dpid 20<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=217 a=26
                            n=xlog<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: INFO: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <script>: No matching rewrite rules
                            for '67339924' found<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            *** cfgtrace:dbg_cfg_trace():
                            request_route=[APPLY_REWRITE_RULE]
                            c=[/etc/kamailio/sbc/extras.cfg] l=218 a=2
                            n=return<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/receive.c:514]:
                            receive_msg(): request-route executed in:
                            12245 usec<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:785]: dlg_lookup_mode():
                            ref dlg 0x7ff1b4884b48 with 1 -> 2<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:789]: dlg_lookup_mode():
                            dialog id=8614 found on entry 343<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_var.c:63]: dlg_cfg_cb(): new
                            dialog with no transaction after config
                            execution<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:1091]:
                            dlg_unref_helper(): unref op on
                            0x7ff1b4884b48 with 1 from dlg_hash.c:1109<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:1095]:
                            dlg_unref_helper(): unref dlg 0x7ff1b4884b48
                            with 1 -> 1<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:1091]:
                            dlg_unref_helper(): unref op on
                            0x7ff1b4884b48 with 1 from dlg_hash.c:1109<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:1095]:
                            dlg_unref_helper(): unref dlg 0x7ff1b4884b48
                            with 1 -> 0<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:1095]:
                            dlg_unref_helper(): ref <=0 for dialog
                            0x7ff1b4884b48<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:345]: destroy_dlg():
                            destroying dialog 0x7ff1b4884b48 (ref 0)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_hash.c:356]: destroy_dlg():
                            removed timer for dlg 0x7ff1b4884b48
                            [343:8614] with clid '<a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>'
                            and tags 'as5d31c96b' ''<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_db_handler.c:708]:
                            remove_dialog_from_db(): trying to remove
                            dialog [<a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>],
                            update_flag is 1024<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [db_query.c:72]:
                            db_do_submit_query(): submitted query:
                            delete from `dialog` where `hash_entry`=343
                            AND `hash_id`=8614, result 0<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [db_query.c:72]:
                            db_do_submit_query(): submitted query:
                            delete from `dialog_vars` where
                            `hash_entry`=343 AND `hash_id`=8614, result
                            0<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            dialog [dlg_db_handler.c:736]:
                            remove_dialog_from_db(): callid was <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a><br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list
                            0x7ff1b4880370<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/usr_avp.c:637]:
                            destroy_avp_list(): destroying list (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/xavp.c:541]:
                            xavp_destroy_list(): destroying xavp list
                            (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/xavp.c:541]:
                            xavp_destroy_list(): destroying xavp list
                            (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/xavp.c:541]:
                            xavp_destroy_list(): destroying xavp list
                            (nil)<br>
                            Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                            102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                            <core> [core/receive.c:606]:
                            receive_msg(): cleaning up<br>
                          </div>
                        </div>
                        <div><br>
                        </div>
                        <div>If I go to line 61 from route
                          GET_OUTBOUND_API_DATA, I have this:</div>
                        <div><br>
                        </div>
                        <div>    if(route(APPLY_REWRITE_RULE)) {<br>
                                  $rU = $var(dp_user);<br>
                                  $avp(icx_real_number) = $var(dp_user);<br>
                              }<br>
                        </div>
                        <div><br>
                        </div>
                        <div>The very next thing is:</div>
                        <div><br>
                        </div>
                        <div>    # Query API<br>
                              $avp(apiUrl) = "{{ call_api_url
                          }}/outbound/" + $avp(icx_src_number) + "/" +
                          $avp(icx_real_number);<br>
                              http_client_query("$avp(apiUrl)",
                          "$avp(apiResponseBody)");<br>
                              $avp(apiResponseCode) = $rc;<br>
                        </div>
                        <div><br>
                        </div>
                        <div>I see the GET_OUTBOUND_API_DATA route
                          calling APPLY_REWRITE_RULE, and
                          APPLY_REWRITE_RULE returning correctly then
                          finished:</div>
                        <div><br>
                        </div>
                        <div>Sep 10 12:30:48 sbc03 sbc[956340]: exec: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          *** cfgtrace:dbg_cfg_trace():
                          request_route=[APPLY_REWRITE_RULE]
                          c=[/etc/kamailio/sbc/extras.cfg] l=218 a=2
                          n=return<br>
                        </div>
                        <div><br>
                        </div>
                        <div>But then Kamailio is apparently just
                          tearing down the call and ending it.<br>
                        </div>
                        <div><br>
                        </div>
                        <div>Can someone help me understand what this
                          part of the logs means or what can be causing
                          them?</div>
                        <div><br>
                        </div>
                        <div>Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG:
                          {1 102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/receive.c:514]:
                          receive_msg(): request-route executed in:
                          12245 usec</div>
                        <div>Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG:
                          {1 102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:785]: dlg_lookup_mode():
                          ref dlg 0x7ff1b4884b48 with 1 -> 2<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:789]: dlg_lookup_mode():
                          dialog id=8614 found on entry 343<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_var.c:63]: dlg_cfg_cb(): new
                          dialog with no transaction after config
                          execution<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:1091]: dlg_unref_helper():
                          unref op on 0x7ff1b4884b48 with 1 from
                          dlg_hash.c:1109<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:1095]: dlg_unref_helper():
                          unref dlg 0x7ff1b4884b48 with 1 -> 1<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:1091]: dlg_unref_helper():
                          unref op on 0x7ff1b4884b48 with 1 from
                          dlg_hash.c:1109<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:1095]: dlg_unref_helper():
                          unref dlg 0x7ff1b4884b48 with 1 -> 0<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:1095]: dlg_unref_helper():
                          ref <=0 for dialog 0x7ff1b4884b48<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:345]: destroy_dlg():
                          destroying dialog 0x7ff1b4884b48 (ref 0)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_hash.c:356]: destroy_dlg():
                          removed timer for dlg 0x7ff1b4884b48
                          [343:8614] with clid '<a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>'
                          and tags 'as5d31c96b' ''<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_db_handler.c:708]:
                          remove_dialog_from_db(): trying to remove
                          dialog [<a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>],
                          update_flag is 1024<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [db_query.c:72]:
                          db_do_submit_query(): submitted query: delete
                          from `dialog` where `hash_entry`=343 AND
                          `hash_id`=8614, result 0<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [db_query.c:72]:
                          db_do_submit_query(): submitted query: delete
                          from `dialog_vars` where `hash_entry`=343 AND
                          `hash_id`=8614, result 0<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          dialog [dlg_db_handler.c:736]:
                          remove_dialog_from_db(): callid was <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a><br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list
                          0x7ff1b4880370<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/usr_avp.c:637]:
                          destroy_avp_list(): destroying list (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/xavp.c:541]:
                          xavp_destroy_list(): destroying xavp list
                          (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/xavp.c:541]:
                          xavp_destroy_list(): destroying xavp list
                          (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/xavp.c:541]:
                          xavp_destroy_list(): destroying xavp list
                          (nil)<br>
                          Sep 10 12:30:48 sbc03 sbc[956340]: DEBUG: {1
                          102 INVITE <a href="mailto:5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa" target="_blank">5111a7c71ec485e443099844491ef7d8@sip02.vozelia.com.pa</a>}
                          <core> [core/receive.c:606]:
                          receive_msg(): cleaning up<br>
                        </div>
                        <div><br>
                        </div>
                        <div>I can see it's related to the dialogs, but
                          is this a cause or a consequence? I have
                          checked the API access logs, and Kamailio
                          doesn't get to send the request, I've also
                          noticed that normally Kamailio replies with a
                          100-Trying almost instantly, in the case of
                          this server I don't see a single 100-Trying
                          from Kamailio.</div>
                        <div><br>
                        </div>
                        <div>I'm pretty lost here so any tips are more
                          than welcome.</div>
                        <div><br>
                        </div>
                        <div>NOTE: I tried with debian11 + Kamailio 5.6
                          and the same issue happens too.</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Thanks, </div>
                        <div>Joel.</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </blockquote>
                <pre>-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre>-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div></div>
</blockquote></div>
</blockquote></div><br></div>__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>