Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
I was using 5.2 I just downgraded to 5.0 and it starts properly. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 31, 2019 at 8:51 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I've tried all the way up to > > /usr/sbin/kamailio -P

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
I've tried all the way up to /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -M 1024 -m 2048 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 31, 2019 at 8:50 PM David Villasmil < david.villasmil.w...@gmail.com>

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
actually i'm starting it manually like: /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -M 16 -m 64 comes out like: Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1752]: DEBUG: [core/sr_module.c:844]: init_mod_child(): idx 1 rank 1: rtpengine [udp

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread Alex Balashov
Use -M to add more “package memory” (private memory per individual Kamailio process). I forget what the default is, but try 8 or 12 MB (-M 8 or -M 12) for likely happiness. — Sent from mobile, with due apologies for brevity and errors. > On Mar 31, 2019, at 3:34 PM, David Villasmil > wrote:

Re: [SR-Users] drop before exit and send ok reply first can be done?

2019-03-31 Thread SamyGo
Hi, Can you please elaborate about the part where you said "drop rest of the packets". If an OPTIONs is incoming you can send reply and then exit; a drop is like silently discarding a packet as far as I know. Do you meant to discard any further packets in same dialog or transaction to be matched

[SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
Hello guys, i'm trying to configure rtpengine, but when starting kamailio (with an empty table) i'm getting ```build_rtpp_socks(): no more pkg memory for rtpp_socks``` Can anyone help? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

Re: [SR-Users] kamailio 5.2.0 with empty table of rtpengine - kamailio doesn't start

2019-03-31 Thread David Villasmil
Hello Grant, Can you elaborate more on your solution? Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Feb 5, 2019 at 7:05 AM Grant Bagdasarian wrote: > I noticed it as well when switching from 5.2.0 to 5.2.1 using the docker > images, but

Re: [SR-Users] app_ruby - KSR::PV.sets method not found

2019-03-31 Thread Andrew White
Thanks Daniel! You’re 100% right, that was the issue. Using a private variable I can see the change. I also had an exit in place before the relay to test, removing that I can see in Wireshark the request is being sent as expected. Now I just have to figure out how to deal with UAC auth

Re: [SR-Users] app_ruby - KSR::PV.sets method not found

2019-03-31 Thread Daniel-Constantin Mierla
Hello, changes to sip message headers and body are not visible immediately, see:   * https://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or Use something like $var(x) to see if set is working. Cheers, Daniel On 31.03.19 08:44, Andrew White wrote: > Hey Daniel, > >

[SR-Users] drop before exit and send ok reply first can be done?

2019-03-31 Thread PICCORO McKAY Lenz
h have this for a custom rule agains spoecific messages: sl_send_reply("200", "OK"); drop(); exit; my question are if that rules are correct: i want to drop but send firts to client a ok response.. i mean client receive "all are ok dont worry" and then drop the rest packets..

[SR-Users] where to find the cfg languaje for program on it?

2019-03-31 Thread PICCORO McKAY Lenz
recently i wrote a portion of my cfg file but i found that i based my code in other sources and results of try/tach experiments i cannot found the documents for the languaje of the core i only found the link: https://www.kamailio.org/wiki/cookbooks/devel/core but in that link there's no

Re: [SR-Users] app_ruby - KSR::PV.sets method not found

2019-03-31 Thread Andrew White
Hey Daniel, Thanks for the patch! It doesn’t appear to be throwing the error any longer. However as far as I can see, the value is not being set. Here’s the code, called from ksr_request_route() def ksr_route_to_trunk() KSR.info("Route to trunk") if KSR::TM.t_is_set("failure_route") < 0

Re: [SR-Users] db_redis and user

2019-03-31 Thread Andrew White
Hi Joan, My guess is you’re providing a string value from the phones/terminals, rather than an integer value. 9(39) ERROR: [db_ut.c:92]: db_str2int(): Unexpected characters: [-03-29 18:16:36] 9(39) ERROR: [db_val.c:76]: db_str2val(): error while converting integer value from string 9(39)