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