<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Have you looked at log messages, any errors?</p>
    <p>If not, then run with debug=3 in kamailio config and send full
      log messages for such call.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11.07.18 19:15, Aqs Younas wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGVOjVWEmYFheRg7Zy7PxdGXGqq9TujGibXvFjc7ywdxmbvBEw@mail.gmail.com">
      <div dir="ltr">Sorry, if i could not explain it well before.  I
        hope below picture will make it clear. 
        <div><br>
        </div>
        <div>
          <div>...<br>
          </div>
          <div><br>
          </div>
          <div>is it some configuration issue? </div>
        </div>
        <div><br>
        </div>
        <div>BTW what is the best way to call multiple async functions
          in kamailio. </div>
        <div><br>
        </div>
        <div>Any suggestion is much appreciated. </div>
        <div><br>
        </div>
        <div>Best Regards, </div>
        <div><br>
        </div>
        <div>Aqs Younas</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Wed, 11 Jul 2018 at 12:39, Daniel-Constantin
          Mierla <<a href="mailto:miconda@gmail.com"
            moz-do-not-send="true">miconda@gmail.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <p>Hello,<br>
            </p>
            <br>
            <div class="m_-4913816925799911269moz-cite-prefix">On
              10.07.18 22:08, Aqs Younas wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Greeting list, 
                <div><br>
                </div>
                <div>I am using two async functions(http_async_query) in
                  configuration one for authentication and other one for
                  push notifications. I am also using tsilio module to
                  suspend the transaction and resumed it.  </div>
                <div><br>
                </div>
                <div>I am resetting this flag 'T_ASYNC_SUSPENDED' before
                  suspending the transaction. Everything is working fine
                  except. When caller send CANCEL on the call, kamailio
                  successfully completes sip flow at callee(B party)
                  side but send back below packet towards caller. <br>
                </div>
              </div>
            </blockquote>
            <br>
            what the above statement means? Kamailio forwarded the
            invite to callee, got 200ok, but sends back the 200
            response?<br>
            <br>
            Cheers,<br>
            Daniel<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div> 
                  <div>
                    <div>2018/07/10 19:47:41.125893 <a
                        href="http://172.31.21.87:5060" target="_blank"
                        moz-do-not-send="true">172.31.21.87:5060</a>
                      -> <a href="http://39.38.156.111:59969"
                        target="_blank" moz-do-not-send="true">39.38.156.111:59969</a></div>
                    <div> <span
style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">SIP/2.0
                        500 I'm terribly sorry, server error occurred
                        (1/TM</span> )</div>
                    <div>Via: SIP/2.0/UDP
39.38.156.111:59969;branch=z9hG4bK-524287-1---91c6114330fe6293;rport=59969</div>
                    <div>To: <<a
                        href="mailto:sip%3A923335550609@sip.talkhomeappcall.com"
                        target="_blank" moz-do-not-send="true">sip:923335550609@sip.talkhomeappcall.com</a>;transport=UDP>;tag=9fe2d4c84d97a4af81aa65ca8fc51b3d-62cb</div>
                    <div>From: <<a
                        href="mailto:sip%3A923135082344@sip.talkhomeappcall.com"
                        target="_blank" moz-do-not-send="true">sip:923135082344@sip.talkhomeappcall.com</a>;transport=UDP>;tag=d72eaf4c</div>
                    <div>Call-ID: VkAwxpSgkKSGn5dXaXgn5A..</div>
                    <div>CSeq: 2 INVITE</div>
                    <div>Content-Length: 0</div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div>root@<a
                        class="m_-4913816925799911269moz-txt-link-freetext"
                        moz-do-not-send="true">sip:~#</a> kamailio -V</div>
                    <div>version: kamailio 5.1.3 (x86_64/linux)</div>
                    <div>flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP,
                      TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
                      SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,
                      TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX,
                      FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
                      USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
                      HAVE_RESOLV_RES</div>
                    <div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                      262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE
                      65535, DEFAULT PKG_SIZE 8MB</div>
                    <div>poll method support: poll, epoll_lt, epoll_et,
                      sigio_rt, select.</div>
                    <div>id: unknown</div>
                    <div>compiled on 08:06:26 May  2 2018 with gcc 4.9.2</div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Could someone please help me out how to fix this.
                    Cancels are handles automatically so, i cannot
                    hardcore anything to resolve it. </div>
                  <div><br>
                  </div>
                  <div>Best Regards, </div>
                  <div><br>
                  </div>
                  <div>Aqs Younas</div>
                  <div><br>
                  </div>
                </div>
              </div>
              <br>
              <fieldset
                class="m_-4913816925799911269mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_-4913816925799911269moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_-4913816925799911269moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
            </blockquote>
            <br>
            <pre class="m_-4913816925799911269moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_-4913816925799911269moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a class="m_-4913816925799911269moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_-4913816925799911269moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_-4913816925799911269moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
          </div>
        </blockquote>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>