[SR-Users] kamailio and rtpengine

David Villasmil david.villasmil.work at gmail.com
Sun Mar 31 21:50:41 CEST 2019


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>
[core/sr_module.c:844]: init_mod_child(): idx 1 rank 1: rtpengine [udp
receiver child=0 sock=172.31.69.53:5066]
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1757]: DEBUG: <core>
[core/sr_module.c:844]: init_mod_child(): idx 6 rank -1: tm [timer]
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1757]: DEBUG: tm
[callid.c:136]: child_init_callid(): callid: '
7b2ce4fd4d8c29fb-1757 at 172.31.69.53'
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1752]: ERROR: rtpengine
[rtpengine.c:1722]: build_rtpp_socks(): no more pkg memory for rtpp_socks
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1752]: ERROR: <core>
[core/sr_module.c:847]: init_mod_child(): error while initializing module
rtpengine (/usr/lib/x86_64-linux-gnu/kamailio/modules/rtpengine.so) (idx: 1
rank: 1 desc: [udp receiver child=0 sock=172.31.69.53:5066])
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1757]: DEBUG: <core>
[core/sr_module.c:844]: init_mod_child(): idx 6 rank -1: tmx [timer]
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1752]: ERROR: <core>
[core/pt.c:342]: fork_process(): init_child failed for process 1, pid 1752,
"udp receiver child=0 sock=172.31.69.53:5066"
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1757]: DEBUG: tmx
[tmx_mod.c:258]: child_init(): rank is (-1)
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1757]: DEBUG: <core>
[core/sr_module.c:844]: init_mod_child(): idx 6 rank -1: sl [timer]
Mar 31 19:46:43 kamailio-phoenix /usr/sbin/kamailio[1752]: CRITICAL: <core>
[main.c:1643]: main_loop(): Cannot fork

cfg

modparam("rtpengine", "rtpengine_sock", "udp:127.0.0.1:22223")
modparam("rtpengine", "db_url", DBURL)

rtpengine.conf:

[rtpengine]
table = 0
interface = 172.31.69.53
listen-ng = 127.0.0.1:22223
timeout = 60
silent-timeout = 30
tos = 184
pidfile = /run/ngcp-rtpengine-daemon.pid
port-min = 30000
port-max = 40000
log-level = 7
log-facility = daemon




Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Sun, Mar 31, 2019 at 8:42 PM Alex Balashov <abalashov at evaristesys.com>
wrote:

> 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 <
> david.villasmil.work at gmail.com> wrote:
>
> 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.work at gmail.com
> phone: +34669448337
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190331/8436b7e3/attachment.html>


More information about the sr-users mailing list