Re: [SR-Users] TSILO - transaction is not suspended

2021-01-11 Thread Jeremy McNamara
I can confirm using $http_req(suspend)=0 before calling http_async_query() resolves our issue - Thank you ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Federico Cabiddu
Hi, the http async callback implicitly resumes the transaction that it's then processed in the routing script callback route. If there is no action in the callback route you'll get the message about the not released transaction. Depending on your routing logic you have two choices: 1) you don't

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Jeremy McNamara
On Thu, Jan 7, 2021 at 2:59 PM Daniel-Constantin Mierla wrote: > Hello, > > have you run with debug=3 in kamailio.cfg? You should see more log > messages about what happens, maybe the transaction is destroyed for some > reason, there are debug messages when that happens. > Upon deep dive today

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Daniel-Constantin Mierla
Hello, have you run with debug=3 in kamailio.cfg? You should see more log messages about what happens, maybe the transaction is destroyed for some reason, there are debug messages when that happens. Cheers, Daniel On 07.01.21 17:58, Jeremy McNamara wrote: > Hi -  > > route[RELAY] { >  if

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Jeremy McNamara
Hi - route[RELAY] { if (!t_relay()) { sl_reply_error(); } } I also call SETUP_ROUTES separately before RELAY: route[SETUP_ROUTES] { # enable additional event routes for forwarded requests if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) { if (!t_is_set("branch_route")) {

Re: [SR-Users] TSILO - transaction is not suspended

2021-01-07 Thread Jurijs Ivolga
Hi, What happens in the route[RELAY]? Maybe code after "route(RELAY)" is not executed? When there is only 1 device what value is inside $var(hstored) when the register hits Kamailio? Jurijs On Wed, Jan 6, 2021 at 4:27 AM Jeremy McNamara wrote: > Hi Folks - I am attempting to set up a

[SR-Users] TSILO - transaction is not suspended

2021-01-05 Thread Jeremy McNamara
Hi Folks - I am attempting to set up a mobile push configuration, by following the published example(s). If we have more than one endpoint registered, this configuration works as expected (via the ts_store() path below). If we do not have another registered endpoint the transaction seems to be