Version is 3.0.2

BR

Ernest


On 22. 07. 2010 12:27, Ernest Mavrel wrote:
Hi


I have problems with starting of kamailio. When is rule in table dialplan, kamailio doesn't start.


Dialplan table:

id     dpid     pr     match_op     match_exp     match_len     subst_exp     repl_exp     attrs
1     1     0     1     ^0[1-9]     0     ^(0)([1-9])(.+)     386\2     Cut_0_Add_386



Log:

 0(11570) DEBUG: dialplan [dp_db.c:200]: init
 0(11570) DEBUG: <core> [db_res.c:118]: allocate 48 bytes for result set at 0x95ff60
 0(11570) DEBUG: db_mysql [km_res.c:68]: 8 columns returned from the query
 0(11570) DEBUG: <core> [db_res.c:155]: allocate 64 bytes for result names at 0x960028
 0(11570) DEBUG: <core> [db_res.c:165]: allocate 32 bytes for result types at 0x960118
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[0] at 0x95fe18
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x95fe18)[0]=[dpid]
 0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[1] at 0x960310
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960310)[1]=[pr]
 0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[2] at 0x960350
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960350)[2]=[match_op]
 0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[3] at 0x960330
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960330)[3]=[match_exp]
 0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[4] at 0x9602f0
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x9602f0)[4]=[match_len]
 0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[5] at 0x9602d0
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x9602d0)[5]=[subst_exp]
 0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[6] at 0x9602b0
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x9602b0)[6]=[repl_exp]
 0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
 0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for RES_NAMES[7] at 0x960290
 0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960290)[7]=[attrs]
 0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
 0(11570) DEBUG: db_mysql [km_dbase.c:342]: converting row 0 of 1 count 1
 0(11570) DEBUG: <core> [db_row.c:119]: allocate 256 bytes for row values at 0x960370
 0(11570) DEBUG: <core> [db_val.c:73]: converting INT [1]
 0(11570) DEBUG: <core> [db_val.c:73]: converting INT [0]
 0(11570) DEBUG: <core> [db_val.c:73]: converting INT [1]
 0(11570) DEBUG: <core> [db_val.c:117]: converting STRING [^0[1-9]]
 0(11570) DEBUG: <core> [db_val.c:73]: converting INT [0]
 0(11570) DEBUG: <core> [db_val.c:117]: converting STRING [^(0)([1-9])(.+)]
 0(11570) DEBUG: <core> [db_val.c:117]: converting STRING [386\2]
 0(11570) DEBUG: <core> [db_val.c:117]: converting STRING [Cut_0_Add_386]
 0(11570) DEBUG: dialplan [dp_db.c:374]: build_rule

Any help?

BR

Ernest


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--


Ernest Mavrel
technical support

Novatel d.o.o.
informacijske tehnologije
Mariborska 88, SI - 3000 Celje

tel: +386 (0)82 800 823
fax: +386 (0)82 800 821
mobile: +386 (0)51 436 453
e-mail: ernest.mavrel@novatel.si