<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Version is 3.0.2<br>
<br>
BR<br>
<br>
Ernest<br>
<br>
<br>
On 22. 07. 2010 12:27, Ernest Mavrel wrote:
<blockquote cite="mid:4C481D21.1080108@novatel.si" type="cite">Hi
<br>
<br>
<br>
I have problems with starting of kamailio. When is rule in table
dialplan, kamailio doesn't start.
<br>
<br>
<br>
Dialplan table:
<br>
<br>
id dpid pr match_op match_exp match_len
subst_exp repl_exp attrs
<br>
1 1 0 1 ^0[1-9] 0 ^(0)([1-9])(.+) 386\2
Cut_0_Add_386
<br>
<br>
<br>
<br>
Log:
<br>
<br>
0(11570) DEBUG: dialplan [dp_db.c:200]: init
<br>
0(11570) DEBUG: <core> [db_res.c:118]: allocate 48 bytes for
result set at 0x95ff60
<br>
0(11570) DEBUG: db_mysql [km_res.c:68]: 8 columns returned from the
query
<br>
0(11570) DEBUG: <core> [db_res.c:155]: allocate 64 bytes for
result names at 0x960028
<br>
0(11570) DEBUG: <core> [db_res.c:165]: allocate 32 bytes for
result types at 0x960118
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[0] at 0x95fe18
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x95fe18)[0]=[dpid]
<br>
0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[1] at 0x960310
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960310)[1]=[pr]
<br>
0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[2] at 0x960350
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]:
RES_NAMES(0x960350)[2]=[match_op]
<br>
0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[3] at 0x960330
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]:
RES_NAMES(0x960330)[3]=[match_exp]
<br>
0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[4] at 0x9602f0
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]:
RES_NAMES(0x9602f0)[4]=[match_len]
<br>
0(11570) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[5] at 0x9602d0
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]:
RES_NAMES(0x9602d0)[5]=[subst_exp]
<br>
0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[6] at 0x9602b0
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]:
RES_NAMES(0x9602b0)[6]=[repl_exp]
<br>
0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
<br>
0(11570) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes for
RES_NAMES[7] at 0x960290
<br>
0(11570) DEBUG: db_mysql [km_res.c:92]: RES_NAMES(0x960290)[7]=[attrs]
<br>
0(11570) DEBUG: db_mysql [km_res.c:136]: use DB1_STRING result type
<br>
0(11570) DEBUG: db_mysql [km_dbase.c:342]: converting row 0 of 1 count
1
<br>
0(11570) DEBUG: <core> [db_row.c:119]: allocate 256 bytes for
row values at 0x960370
<br>
0(11570) DEBUG: <core> [db_val.c:73]: converting INT [1]
<br>
0(11570) DEBUG: <core> [db_val.c:73]: converting INT [0]
<br>
0(11570) DEBUG: <core> [db_val.c:73]: converting INT [1]
<br>
0(11570) DEBUG: <core> [db_val.c:117]: converting STRING
[^0[1-9]]
<br>
0(11570) DEBUG: <core> [db_val.c:73]: converting INT [0]
<br>
0(11570) DEBUG: <core> [db_val.c:117]: converting STRING
[^(0)([1-9])(.+)]
<br>
0(11570) DEBUG: <core> [db_val.c:117]: converting STRING [386\2]
<br>
0(11570) DEBUG: <core> [db_val.c:117]: converting STRING
[Cut_0_Add_386]
<br>
0(11570) DEBUG: dialplan [dp_db.c:374]: build_rule
<br>
<br>
Any help?
<br>
<br>
BR
<br>
<br>
Ernest
<br>
<br>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
<!--
.style1 {font-family: "Trebuchet MS"}
.style2 {
        font-size: 18px;
        font-weight: bold;
}
.style5 {
        font-size: 16px;
        font-weight: bold;
}
.style6 {
        font-size: 12px;
        font-weight: bold;
}
-->
</style>
<pre class="style1"><span class="style6"><a href="http://novatel.si/"><img
src="cid:part1.06080306.06090207@novatel.si" height="38" width="125"
border="0"></a>
</span><span class="style2">Ernest Mavrel
</span>technical support
<span class="style5">Novatel d.o.o.</span>
informacijske tehnologije
Mariborska 88, SI - 3000 Celje
tel: <strong class="style6">+386 (0)82 800 823
</strong>fax: <strong class="style6">+386 (0)82 800 821
</strong>mobile: <span class="style6">+386 (0)51 436 453
</span>e-mail: <a href="mailto:ernest.mavrel@novatel.si" target="_blank"
title="Ernest Mavrel - Novatel d.o.o.">ernest.mavrel@novatel.si</a> </pre>
</div>
</body>
</html>