Bug #362

testing/kamailio-3.0.2-r1: default config broken

Added by Natanael Copa almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:06/16/2010
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

100%

Category:Aports
Target version:Alpine 2.0.0

Description

With current default config this happens:

 0(30226) : <core> [cfg.y:3330]: parse error in config file /etc/kamailio/kamailio.cfg, line 50, column 16-22: syntax error
 0(30226) : <core> [cfg.y:3330]: parse error in config file /etc/kamailio/kamailio.cfg, line 50, column 16-22: number expected
 0(30226) : <core> [cfg.y:3333]: parse error in config file /etc/kamailio/kamailio.cfg, line 50, column 23: bad expression
 0(30226) : <core> [cfg.y:3333]: parse error in config file /etc/kamailio/kamailio.cfg, line 50, column 23: bad command
 0(30226) : <core> [cfg.y:3333]: parse error in config file /etc/kamailio/kamailio.cfg, line 51, column 3: bad command
 0(30226) DEBUG: <core> [route_struct.c:159]: ACTION_#25 #0/2: 9(9)/ (nil)
 0(30226) DEBUG: <core> [route_struct.c:159]: ACTION_#25 #1/2: 3(3)/ (nil)
 0(30226) DEBUG: <core> [sr_module.c:509]: find_export_record: found <sl_send_reply> in module sl [/usr/lib/kamailio/modules_k/sl.so]
 0(30226) DEBUG: <core> [route_struct.c:159]: ACTION_#3 #0/2: 3(3)/ 0x1
 0(30226) DEBUG: <core> [route_struct.c:159]: ACTION_#3 #1/2: 3(3)/ 0x2
 0(30226) : <core> [cfg.y:3330]: parse error in config file /etc/kamailio/kamailio.cfg, line 56, column 2-3: syntax error
 0(30226) : <core> [cfg.y:3330]: parse error in config file /etc/kamailio/kamailio.cfg, line 56, column 2-3: 
ERROR: bad config file (7 errors)

A default config that "works" (let me start kamailio) is essential to do basic QA - verify pid location is correct, that start/stop works, init.d scripts work, permissions are correct etc.

Thanks

kamailio.cfg (2.3 kB) Nathan Angelacos, 06/24/2010 04:10 am

Associated revisions

Revision 465cf334
Added by Natanael Copa almost 2 years ago

testing/kamailio: fix default config

from nangel.

fixes #362

History

Updated by Nathan Angelacos almost 2 years ago

  • File kamailio.cfg added
  • Status changed from New to Resolved
  • Assignee changed from Nathan Angelacos to Natanael Copa
  • % Done changed from 0 to 100

Attached config works

Updated by Natanael Copa almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF