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

2017-07-10 Thread Alex Balashov
I do use sqlops extensively, both in the main processes and rtimer processes. Does that make a difference? On Tue, Jul 11, 2017 at 02:49:19AM -0400, Alex Balashov wrote: > On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote: > > > are the connections to the same database or

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

2017-07-10 Thread Alex Balashov
On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote: > are the connections to the same database or to different databases? Even > on the same server, the database name matters. Hi, Same database, same server, same database name. -- Alex Balashov | Principal | Evariste Syst

Re: [SR-Users] Siremis updates

2017-07-10 Thread Daniel-Constantin Mierla
Hello, as a further update, 3) has been pushed to the repo, therefore be careful if you want to do an upgrade to an existing installation, fresh installs should just work as usual. Cheers, Daniel On 06.07.17 15:08, Daniel-Constantin Mierla wrote: > Hello, > > there is some ongoing work on Siremi

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

2017-07-10 Thread Daniel-Constantin Mierla
Hello, are the connections to the same database or to different databases? Even on the same server, the database name matters. Cheers, Daniel On 10.07.17 22:23, Alex Balashov wrote: > Hi, > > By way of illustration, I have one server with children=8, a single UDP > listener, and 23 processes to

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] 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 have one server with childr

[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 2

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 in

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] 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 winning

Re: [SR-Users] m_dump sends multiple messages

2017-07-10 Thread Daniel-Constantin Mierla
Hello, have you checked the database? Are there many records for the same message? Cheers, Daniel On 10.07.17 10:45, Rahul Mehta wrote: > 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 > provid

[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] TR: Failure Mode

2017-07-10 Thread Nicolas Breuer
Hello, Yes I'm sure the second branch is launched from Branch Failure Route. If you check the timer trace, you can see the second is send 4 seconds later than the first ( I set the tm_inv to 4 seconds ) But in the trace I sent you the "last" invite. The kamailio sent 4 invites. I will send you

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.

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

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? > > Is the dialog mo

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 get

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 >> even if you don't chang

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] 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