Hi Henning,
This is the log output for a debug level of 9.
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/db_text.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/sl.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/tm.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:register_module: register_pv: tm
Dec 3 22:55:58 mediaGW kamailio: DBG:core:pv_add_extra: extra items list is
not initialized
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/rr.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/maxfwd.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/textops.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/mi_fifo.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/uri.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/xlog.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:register_module: register_pv:
xlog
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/path.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/pdt.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:yyparse: loading module
//lib/kamailio/modules/avpops.so
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt|avpops
matches module avpops
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<db_url> in module avpops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt|avpops
matches module pdt
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<db_url> in module pdt [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: mi_fifo
matches module mi_fifo
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<fifo_name> in module mi_fifo [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: rr matches
module rr
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<enable_full_lr> in module rr [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: path matches
module path
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<use_received> in module path [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: db_text
matches module db_text
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<db_mode> in module db_text [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt matches
module pdt
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<db_table> in module pdt [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt matches
module pdt
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<sdomain_column> in module pdt [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt matches
module pdt
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<prefix_column> in module pdt [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: pdt matches
module pdt
Dec 3 22:55:58 mediaGW kamailio: DBG:core:set_mod_param_regex: found
<domain_column> in module pdt [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<mf_process_maxfwd_header>(1) in module maxfwd [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<sl_send_reply>(2) in module sl [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<sl_send_reply>(2) in module sl [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<is_method>(1) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<record_route>(0) in module rr [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<loose_route>(0) in module rr [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<is_method>(1) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW last message repeated 4 times
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<t_relay>(0) in module tm [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<sl_reply_error>(0) in module sl [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<add_path>(0) in module path [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<sl_send_reply>(2) in module sl [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<is_present_hf>(1) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<t_replicate>(1) in module tm [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW last message repeated 3 times
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<remove_hf>(1) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<insert_hf>(2) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW last message repeated 5 times
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<remove_hf>(1) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<insert_hf>(2) in module textops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW last message repeated 2 times
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<avp_db_query>(2) in module avpops [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<t_was_cancelled>(0) in module tm [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio: DBG:core:find_cmd_export_t: found
<xlog>(2) in module xlog [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW last message repeated 60 times
Dec 3 22:55:58 mediaGW kamailio: WARNING:core:fix_socket_list: could not
rev. resolve 172.16.103.10
Dec 3 22:55:58 mediaGW kamailio: DBG:core:socket2str: <udp:
172.16.103.10:5060>
Dec 3 22:55:58 mediaGW kamailio: DBG:core:fm_malloc_init: F_OPTIMIZE=16384,
/ROUNDTO=2048
Dec 3 22:55:58 mediaGW kamailio: DBG:core:fm_malloc_init: F_HASH_SIZE=2067,
fm_block size=16560
Dec 3 22:55:58 mediaGW kamailio: DBG:core:fm_malloc_init: params
(0xb5db2000, 33554432), start=0xb5db2000
Dec 3 22:55:58 mediaGW kamailio: DBG:core:shm_mem_init_mallocs: success
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:set_core_dump: core dump
limits set to 4294967295
Dec 3 22:55:58 mediaGW kamailio[3456]: NOTICE:core:main: version: kamailio
1.4.1-notls (i386/linux)
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:core:main: using 32 Mb shared
memory
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:core:main: using 1 Mb private
memory per process
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:add_avp_galias: registering
<serial_branch> for avp id <16725044>
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_stats_collector:
statistics manager successfully initialized
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module db_text
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module sl
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:sl:mod_init: Initializing
StateLess engine
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:MD5StringArray: MD5
calculated: 38a46d10654664942b4fae0ab9566094
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: registering stats
for sl
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module tm
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:tm:mod_init: TM -
initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:tm:init_callid: Call-ID
initialization: '227fbb7c'
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:tm:lock_initialize: lock
initialization started
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:MD5StringArray: MD5
calculated: 95bd2aeb01875ba0e55113f8ad62604d
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:MD5StringArray: MD5
calculated: a9620491c4659b87f7bc956d2a216771
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: registering stats
for tm
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: register MI for
tm
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module rr
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:rr:mod_init: rr - initializing
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module maxfwd
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:maxfwd:mod_init:
initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module textops
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:textops:mod_init:
initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module mi_fifo
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:mi_fifo:mi_mod_init: testing
fifo existance ...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module xlog
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:xlog:mod_init: initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module path
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:path:mod_init: initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:init_mod: initializing
module pdt
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:pdt:mod_init: initializing...
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:pdt:mod_init:
pdt_char_list=0123456789
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:find_mod_export: found
<db_bind_api> in module db_text [//lib/kamailio/modules/]
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:db_bind_mod: using db bind
api for db_text
Dec 3 22:55:58 mediaGW kamailio[3456]: INFO:db_text:dbt_init: using
database at: /cf/controller/kamailio_db
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_cache_get_db:
looking for db /cf/controller/kamailio_db!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_cache_get_db: new
db!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:pdt:mod_init: database
connection opened successfully
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: request
for table [pdt]
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: db is
[/cf/controller/kamailio_db]
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: loading
file [/cf/controller/kamailio_db/pdt]
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_table_new: mtime is
1228305036
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: column[0]
is INT!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: column[1]
is STR!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: column[2]
is INT!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_load_file: column[3]
is STR!
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_query: new res with
3 cols
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_result_new: new res
with 3 cols
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:db_new_result: allocate 28
bytes for result set at 0x81b5938
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:db_allocate_columns:
allocate 12 bytes for result names at 0x81b5090
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:core:db_allocate_columns:
allocate 12 bytes for result types at 0x81b5960
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_get_columns:
allocate 8 bytes for RES_NAMES[0] at 0x81b5978
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_get_columns:
allocate 8 bytes for RES_NAMES[1] at 0x81b5988
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_get_columns:
allocate 8 bytes for RES_NAMES[2] at 0x81b5998
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_rows:
allocate 144 bytes for 18 rows at 0x81b59a8
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b5a40
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b5a88
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b5ad0
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b5b18
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b74a0
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b74e8
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7530
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7578
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b75c0
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7608
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7650
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7698
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b76e0
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7728
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7770
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b77b8
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7800
Dec 3 22:55:58 mediaGW kamailio[3456]: DBG:db_text:dbt_convert_row:
allocate 60 bytes for row values at 0x81b7848
As you can see, there is no error messages!!!
Kind regards.
2008/12/3 Henning Westerholt <henning.westerholt(a)1und1.de>
On Wednesday 03 December 2008, Arturo Díaz Almagro
wrote:
I am defining a little script for Kamailio
working as a simple forwarder
(doing some simple tasks sometimes). I have to use an static database
with
few rows of PDT data so I decided to use a text
database via db_text
module. The scripts seems to ok because I do not get any error message
from
start up logging but kamailio processes are not
there!! Moreover, I am
not
making use of the functions in the script, only
initialization!!
I am using kamailio-1.4.1-notls and these are the script lines defining
the
initialization of those modules.
[..]
Hi Arturo,
do you get any error messages in the logs because of some wrong
initialization, wrong version data or other errors in the DB? Can you post
the relevant parts of the startup log here?
Cheers,
Henning