[SR-Users] Catching internally generated BYE event & other

2010-04-18 Thread Alex Balashov
Hello, I am using the dialog module to time out excessively long calls: modparam("dialog", "default_timeout", 21600) # 6 hours modparam("dialog", "dlg_flag", 2) ... route { ... ... setflag(2); $dlg_ctx(timeout_bye) = 2; ... ... if(!t_relay())

Re: [SR-Users] SQLOps question

2010-04-18 Thread Maciej Bylica
Hi Alex, > As far as I know, sqlops results are freed at the end of invocation of > script processing of a given message, be that a request or a reply. They do > not persist for the life of the transaction, and therefore cannot be reused > in failure_route. Yes you are right. So it is not by my m

Re: [SR-Users] SQLOps question

2010-04-18 Thread Alex Balashov
On 04/18/2010 01:21 PM, Maciej Bylica wrote: Hello, I am trying to use SQLOps Module in my kamailio 1.5 configuration. According to your explanations every result of sql_query should be freed just after using that data. So it means that there will be better to fetch for THE SAME data three time

[SR-Users] SQLOps question

2010-04-18 Thread Maciej Bylica
Hello, I am trying to use SQLOps Module in my kamailio 1.5 configuration. According to your explanations every result of sql_query should be freed just after using that data. So it means that there will be better to fetch for THE SAME data three times instead of just one. Am I right? But neverth