Hello all,<br><br>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!!<br>
<br>I am using kamailio-1.4.1-notls and these are the script lines defining the initialization of those modules.<br><br>Thanks a lot.<br><br>####### Global Parameters ######### <br>
<br>debug=3 <br>
log_stderror=no <br>fork=yes <br>
children=7 #KAMAILIO_CHILDREN <br> <br>
/* uncomment the next line to disable TCP (default on) */ <br>disable_tcp=yes <br>
<br>/* uncomment the next line to enable the auto temporary blacklisting of <br>
not available destinations (default disabled) */ <br>#disable_dns_blacklist=no <br>
<br>/* uncomment the next line to enable IPv6 lookup after IPv4 dns <br>
lookup failures (default disabled) */ <br>#dns_try_ipv6=yes <br>
<br>/* uncomment the next line to disable the auto discovery of local aliases <br>
based on revers DNS on IPs (default on) */ <br>#auto_aliases=no <br>
<br>/* uncomment and configure the following line if you want Kamailio to <br>
bind on a specific interface/port/proto (default bind on all available) */ <br>listen=udp:<a href="http://172.16.10.1:5060">172.16.10.1:5060</a> #KAMAILIO_PROTO:KAMAILIO_IP:KAMAILIO_PORT <br>
port=5060 #KAMAILIO_PORT <br> <br>
/* domain alias for the host */ <br>alias=<a href="http://domain1.com">domain1.com</a> #KAMAILIO_DOMAIN # global domain <br>
alias=<a href="http://domain2.com">domain2.com</a> <br><br>####### Modules Section ######## <br>
<br>#set module path <br>
mpath="//lib/kamailio/modules/" <br> <br>
loadmodule "db_text.so" <br>loadmodule "sl.so" <br>
loadmodule "tm.so" <br>loadmodule "rr.so" <br>
loadmodule "maxfwd.so" <br>loadmodule "textops.so" <br>
loadmodule "mi_fifo.so" <br>loadmodule "uri.so" <br>
loadmodule "xlog.so" <br>loadmodule "path.so" <br>
loadmodule "pdt.so" <br>loadmodule "avpops.so" <br>
<br># ----------------- setting module-specific parameters --------------- <br>
<br>modparam("pdt|avpops", "db_url", "text:///tmp/kamailio_db") <br>
<br># ----- mi_fifo params ----- <br>
modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") <br> <br>
# ----- rr params ----- <br># add value to ;lr param to cope with most of the UAs <br>
modparam("rr", "enable_full_lr", 1) <br># do not append from tag to the RR (no need for this script) <br>
#modparam("rr", "append_fromtag", 0) <br> <br>
# ----- path params ----- <br>modparam("path", "use_received", 0) <br>
<br># ----- dbtext ----- <br>
modparam("db_text", "db_mode", 0) <br> <br>
# ----- pdt params ----- <br>modparam("pdt", "db_table", "pdt") <br>
modparam("pdt", "sdomain_column", "sdomain") <br>modparam("pdt", "prefix_column", "prefix") <br>
modparam("pdt", "domain_column", "domain") <br> <br>
<br>####### Routing Logic ######## <br>
[..]<br clear="all"><br>-- <br>Arturo Díaz<br>