Hello,
use rtpproxy_manage() instead of force_rtp_proxy() -- that function was
replaced in newer versions.
Cheers,
Daniel
On 06/03/15 11:53, Tom Braarup Cuykens wrote:
kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour
I found this guide for an older version of Kamailio, but there seems
to be some issues when trying to use it on the latest stable version.
When I try to start Kamailio i get this :
[....] 0(17153) INFO: tls [tls_init.c:399]: init_tls_compression():
tls: init_tls: disabling compression... 0(17153) ERROR: <core>
[cfg.y:3286]: yyparse(): cfg. parser: failed to find command
force_rtp_proxy (params 0) 0(17153) : <core> [cfg.y:3426]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg,
line 729, column 19: unknown command, missing loadmodule? 0(17153)
ERROR: <core> [cfg.y:3286]: yyparse(): cfg. parser: failed to find
command force_rtp_proxy (params 0) 0(17153) : <core> [cfg.y:3426]:
yyerror_at(): parse error in config fil[FAILc/kamailio/kamailio.cfg,
line 806, column 19: unknown command, missing loadmodule? ERROR: bad
config file (2 errors) ...
It seems it cannot load the rtpproxy module or that force_rtp_proxy
command does not exist. For Debian the modules are located in
/usr/lib/x86_64-linux-gnu/kamailio/modules/ and it was found there,
seems to be loaded in the config file (line 5 and 235). According to
the rtpproxy doc the module has this command.
Does anyone have an idea what could be the issue ?
I am planning to update this guide for the current version once I
fixed all the issues.
The most easy issues are the db/usernames/password and the path to the
modules.
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany -
http://www.kamailioworld.com