For the record, I used app_python and httplib to get timeout value in
milliseconds (http_query modules only supports seconds) and works fine.
Thanks to all people !
2013/11/19 Klaus Darilion
>
>
> On 18.11.2013 15:45, Alex Balashov wrote:
>
>>
>> http://kamailio.org/docs/modules/4.1.x/modules/
On 18.11.2013 15:45, Alex Balashov wrote:
http://kamailio.org/docs/modules/4.1.x/modules/tmx.html#idp15326008
Does it only suspend the transaction, but not the script processing?
Is there somewhere a more complete example how to do some async stuff
meanwhile and then resume the transaction
On 18 Nov 2013, at 15:45, Alex Balashov wrote:
> Hi Victor,
>
> Pretty much all HTTP calls, no matter how you architect them, block Kamailio
> SIP worker threads. There is a low practical limit to the number of of SIP
> worker threads you can have, so this can lead to SIP messages being drop
Hello,
2013/11/18 Victor Torre Antunez
> Hi all,
>
> I´m using EXEC Module to execute a HTTP request via curl, to comunicate
> with another app like this:
>
> exec_avp("curl --connect-timeout 1 --max-time 2
> http://IP_ADDR:PORT/PATH/'$fU'/'$tU'/'$hdr(Call-ID)'",
> "$avp(s:output)");
>
>
Hi Alex,
I don't mind blocks SIP execution script, but I need to block only certain
seconds. I´m going to test http_query() function and let you know.
Thanks for the aclaration !
2013/11/18 Alex Balashov
> Hi Victor,
>
> Pretty much all HTTP calls, no matter how you architect them, block
> Ka
Hi Victor,
Pretty much all HTTP calls, no matter how you architect them, block
Kamailio SIP worker threads. There is a low practical limit to the
number of of SIP worker threads you can have, so this can lead to SIP
messages being dropped and sluggish response time very quickly.
The exec_av
Hi all,
I´m using EXEC Module to execute a HTTP request via curl, to comunicate
with another app like this:
exec_avp("curl --connect-timeout 1 --max-time 2
http://IP_ADDR:PORT/PATH/'$fU'/'$tU'/'$hdr(Call-ID)'",
"$avp(s:output)");
Sometimes Kamailio blocks when HTTP server does not response i