[SR-Users] Error configuring kamailio with sql.

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 14 17:09:03 CEST 2015


The tutorial can be for a rather old version, which had different
functions in the nathelper/rtpproxy module.

Some hints to get it going:
- load rtpproxy module if not loaded and set the appropriate parameters
- replace the functions related to force/unforce rtp proxy with
rtpproxy_manage() -- you can look at default kamailio.cfg for latest
stable version to see an example

It doesn't look like much spare time in the near future, but I will try
to upgrade that tutorial to latest kamailio version.

Cheers,
Daniel

On 14/04/15 15:23, Ben Langfeld wrote:
> What steps have you taken so far to address the issue? Do you
> understand what the error is telling you?
>
> On 13 April 2015 at 06:48, Satish Verma <satishverma at pu.ac.in
> <mailto:satishverma at pu.ac.in>> wrote:
>
>     Respected sir,
>     I want to configure SIP voip server using tutorial
>     (http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour).
>     i have configured everything on my ubuntu server as given in
>     tutorial. but i am getting error while running start command (
>     /etc/init.d/kamailio start)
>     the error as given below.
>
>
>     root at wifi:/etc/kamailio# /etc/init.d/kamailio start
>      * Not starting Kamailio SIP Server: invalid configuration file!
>      *
>      *  0(32729) INFO: tls [tls_init.c:401]: init_tls_compression():
>     tls: init_tls: disabling compression...
>      0(32729) ERROR: <core> [cfg.y:3288]: yyparse(): cfg. parser:
>     failed to find command force_rtp_proxy (params 0)
>      0(32729) : <core> [cfg.y:3428]: yyerror_at(): parse error in
>     config file /etc/kamailio/kamailio.cfg, line 729, column 19:
>     unknown command, missing loadmodule?
>
>      0(32729) ERROR: <core> [cfg.y:3288]: yyparse(): cfg. parser:
>     failed to find command force_rtp_proxy (params 0)
>      0(32729) : <core> [cfg.y:3428]: yyerror_at(): parse error in
>     config file /etc/kamailio/kamailio.cfg, line 806, column 19:
>     unknown command, missing loadmodule?
>
>     ERROR: bad config file (2 errors)
>
>
>
>     i have tried running using default kamailio.cfg then it works
>     fine. but  i want to configure using script uploaded by u. please
>     do the needful. i will be very thankful to you.
>
>     With regards,
>     Satish verma,
>     Programming Assistant,
>     UIET, Panjab University, 
>     Chandigarh. Mobile no +917307737732 <tel:%2B917307737732>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150414/28cbbb4c/attachment.html>


More information about the sr-users mailing list