[SR-Users] Logging from cfg file

2018-12-28 Thread Muhammad Allaudin
Hi everyone, I have recently started working on Kamailio, I am trying to learn the basics. For "Register" route, I am trying to print the log but log is not appearing in log file. Other logs are there, only this one is missing. *if(is_method("REGISTER")){* * log(2, "Register request");* *}* I wi

Re: [SR-Users] Dispatcher probing

2018-12-28 Thread Fred Posner
On 12/28/18 7:49 AM, Duarte Rocha wrote: In this case ( using Options for probing), i only have access to the destination IP ($dd) and Port ($dp). I need to know the SAP associated to the gateway that is currently being probed, in order to force the correct socket in the OPTIONS request. Is th

[SR-Users] Dispatcher probing

2018-12-28 Thread Duarte Rocha
Hey. I have another question regarding the Dispatcher Probing. In my SBC, a Gateway is defined by it's IP, Port and SAP (Kamailio's IP used for signaling). Those 3 parameters are defined in the Gateway table. In this case ( using Options for probing), i only have access to the destination IP ($d

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-28 Thread Victor Seva
On Fri, 28 Dec 2018 at 10:32, Daniel-Constantin Mierla wrote: > I just pushed a series of commits trying to rework how loading (and > reloading) of rtpegines list is done, to avoid that sync'ed probing, > which can take long if any of the rtpengines is down. > I just want to thank you for this g

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-28 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I just pushed a series of commits trying to rework how loading (and > reloading) of rtpegines list is done, to avoid that sync'ed probing, > which can take long if any of the rtpengines is down. Daniel, Thanks for the commit. Now K starts responding immediatel

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-28 Thread Daniel-Constantin Mierla
I just pushed a series of commits trying to rework how loading (and reloading) of rtpegines list is done, to avoid that sync'ed probing, which can take long if any of the rtpengines is down. Now, building the local (per process) structures/sockets for rtpengines during kamailio start up is done wi

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-28 Thread Daniel-Constantin Mierla
Indeed I stopped at the wrong param for the timeout, should have been another one: modparam("rtpengine", "rtpengine_tout_ms", 500) Cheers, Daniel On 26.12.18 12:16, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> Maybe you would also want to tune the timeout with the modparam: >> >>