Sorry, if i could not explain it well before. I hope below picture will make it clear.is it some configuration issue?BTW what is the best way to call multiple async functions in kamailio.Any suggestion is much appreciated.Best Regards,Aqs Younas_______________________________________________On Wed, 11 Jul 2018 at 12:39, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,
On 10.07.18 22:08, Aqs Younas wrote:
Greeting list,
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.
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.
what the above statement means? Kamailio forwarded the invite to callee, got 200ok, but sends back the 200 response?
Cheers,
Daniel
2018/07/10 19:47:41.125893 172.31.21.87:5060 -> 39.38.156.111:59969SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM )Via: SIP/2.0/UDP 39.38.156.111:59969;branch=z9hG4bK-524287-1---91c6114330fe6293;rport=59969To: <sip:923335550609@sip.talkhomeappcall.com;transport=UDP>;tag=9fe2d4c84d97a4af81aa65ca8fc51b3d-62cbFrom: <sip:923135082344@sip.talkhomeappcall.com;transport=UDP>;tag=d72eaf4cCall-ID: VkAwxpSgkKSGn5dXaXgn5A..CSeq: 2 INVITEContent-Length: 0
root@sip:~# kamailio -Vversion: kamailio 5.1.3 (x86_64/linux)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_RESADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MBpoll method support: poll, epoll_lt, epoll_et, sigio_rt, select.id: unknowncompiled on 08:06:26 May 2 2018 with gcc 4.9.2
Could someone please help me out how to fix this. Cancels are handles automatically so, i cannot hardcore anything to resolve it.
Best Regards,
Aqs Younas
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference -- www.kamailioworld.com
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users