<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    have you found the core file in /var/log/? It is a strange location
    unless you started with -w /var/log. The core file is named usually
    'core' or core.pid (replace pid with same number, like,
    'core.1234'). The default location in in '/' unless there is a
    different location set via -w or enforced by operating system (e.g.,
    mac os x puts it in '/corefiles').<br>
    <br>
    Hope it helps to locate the core file and send the backtrace.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 3/1/12 9:05 AM, Fatima Chahrour~Vanrise Support wrote:
    <blockquote cite="mid:048501ccf782$13ddbd90$3b9938b0$@com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <pre><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I also tried :</span><span style="color:black"> </span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">#gdb /usr/local/sbin/kamailio &nbsp;/var/log/core.file<o:p></o:p></span></pre>
        <pre><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; (gdb) bt</span><span style="color:black"><o:p></o:p></span></pre>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">And
            got No Stack..<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">BR,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">F.Chahrour<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                <a class="moz-txt-link-abbreviated" href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>] <b>On
                  Behalf Of </b>Fatima Chahrour~Vanrise Support<br>
                <b>Sent:</b> Wednesday, February 29, 2012 6:15 PM<br>
                <b>To:</b> 'SIP Router - Kamailio (OpenSER) and SIP
                Express Router (SER) - Users Mailing List'<br>
                <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a><br>
                <b>Subject:</b> Re: [SR-Users] DRouting cause Kamailio
                3.2 to stop<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi
            again,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            have read about core dump and most mentioned that I have to
            do a backtrace to get the reason behind the crash. <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As
            a newbie in this field am not able to generate Where do I
            should stand and reproduce the gdb command, all my trials
            resulted with &#8216;No Stack&#8217; as below!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            did the following:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">debian:/usr/local/sbin/kamailio#
            gdb $kamailio_binary $core_file<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">GNU
            gdb 6.8-debian<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Copyright
            (C) 2008 Free Software Foundation, Inc.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">License
            GPLv3+: GNU GPL version 3 or later
            <a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html">&lt;http://gnu.org/licenses/gpl.html&gt;</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">This
            is free software: you are free to change and redistribute
            it.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">There
            is NO WARRANTY, to the extent permitted by law.&nbsp; Type "show
            copying"<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and
            "show warranty" for details.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">This
            GDB was configured as "i486-linux-gnu".<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(gdb)
            bt full<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">No
            stack.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(gdb)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Where
            is my mistake?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Again
            if needed syslog output before Kamailio crash!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            usrloc [hslot.c:53]: locks array size 512<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            drouting [drouting.c:272]: DRouting - initializing<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            &lt;core&gt; [udp_server.c:179]: INFO: udp_init: SO_RCVBUF
            is initially 111616<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            &lt;core&gt; [udp_server.c:230]: INFO: udp_init: SO_RCVBUF
            is finally 262142<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            &lt;core&gt; [udp_server.c:179]: INFO: udp_init: SO_RCVBUF
            is initially 111616<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4280]: INFO:
            &lt;core&gt; [udp_server.c:230]: INFO: udp_init: SO_RCVBUF
            is finally 262142<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:44:42 debian /usr/local/sbin/kamailio[4294]: INFO: ctl
            [io_listener.c:225]: io_listen_loop:&nbsp; using epoll_lt io
            watch method (config)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian kernel: [17504.541952] kamailio[4296]:
            segfault at bf7e3ee4 ip b6cc2c38 sp bf7e3e70 error 6 in
            drouting.so[b6cb7000+1d000]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4304]: :
            &lt;core&gt; [pass_fd.c:293]: ERROR: receive_fd: EOF on 5<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4280]: ALERT:
            &lt;core&gt; [main.c:751]: child process 4296 exited by a
            signal 11<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4280]: ALERT:
            &lt;core&gt; [main.c:754]: <i>core was generated</i><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4280]: INFO:
            &lt;core&gt; [main.c:766]: INFO: terminating due to SIGCHLD<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4281]: INFO:
            &lt;core&gt; [main.c:817]: INFO: signal 15 received<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
            29 06:45:03 debian /usr/local/sbin/kamailio[4282]: INFO:
            &lt;core&gt; [main.c:817]: INFO: signal 15 received<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks
            in advance.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">BR,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">F.Chahrour<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
              <a class="moz-txt-link-abbreviated" href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
              [<a class="moz-txt-link-freetext" href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>] <b>On
                Behalf Of </b>Stoyan Mihaylov<br>
              <b>Sent:</b> Sunday, February 26, 2012 7:37 PM<br>
              <b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express
              Router (SER) - Users Mailing List<br>
              <b>Subject:</b> Re: [SR-Users] DRouting cause Kamailio 3.2
              to stop<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">You can start kamailio from prompt directly
          &nbsp;- of course logged as root:<o:p></o:p></p>
        <div>
          <p class="MsoNormal">kamailio {parameters - including cfg
            file}<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal">If you are using ubuntu - it is more
            tricky - first you should create root user, or may be you
            can start with:<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal">sudo kamailio {parameters}<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal">I never started kamailio using kamctrl. I
            am starting it through little modified init script.<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
          <div>
            <p class="MsoNormal">On Sun, Feb 26, 2012 at 1:10 PM, Fatima
              Chahrour~ Vanrise Technical Support &lt;<a
                moz-do-not-send="true"
                href="mailto:fchahrour@vanrise.com">fchahrour@vanrise.com</a>&gt;
              wrote:<o:p></o:p></p>
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Stayon,
                    start kamailio as root means using kamctrl start?</span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards,</span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Fatima</span><o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                    <a moz-do-not-send="true"
                      href="mailto:sr-users-bounces@lists.sip-router.org"
                      target="_blank">sr-users-bounces@lists.sip-router.org</a>
                    [mailto:<a moz-do-not-send="true"
                      href="mailto:sr-users-bounces@lists.sip-router.org"
                      target="_blank">sr-users-bounces@lists.sip-router.org</a>]
                    <b>On Behalf Of </b>Stoyan Mihaylov<br>
                    <b>Sent:</b> Friday, February 24, 2012 5:05 PM</span><o:p></o:p></p>
                <div>
                  <div>
                    <p class="MsoNormal"><br>
                      <b>To:</b> SIP Router - Kamailio (OpenSER) and SIP
                      Express Router (SER) - Users Mailing List<br>
                      <b>Subject:</b> Re: [SR-Users] DRouting cause
                      Kamailio 3.2 to stop<o:p></o:p></p>
                  </div>
                </div>
                <div>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                      am working with kamailio from 3 months or so. And
                      we use it only as registrar and load&nbsp;balance. All
                      routing is done from Asterisks which are behind
                      kamailio. I only "route" using&nbsp;ds_select_dst - to
                      select Asterisk where to forward call.<o:p></o:p></p>
                    <div>
                      <p class="MsoNormal"
                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                          dont like signal 15 - looks like crash from
                          wrong arguments or something alike (but same
                          signal you will see if you&nbsp;manually&nbsp;shut down
                          kamailio). I have no experience with module
                          you use.<o:p></o:p></p>
                      </div>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Next
                          steps you can do are - to increase debug
                          level, and again to look at tail, especially
                          in moment of dial - when kamailio crashes. You
                          can check also core dumps - how you can do it
                          - there is discussion now about it - important
                          thing is may be you should start kamailio as
                          root.<o:p></o:p></p>
                      </div>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                      </div>
                      <div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                        <div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
                            Fri, Feb 24, 2012 at 4:40 PM, Fatima
                            Chahrour~Vanrise Support &lt;<a
                              moz-do-not-send="true"
                              href="mailto:fchahrour@vanrise.com"
                              target="_blank">fchahrour@vanrise.com</a>&gt;
                            wrote:<o:p></o:p></p>
                          <div>
                            <div>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks
                                  for your reply.</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
                                  have checked, and I have one question,
                                  from analyzing two points:</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">-</span><span
                                  style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </span><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1<sup>st</sup>
                                  point is that before adding the
                                  drouting scripts no problem &nbsp;with
                                  kamailio and no crash, but after
                                  adding the script in the routing logic
                                  kamailio app dies</span><o:p></o:p></p>
                              <p><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">-</span><span
                                  style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </span><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">2<sup>nd</sup>
                                  point if I have have any wrong data in
                                  the database and try to call, I get
                                  the &nbsp;</span>("503", "No Rules matching
                                the URI") on the x-lite<o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So
                                  both points doesn&#8217;t mean that the
                                  problem lies in the scripts I have in
                                  the routing logic area? (Also please
                                  note that I have got these scripts
                                  after checking the kamailio doc and
                                  other google doc that applied drouting
                                  scenario using kamailio 1.5.0).</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Following
                                  your advice, I have check the syslog
                                  file before and after performing the
                                  call and am getting the below</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1)When
                                  I start kamailio I have the following
                                  in syslog :</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">an:/usr/local/etc/kamailio#
                                  kamctl start</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">INFO:
                                  Starting Kamailio : </span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">INFO:
                                  started (pid: 19296)</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">debian:/usr/local/etc/kamailio#
                                  tail -f /var/lo</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">local/
                                  lock/&nbsp; log/&nbsp;&nbsp; </span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">debian:/usr/local/etc/kamailio#
                                  tail -f /var/log/syslog</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian kamailio: WARNING:
                                  &lt;core&gt; [socket_info.c:1275]:
                                  WARNING: fix_hostname: could not rev.
                                  resolve 192.168.111.139</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian kamailio: WARNING:
                                  &lt;core&gt; [socket_info.c:1275]:
                                  WARNING: fix_hostname: could not rev.
                                  resolve 192.168.111.139</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian kamailio: INFO:
                                  &lt;core&gt; [tcp_main.c:4727]:
                                  init_tcp: using epoll_lt as the io
                                  watch method (auto detected)</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  usrloc [hslot.c:53]: locks array size
                                  512</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  drouting [drouting.c:272]: DRouting -
                                  initializing</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  &lt;core&gt; [udp_server.c:179]: INFO:
                                  udp_init: SO_RCVBUF is initially
                                  111616</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  &lt;core&gt; [udp_server.c:230]: INFO:
                                  udp_init: SO_RCVBUF is finally 262142</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  &lt;core&gt; [udp_server.c:179]: INFO:
                                  udp_init: SO_RCVBUF is initially
                                  111616</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:30 debian
                                  /usr/local/sbin/kamailio[19296]: INFO:
                                  &lt;core&gt; [udp_server.c:230]: INFO:
                                  udp_init: SO_RCVBUF is finally 262142</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 05:57:31 debian
                                  /usr/local/sbin/kamailio[19310]: INFO:
                                  ctl [io_listener.c:225]:
                                  io_listen_loop:&nbsp; using epoll_lt io
                                  watch method (config)</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">2)
                                  When I do the call from x-lite by
                                  dialing 961222222, after few seconds I
                                  get Call Failed: Request Timeout on
                                  x-lite, and the syslog &nbsp;shows:</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">an:/usr/local/etc/kamailio#
                                  tail -f /var/log/syslog</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19305]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19309]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19310]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19314]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19312]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19316]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19307]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19320]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19318]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Feb
                                  24 06:00:39 debian
                                  /usr/local/sbin/kamailio[19301]: INFO:
                                  &lt;core&gt; [main.c:817]: INFO:
                                  signal 15 received</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">There
                                  is no error raised; So, shall I
                                  consider this as Kamailio crash and
                                  focus my search on this as you
                                  mentioned previously? Or I need help
                                  in achieving correct route script in
                                  the routing logic?</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">F.Chahrour</span><o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
                              <div style="border:none;border-top:solid
                                #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                                    <a moz-do-not-send="true"
                                      href="mailto:sr-users-bounces@lists.sip-router.org"
                                      target="_blank">sr-users-bounces@lists.sip-router.org</a>
                                    [mailto:<a moz-do-not-send="true"
                                      href="mailto:sr-users-bounces@lists.sip-router.org"
                                      target="_blank">sr-users-bounces@lists.sip-router.org</a>]
                                    <b>On Behalf Of </b>Stoyan Mihaylov<br>
                                    <b>Sent:</b> Friday, February 24,
                                    2012 2:48 PM<br>
                                    <b>To:</b> SIP Router - Kamailio
                                    (OpenSER) and SIP Express Router
                                    (SER) - Users Mailing List<br>
                                    <b>Subject:</b> Re: [SR-Users]
                                    DRouting cause Kamailio 3.2 to stop</span><o:p></o:p></p>
                              </div>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                              <p class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                                suppose - kamailio crashes. You can run
                                in console on same server:<o:p></o:p></p>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">tail
                                  -f /var/log/syslog<o:p></o:p></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">or
                                  you can tail file where sys logs are
                                  stored.<o:p></o:p></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">There
                                  - you can see some debugs, and you can
                                  check discussion about kamailio
                                  crashes and how to get dump file.<o:p></o:p></p>
                              </div>
                              <div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;margin-bottom:12.0pt">This
                                  way you will identify problem and then
                                  either you will fix your cfg file, or
                                  you can report bug.<o:p></o:p></p>
                                <div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
                                    Thu, Feb 23, 2012 at 6:01 PM, Fatima
                                    Chahrour~Vanrise Support &lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:fchahrour@vanrise.com"
                                      target="_blank">fchahrour@vanrise.com</a>&gt;
                                    wrote:<o:p></o:p></p>
                                  <div>
                                    <div>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                                        am newly experiencing kamailio
                                        3.2. I have installed kamailio
                                        and MySQL and tried the test
                                        call from 1 PC(x-lite) to
                                        another PC(x-lite) and ended
                                        successfully.<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Now
                                        moving further, I have
                                        configured dynamic routing
                                        module and applied needed
                                        parameters and scripts to
                                        finally be able to start
                                        kamailio without any issue. Also
                                        I set a testing scenario in the
                                        related database tables<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">BUT
                                        my problem is that whenever am
                                        trying to call the predefined
                                        prefix (961) from x-lite am
                                        getting a &#8216;calling&#8217; message on
                                        it and then request timeout
                                        where I find that kamailio has
                                        stopped running. I kamctrl start
                                        again and call 961 then get
                                        calling so I wait and kamailio
                                        stps again. Below is the script
                                        used in the routing logic and
                                        database record.<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any
                                        help to achieve a successful
                                        call is highly appreciated.<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">dr_gatways:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        3, 1, '192.168.111.15', 0, '',
                                        '', 2, 'PC1'<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">dr_groups:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        2, '.*', '.*', 0, 'Anyone'<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">dr_gw_lists:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        2, '3', 'Test Call'<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">dr_rules:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        2, '0', '961', '', 0, '1', '#2',
                                        'Lebanon Fix'<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">####### Routing
                                          Logic ########</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;"># main request
                                          routing logic</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">route{</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">&nbsp;</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">&nbsp; if
                                          (is_method("INVITE")) {</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">&nbsp;&nbsp;&nbsp; setflag(1); #
                                          do accounting</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">&nbsp;&nbsp;&nbsp; route(4); #
                                          Call our dynamic route.</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">&nbsp; }</span><o:p></o:p></p>
                                      <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt"><span
                                          style="font-size:10.0pt;font-family:&quot;Courier
                                          New&quot;">}</span><o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&#8230;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&#8230;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&#8230;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <o:p></o:p></p>
                                      <pre style="line-height:13.5pt">route[4] {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp; if (!do_routing("0")) {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; send_reply("503", "No Rules matching the URI");<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt"><o:p>&nbsp;</o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; exit;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp; }<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp; if (is_method("INVITE")) {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; t_on_failure("4");<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp; }<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">route(RELAY);<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt"><o:p>&nbsp;</o:p></pre>
                                      <pre style="line-height:13.5pt">}<o:p></o:p></pre>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">..<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">..<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">..<o:p></o:p></p>
                                      <pre style="line-height:13.5pt">&nbsp;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt"><o:p>&nbsp;</o:p></pre>
                                      <pre style="line-height:13.5pt">failure_route[4] {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; if (use_next_gw()) {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; } else {<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_reply ("503", "Service not available");<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;&nbsp;&nbsp; }<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">&nbsp;<o:p></o:p></pre>
                                      <pre style="line-height:13.5pt">}<o:p></o:p></pre>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks
                                        in Advance,<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">F.Chahrour<o:p></o:p></p>
                                      <p class="MsoNormal"
                                        style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                                    </div>
                                  </div>
                                  <p class="MsoNormal"
                                    style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
_______________________________________________<br>
                                    SIP Express Router (SER) and
                                    Kamailio (OpenSER) - sr-users
                                    mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:sr-users@lists.sip-router.org"
                                      target="_blank">sr-users@lists.sip-router.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                      target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p>
                                </div>
                                <p class="MsoNormal"
                                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                              </div>
                            </div>
                          </div>
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
_______________________________________________<br>
                            SIP Express Router (SER) and Kamailio
                            (OpenSER) - sr-users mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:sr-users@lists.sip-router.org"
                              target="_blank">sr-users@lists.sip-router.org</a><br>
                            <a moz-do-not-send="true"
                              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p>
                        </div>
                        <p class="MsoNormal"
                          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
              _______________________________________________<br>
              SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
              mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<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>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>