FIXED.

modparam with rtpengine MUST be in the end of modparam section (in NAT traversal section).


thanks to all


On Friday, May 13, 2016 2:21 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


I looked through modparam.c

modparam.c compiles regular expressions. it operates in /modules/ directory.

So according to the source it compares the name in modules directory. 

But where the modparam.c gets the regex which is used during the comparison?

Actually what is used to compare with rtpengine.so?




On Friday, May 13, 2016 1:34 PM, Dmitry <mbike2000ru@yahoo.com> wrote:


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 <yasin.caner@netgsm.com.tr> 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

--


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
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users