Re: [SR-Users] How to delay messages when msilo messages are dumped

2017-07-10 Thread Daniel-Constantin Mierla
Hello, you could try to send the messages back to kamailio via outbound proxy option, then add some delay via script operations. Be careful not to block the sip worker processes, therefore look at the asynchronous routing options. Of course, patching the module and writing a bit of c code can be

Re: [SR-Users] TR: Failure Mode

2017-07-10 Thread Daniel-Constantin Mierla
Hello, looking at the trace, the routing is parallel forking, because the two branches are sent out at the same time, it is no final response to the first branch before the second is sent out. Are you sure you sent out the second branch from failure route? From the sip trace is doesn't seem so.

[SR-Users] m_dump sends multiple messages

2017-07-10 Thread Rahul Mehta
hello, when m_dump() function is called as user gets online, the function i.e=m_dump() sends multiple copies of same message,can anyone please provide way to stop m_dump() sending multiple copies of same message. I am providing the code of m_dump function if (m_dump("$fu"))

Re: [SR-Users] domain vs uid_domain module

2017-07-10 Thread Daniel-Constantin Mierla
Hello, in short, if you were not using uid_domain module so far, I would recommend to use the domain module. The uid_domain module comes from SER branch of the project, while the domain module comes from Kamailio branch (during 2005-2008, they were separate projects). Afaik, uid_domain didn't

Re: [SR-Users] kamctl v5 issues sending rpc from jsonrpc_exec_ex

2017-07-10 Thread Daniel-Constantin Mierla
OK, good that it was sorted out. Cheers, Daniel On 10.07.17 09:14, Abdoul Osséni wrote: > Hello, > > Thank you for your email. > > I found where the problem was: my jsonrpc command was not valid. > > Regards > Abdoul. > > > > 2017-07-10 9:05 GMT+02:00 Daniel-Constantin Mierla

[SR-Users] Database connection handles vs. processes

2017-07-10 Thread Alex Balashov
Hi, By way of illustration, I have one server with children=8, a single UDP listener, and 23 processes total: -- 21117 attendant 21118 udp receiver child=0 sock=xxx.xxx.xxx.xxx:5060 21119 udp receiver child=1 sock=xxx.xxx.xxx.xxx:5060 21120 udp receiver child=2 sock=xxx.xxx.xxx.xxx:5060

Re: [SR-Users] Database connection handles vs. processes

2017-07-10 Thread E. Schmidbauer
some modules can have child processes that each maintain a database connection. the number of child processes for a module can sometimes be set using a modparam() for that module On Mon, Jul 10, 2017 at 4:23 PM, Alex Balashov wrote: > Hi, > > By way of illustration, I

Re: [SR-Users] Database connection handles vs. processes

2017-07-10 Thread Alex Balashov
On Mon, Jul 10, 2017 at 05:04:32PM -0400, E. Schmidbauer wrote: > some modules can have child processes that each maintain a database > connection. the number of child processes for a module can sometimes be set > using a modparam() for that module Well, indeed, and that is germane. However, it

Re: [SR-Users] deb nightly-builds not being built

2017-07-10 Thread Victor Seva
On 07/03/2017 11:53 PM, Victor Seva wrote: > We are having some issues with our building infrastructure so packages > are not being built. We are working on it, please be patient. Build process working again. For the curious changes performed are in [0], they were related to jenkins needing Java

Re: [SR-Users] [sr-dev] deb nightly-builds not being built

2017-07-10 Thread Daniel-Constantin Mierla
On 10.07.17 12:43, Victor Seva wrote: > On 07/03/2017 11:53 PM, Victor Seva wrote: >> We are having some issues with our building infrastructure so packages >> are not being built. We are working on it, please be patient. > Build process working again. > > For the curious changes performed are

Re: [SR-Users] TR: Failure Mode

2017-07-10 Thread Daniel-Constantin Mierla
Hello, the new trace shows a serial forking, with the first branch timing out, but the second branch is getting a 183 response, and that's all. It is not the same scenario you described. I need the full trace, from initial invite to the final response sent back to caller to see what is the

Re: [SR-Users] Random Proxy Crash, Restarted OK Anything Here For Concern?

2017-07-10 Thread Daniel-Constantin Mierla
Hello, I would suggest to update to latest 4.1.x version, the 4.1.0 is the first in the 4.1 series and many issues have been fixed in later 4.1.x version. There should be no database structure update or config changes, just deploy a newer 4.1.x version and restart. The double free crashes can be

Re: [SR-Users] app_lua reload - what exactly gets reloaded?

2017-07-10 Thread Daniel-Constantin Mierla
Hello, On 07.07.17 15:02, Sebastian Damm wrote: > Hi, > > On Thu, Jul 6, 2017 at 12:26 PM, Daniel-Constantin Mierla > wrote: >> You can check a shared memory variable (like $sht(...) or $shv(...)) >> that you can change via rpc, so you can re-fetch the database records >>

Re: [SR-Users] kamctl v5 issues sending rpc from jsonrpc_exec_ex

2017-07-10 Thread Daniel-Constantin Mierla
Hello, how do you execute the jsonrpc command? Do you use one of the tools provided by kamailio? Is the dialog module loaded? What is the exact version of kamailio (output of kamailio -v)? Cheers, Daniel On 07.07.17 16:36, Abdoul Osséni wrote: > Hello, > > Got this error : > > ERROR: jsonrpcs

Re: [SR-Users] kamctl v5 issues sending rpc from jsonrpc_exec_ex

2017-07-10 Thread Abdoul Osséni
Hello, Thank you for your email. I found where the problem was: my jsonrpc command was not valid. Regards Abdoul. 2017-07-10 9:05 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > how do you execute the jsonrpc command? Do you use one of the tools > provided by kamailio?