<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Sasmita,<br>
<br>
Please check this page:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/TroubleShooting-Crash">http://www.opensips.org/Documentation/TroubleShooting-Crash</a><br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01.10.2015 15:57, Sasmita Panda
wrote:<br>
</div>
<blockquote
cite="mid:CALf-Q45PLVEysKWZuUzgBHMkveei=7UaDe3dy4tihHG-Jzr+9A@mail.gmail.com"
type="cite">
<div dir="ltr">What should I do for that ? Will i increase the
debug level and give you the log file or anything else needed ?</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Thu, Oct 1, 2015 at 5:25 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Sasmita,<br>
<br>
Can you extract a backtrace from the core file ?<br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5">
<div>On 01.10.2015 09:39, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi ,
<div><br>
</div>
<div>I have tried to make assign that to empty
string . Now my dialplan collection looks like
bellow </div>
<div><br>
</div>
<div>
<div>> db.dialplan.find()</div>
<div>{ "_id" :
ObjectId("560cd43bc6c76af40bb5f0c3"), "dpid" :
5, "pr" : 1, "match_op" : 0, "match_exp" : "<a
moz-do-not-send="true"
href="http://mongodb1-sasmita.com"
target="_blank">mongodb1-sasmita.com</a>",
"match_flags" : 1, "subst_exp" : "",
"repl_exp" : 2, "disabled" : 0, "attrs" : "" }</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>But now its giving segfault error .</div>
<div>Oct 1 12:05:53 mongodb-server kernel:
[174250.350516] opensips[26613]: segfault at 2
ip 00007f2890116b42 sp 00007ffcd39181e0 error 4
in dialplan.so[7f2890110000+12000]<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> If I am not setting that field anymore
then also its giving the segfault error . what
should I do to get rid of this error ?</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Sep 30, 2015 at
11:17 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi
Sasmita,<br>
<br>
It complains about the "subst_exp" field,
which cannot be NULL at all - used or not,
cannot be NULL. If you do not need it ,
set it to empty string.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 30.09.2015 15:48, Sasmita Panda
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi All ,
<div><br>
</div>
<div><br>
</div>
<div> I am using mongodb and
opensips-1.11 . I am trying to use
mongodb as a database for drouting
and dialplan module . I have added
the required data in mongodb . my
mongodb looks like bellow .</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>> db.dr_rules.find()</div>
<div>{ "_id" :
ObjectId("560bd53b6562e8ba08918e76"),
"ruleid" : 1, "groupid" : 2,
"priority" : 0, "routeid" :
"NULL", "gwlist" : "1", "attrs"
: "NULL", "description" : "My
number" }</div>
<div>></div>
<div>> db.dr_groups.find()</div>
<div>{ "_id" :
ObjectId("560bbbfc649b73342fe6b08e"),
"username" : ".*", "domain" : <a
moz-do-not-send="true"
href="mailto:.*@mongodb1-sasmita.com.*"
target="_blank">".*@mongodb1-sasmita.com.*"</a>,
"groupid" : 2, "description" :
"outbound" }</div>
<div>></div>
<div>> db.dr_gateways.find()</div>
<div>{ "_id" :
ObjectId("560bd6cde6a5414c70de6ab4"),
"gwid" : 1, "type" : 0,
"address" : "<a
moz-do-not-send="true"
href="http://192.168.1.1:5060"
target="_blank">192.168.1.1:5060</a>",
"strips" : 0, "pri_prefix" :
"NULL", "attrs" : "NULL",
"probe_mode" : 0, "state" : 0,
"socket" : "NULL", "description"
: "1st gateway" }</div>
<div>></div>
<div>> db.dr_carriers.find()</div>
<div>{ "_id" :
ObjectId("560bbcc8649b73342fe6b091"),
"carrierid" : 2, "gwlist" : 1,
"description" : "1st carrier" }</div>
<div>></div>
<div>> db.dialplan.find()</div>
<div>{ "_id" :
ObjectId("560bbae0649b73342fe6b08c"),
"id" : 1, "dpid" : 5, "pr" : 1,
"match_op" : 0, "match_exp" : "<a
moz-do-not-send="true"
href="http://mongodb11-sasmita.com"
target="_blank">mongodb11-sasmita.com</a>",
"match_flags" : 1, "repl_exp" :
2, "disabled" : 0 }</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div> Now when I am running
opensips its giving bellow error .</div>
<div><br>
</div>
<div>
<div> ERROR:dialplan:build_rule:
values 5 is NULL - not allowed</div>
<div> WARNING:dialplan:dp_load_db:
failed to build rule ->
skipping</div>
<div> ERROR:drouting:dr_load_routing_info:
column id has a bad type</div>
<div> CRITICAL:drouting:dr_reload_data:
failed to load routing info</div>
<div> CRITICAL:drouting:dr_child_init:
failed to load routing data</div>
<div> ERROR:core:init_mod_child:
failed to initializing module
drouting, rank 1</div>
<div> ERROR:core:main_loop:
init_child failed for UDP
listener</div>
<div><br>
</div>
<div> Can anybody please
suggest how to add the entries
in mongodb so that these errors
can be solved . Waiting for a
positive and quick response .</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr"><b><i>Thanks
& Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and
Software Engineer</i></div>
<div><i>3CLogic ,
ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>