RESOLVED.

I reinstalled kazoo from scratch, hostname accurately. And no problem/

Thank you for your help


On Monday, May 16, 2016 11:20 AM, Dmitry <mbike2000ru@yahoo.com> wrote:


>>Now kamailio.log:
>>ERROR: rtpengine [rtpengine.c:1113]: child_init(): Name or service not known
>>ERROR: <core> [sr_module.c:929]: init_mod_child(): Error while initializing module rtpengine (/usr/lib64/kamailio/modules/rtpengine.so)

I looked into rtpengine.c
line 1113 - it's a getaddrinfo, and "name or Service not known" - means it returned Non-Zero


On Monday, May 16, 2016 9:58 AM, Dmitry <mbike2000ru@yahoo.com> wrote:


I installed 4.3.5 kamailio (i tried USE_SCTP=0 and USE_SCTP=1) -

Also - no problem. 
rtpengine does not affect kamailio start/restart.

Now the only case with the problem:
kazoo Kamailio which was installed via RPM. So I wil try to find the cause of it.


On Sunday, May 15, 2016 11:24 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


The problem only with Kamailio installed from Kazoo RPM (ver 4.3.5). 

When I instaled latest from GIT - rtpengine does not affect restarting Kamailio.no problem.

Up to now no idea how to solve it.


On Sunday, May 15, 2016 11:04 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


the problem is:

rtpengine was compiled with  USE_SCTP,
but kamailio that was installed via RPM is without this flag.

How to tell compiler NOT TO "

USE  USE_SCTP" flag?

+++++++++++++++++++++++


Makefile.defs:SCTP ?= 0 - and it compiles without sctp.

Now kamailio.log:
ERROR: rtpengine [rtpengine.c:1113]: child_init(): Name or service not known
ERROR: <core> [sr_module.c:929]: init_mod_child(): Error while initializing module rtpengine (/usr/lib64/kamailio/modules/rtpengine.so)









View this message in context: Re: Another question about RTPengine module

Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users







_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148503.html
To unsubscribe from Another question about RTPengine module, click here.
NAML

--


View this message in context: Re: Another question about RTPengine module
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148515.html
To unsubscribe from Another question about RTPengine module, click here.
NAML

--


View this message in context: Re: Another question about RTPengine module
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




On Sunday, May 15, 2016 6:21 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


yes, I wrote that modparam are recognized.
MODPARAM must be placed i the sae place where the RTPPROXY resides in the config.
+++++++++++++++++++++++++++++++

Another question:
kazoo kamailio KAMAILIO-V :4.3.5:
kamailio -v
version: kamailio 4.3.5 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 17:51:55 Mar  8 2016 with gcc 4.4.7

To add the RTPENGINE - I found Kamailio 4.3.5 sources https://www.kamailio.org/pub/kamailio/4.3.5/src/

When I start kamailio I get the following error:
ERROR: <core> [sr_module.c:431]: version_control(): module compile flags mismatch for /usr/lib64/kamailio/modules/rtpengine.so

I did the following to add missing modules:
 #make include_modules="rtpengine topoh" cfg
 #make all
 cp /usr/src/kamailio-4.3.5/modules/rtpengine/rtpengine.so /usr/lib64/kamailio/modules/rtpengine.so

How to fix it?

The sources version seems to be the same



On Saturday, May 14, 2016 1:21 AM, ycaner <yasin.caner@netgsm.com.tr> wrote:


Hello;
    i am not sure. i downloaded from git kamailio. add rtpengine instead of rtpproxy . it works fine. it is hard to solve problem without log.

Cheers.

try to run with kamailio -E -dd  , maybe it gives information.
check kamailio.cfg is that rtpengine is loaded like loadmodule "rtpengine.so"




2016-05-13 11:35 tarihinde Dmitry [via SIP Router] yazdı:
one more question about rtpengine.

I installed Kamailio (centos 6.7) from source as You recommended
make include_modules="db_mysql utils regex dnssec jansson lcr  xmlrpc rtpengine " cfg

no rtpengine daemon (it is not installed)  but the picture is the same:
 modparam ("rtpengine,....) 
kamailio -c
loading modules under config path: /usr/local/lib64/kamailio/modules/
 0(19523) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <rtpengine> found

it means that it does not depend upon rtpengine daemon.

# single rtproxy
modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221")

STRACE kamctl start  -says nothing anout rtpengine

What else is it possible to do to find the cause of the problem?




On Friday, May 13, 2016 11:45 AM, ycaner <[hidden email]> wrote:


Hello;
    rtpengine module isnt default. you need to add  with "make include_modules". after make && make install , automatically it will be copied to lib/modules.
Cheers.

2016-05-13 09:42 tarihinde Dmitry [via SIP Router] yazdı:
And one more question on it:

If the Kamailio was installed from RPM and rtpengine.so is missing - May I add rtpengine.so the following way:
make include_modules="rtpengine" cfg
make all
and then copy rtpengine.so     to /modules/ directory

Is this way (adding missing modules) is correct?




On Friday, May 13, 2016 11:25 AM, Dmitry <[hidden email]> wrote:


hello

I tested on Centos 6.7 as well as Ubuntu server - the problem is the same. RTPENGINE was installed both from dpkg and from Source (manual compilation)

So I need a clarification on it.

RTPENGINE daemon is started.

The Kamailio module itself is taken from /usr/src/kamailio, where the source was compiled.

mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
cp /usr/src/kamailio/modules/rtpengine/rtpengine.so /usr/lib/x86_64-linux-gnu/kamailio/modules/rtpengine.so       

sudo /etc/init.d/kamailio restart | grep rtp
ERROR: <core> [modparam.c:163]: set_mod_param_regex(): set_mod_param_regex: No module matching <rtpengine> found   

 version: kamailio 5.0.0-dev4 (x86_64/linux) 

Any help is appreciated.                                            





On Thursday, May 12, 2016 6:04 PM, Dmitry <[hidden email]> wrote:


Hi,

I installed Kamailio from GIT.
I did make include_modules="db_mysql utils regex dnssec jansson lcr xmlrpc rtpengine " cfg

Actually loadmodule "rtpengine.so" does not affect kamailio start/restart.
modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") causes this failure:
[modparam.c:150]: set_mod_param_regex(): No module matching <rtpengine> found




On Thursday, May 12, 2016 12:26 PM, ycaner <[hidden email]> wrote:


Hello;

    on bash , kamailio -V gives Version , kamailio -c gives debug result. you can ask from here  https://groups.google.com/forum/#!forum/2600hz-dev for kazoo rpm. if there is something wrong , they will fix it.
you can install from source code from here => https://www.kamailio.org/w/

and "make include_modules="db_mysql utils regex dnssec jansson lcr xmlrpc rtpengine " cfg " in kamailio folder before 'make all' , helps you add modules. if there is a dependecies is missing , gives error.

Cheers.



2016-05-11 19:51 tarihinde Dmitry [via SIP Router] yazdı:
I installed Kamailio :
yum install -y kazoo-kamailio


the latest version of rtpengine and I do not know how to view the version of Kazoo-Kamailio



On Wednesday, May 11, 2016 6:31 PM, ycaner <[hidden email]> wrote:


hello ;


maybe some devel are missing. which version using?i will try.

cheers.



--
View this message in context: http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148396.html
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/Another-question-about-RTPengine-module-tp148395p148412.html
To unsubscribe from Another question about RTPengine module, click here.
NAML

--