<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you can place any new modules in old version of kamailio, but they
    were not tested and not supported officially by the project. Anyhow,
    if you get an issue with a new public module, likely it is in the
    master branch as well and we will fix it if you provide the
    backtrace when it happens again.<br>
    <br>
    The statsd module is now in master branch of Kamailio repository,
    you don't need to take it from eloycoto repository. Eloy is
    maintaining it in Kamailio project as well.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 18/05/15 17:10, Federico San Martín
      wrote:<br>
    </div>
    <blockquote
cite="mid:588652624.5687778.1431961809653.JavaMail.zimbra@telecentro.net.ar"
      type="cite">
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000">
        <div>Hi Daniel, thanks for your prompt response. I read the
          module's GitHub readme and there it says that it can be
          installed with 4.2:</div>
        <div><br>
        </div>
        <div>
          <p style="box-sizing: border-box; margin: 0px; color: #333333;
            font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial,
            freesans, sans-serif; line-height: 25.6000003814697px;"
            data-mce-style="box-sizing: border-box; margin: 0px; color:
            #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe
            UI', Arial, freesans, sans-serif; line-height:
            25.6000003814697px;">Fetch kamailio code:</p>
          <pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;" data-mce-style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: t
ransparent;" data-mce-style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;">git clone --depth 1 --no-single-branch git://git.sip-router.org/kamailio kamailio
cd kamailio
git checkout -b 4.2 origin/4.2
</code></pre>
          <p style="box-sizing: border-box; margin: 0px; color: #333333;
            font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial,
            freesans, sans-serif; line-height: 25.6000003814697px;"
            data-mce-style="box-sizing: border-box; margin: 0px; color:
            #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe
            UI', Arial, freesans, sans-serif; line-height:
            25.6000003814697px;">Add the module:</p>
          <pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;" data-mce-style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: t
ransparent;" data-mce-style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;">git submodule add <a class="moz-txt-link-freetext" href="https://github.com/eloycoto/statsd">https://github.com/eloycoto/statsd</a> modules/statsd
git submodule update
</code></pre>
          <p style="box-sizing: border-box; margin: 0px; color: #333333;
            font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial,
            freesans, sans-serif; line-height: 25.6000003814697px;"
            data-mce-style="box-sizing: border-box; margin: 0px; color:
            #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe
            UI', Arial, freesans, sans-serif; line-height:
            25.6000003814697px;">Compile the module:</p>
          <pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;" data-mce-style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; margin-top: 0px; margin-bottom: 16px; font-stretch: normal; line-height: 1.45; padding: 16px; border-radius: 3px; word-wrap: normal; color: #333333; background-color: #f7f7f7;"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: t
ransparent;" data-mce-style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6000003814697px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;">make include_modules="statsd" cfg
make</code></pre>
        </div>
        <div>
          <p style="margin: 0px;" data-mce-style="margin: 0px;"><span
              style="font-size: 9.0pt; font-family: 'Segoe
              UI','sans-serif';" data-mce-style="font-size: 9.0pt;
              font-family: 'Segoe UI','sans-serif';"></span></p>
          <span name="x"></span>I can't reproduce it, it happened only
          once last Friday and I've monitored the system over the
          weekend and didn't happen again... I checked the logs
          (/var/log/messages and /var/log/kamailio.log) and I don't see
          any other messages for PID 21149. What I did is enable the
          CORE Dump after the issue so that now if it happens again I
          can have it.</div>
        <div><br>
        </div>
        <div>Thanks!</div>
        <div><br>
        </div>
        <div>Federico</div>
        <div><br>
        </div>
        <hr id="zwchr">
        <div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"
          data-mce-style="color: #000; font-weight: normal; font-style:
          normal; text-decoration: none; font-family:
          Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Daniel-Constantin
          Mierla" <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
          <b>To: </b>"Kamailio (SER) - Users Mailing List"
          <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org"><sr-users@lists.sip-router.org></a><br>
          <b>Sent: </b>Friday, May 15, 2015 5:45:56 PM<br>
          <b>Subject: </b>Re: [SR-Users] Kamailio 4.2.4 segfault and
          crash<br>
          <div><br>
          </div>
          Hello,<br>
          <br>
          I see you have statsd module, but that is not part of the
          4.2.x series. Have you backport that?<br>
          <br>
          Can you reproduce it? Or it happened once?<br>
          <br>
          Also, the error logs after crash are not that relevant, can
          you see what log messages were printed by PID 21149 before the
          crash?<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <br>
          <div class="moz-cite-prefix">On 15/05/15 21:55, Federico San
            Martín wrote:<br>
          </div>
          <blockquote
cite="mid:738028199.2535845.1431719759842.JavaMail.zimbra@telecentro.net.ar">
            <div style="font-family: times new roman, new york, times,
              serif; font-size: 12pt; color: #000000"
              data-mce-style="font-family: times new roman, new york,
              times, serif; font-size: 12pt; color: #000000;">
              <div>Hi all, I just experienced a sudden crash from one of
                my Kamailio servers. I'm using v4.2.4 built from git
                repository (branch remotes/origin/4.2). The error logs
                show this at the time of the crash (I'm using debug=1 on
                config file)</div>
              <div><br>
              </div>
              <div>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">May
                  15 15:59:53 KAMAILIO-ERS1 kamailio[21162]: CRITICAL:
                  <core> [pass_fd.c:293]: receive_fd(): EOF on 19<br>
                  May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT:
                  <core> [main.c:784]: handle_sigs(): child
                  process 21149 exited by a signal 11<br>
                  May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT:
                  <core> [main.c:787]: handle_sigs(): core was not
                  generated</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">May
                  15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.186585]
                  kamailio[21149]: segfault at 20b6 ip 00000000000020b6
                  sp 00007ffeb0c2bc88 error 14 in
                  kamailio[400000+3c3000]<br>
                  May 15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.214933]
                  kamailio[21141]: segfault at 2290 ip 0000000000002290
                  sp 00007ffeb0c2c4d8 error 14 in
                  kamailio[400000+3c3000]</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">The
                  modules I'm using are:</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">loadmodule
                  "mi_fifo.so"<br>
                  loadmodule "db_mysql.so"<br>
                  loadmodule "sqlops.so"<br>
                  loadmodule "tm.so"<br>
                  loadmodule "sl.so"<br>
                  loadmodule "pv.so"<br>
                  loadmodule "xlog.so"<br>
                  loadmodule "maxfwd.so"<br>
                  loadmodule "siputils.so"<br>
                  loadmodule "sanity.so"<br>
                  loadmodule "textops.so"<br>
                  loadmodule "rr.so"<br>
                  loadmodule "statsd.so"</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">Have
                  you noticed this error before? This server has a very
                  simple config, for every invite received, it queries a
                  MySQL database to replace the called number from 3
                  digits to 8-10 digits (for example 135 is translated
                  to 1152751135) and sends back a 300 Redirect with the
                  new number. </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">Another
                  thing to notice is that this server was working at
                  3-4% CPU load and when the issue happen it spiked to
                  53%...</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">Let
                  me know I can provide any other info that could be
                  useful.</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">Thanks!</p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <p style="margin: 0px;" data-mce-style="margin: 0px;">Federico</p>
              </div>
              <div><br>
              </div>
              <div><span></span>
                <div style="background-color: #fdfdfd;"
                  data-mce-style="background-color: #fdfdfd;"><span
                    style="font-family: tahoma, 'new york', times,
                    serif;" data-mce-style="font-family: tahoma, 'new
                    york', times, serif;">Federico San Martín</span><br>
                  <span style="font-family: tahoma, 'new york', times,
                    serif; font-size: small;"
                    data-mce-style="font-family: tahoma, 'new york',
                    times, serif; font-size: small;">Ingeniería de
                    Telefonía</span></div>
                <div style="background-color: #fdfdfd;"
                  data-mce-style="background-color: #fdfdfd;"><span
                    style="font-family: tahoma, 'new york', times,
                    serif; font-size: small;"
                    data-mce-style="font-family: tahoma, 'new york',
                    times, serif; font-size: small;"></span><span
                    style="font-family: tahoma, 'new york', times,
                    serif; font-size: small;"
                    data-mce-style="font-family: tahoma, 'new york',
                    times, serif; font-size: small;">TeleCentro S.A.</span></div>
                <div style="background-color: #fdfdfd;"
                  data-mce-style="background-color: #fdfdfd;"><span
                    style="font-family: tahoma, 'new york', times,
                    serif; font-size: small;"
                    data-mce-style="font-family: tahoma, 'new york',
                    times, serif; font-size: small;">Cnel. Apolinario
                    Figueroa 254 Piso 4to</span></div>
                <div style="background-color: #fdfdfd;"
                  data-mce-style="background-color: #fdfdfd;">
                  <p style="margin: 0px; font-size: 11pt; font-family:
                    Calibri, sans-serif;" data-mce-style="margin: 0px;
                    font-size: 11pt; font-family: Calibri, sans-serif;"><span
                      style="font-size: small; font-family: tahoma, 'new
                      york', times, serif;" data-mce-style="font-size:
                      small; font-family: tahoma, 'new york', times,
                      serif;">CABA - C1414EDF</span></p>
                  <p style="margin: 0px; font-size: 11pt; font-family:
                    Calibri, sans-serif;" data-mce-style="margin: 0px;
                    font-size: 11pt; font-family: Calibri, sans-serif;"><span
                      style="font-family: tahoma, 'new york', times,
                      serif; font-size: small;"
                      data-mce-style="font-family: tahoma, 'new york',
                      times, serif; font-size: small;">Fijo : <span
                        class="Object"
                        id="OBJ_PREFIX_DWT490_com_zimbra_phone"
                        style="color: #336699; cursor: pointer;"
                        data-mce-style="color: #336699; cursor:
                        pointer;"><a moz-do-not-send="true"
                          href="callto:+54%2011%203977%201096"
                          style="color: #336699; text-decoration: none;
                          cursor: pointer;" target="_blank"
                          data-mce-href="callto:+54%2011%203977%201096"
                          data-mce-style="color: #336699;
                          text-decoration: none; cursor: pointer;">+54
                          11 3977 10</a>45</span></span></p>
                  <p style="margin: 0px; font-size: 11pt; font-family:
                    Calibri, sans-serif;" data-mce-style="margin: 0px;
                    font-size: 11pt; font-family: Calibri, sans-serif;"><span
                      style="font-family: tahoma, 'new york', times,
                      serif; font-size: small;"
                      data-mce-style="font-family: tahoma, 'new york',
                      times, serif; font-size: small;">Móvil : <span
                        class="Object"
                        id="OBJ_PREFIX_DWT491_com_zimbra_phone"
                        style="color: #336699; cursor: pointer;"
                        data-mce-style="color: #336699; cursor:
                        pointer;"><a moz-do-not-send="true"
                          href="callto:+54%209%2011%202647%201063"
                          style="color: #336699; text-decoration: none;
                          cursor: pointer;" target="_blank"
                          data-mce-href="callto:+54%209%2011%202647%201063"
                          data-mce-style="color: #336699;
                          text-decoration: none; cursor: pointer;">+54 9
                          11 5824 </a>3240</span></span></p>
                  <p style="margin: 0px; font-size: 11pt; font-family:
                    Calibri, sans-serif;" data-mce-style="margin: 0px;
                    font-size: 11pt; font-family: Calibri, sans-serif;"><span
                      style="font-family: tahoma, 'new york', times,
                      serif; font-size: small;"
                      data-mce-style="font-family: tahoma, 'new york',
                      times, serif; font-size: small;">e-mail : <a
                        moz-do-not-send="true"
                        href="mailto:fsanmartin@telecentro.net.ar"
                        target="_blank"
                        data-mce-href="mailto:fsanmartin@telecentro.net.ar">fsanmartin@telecentro.net.ar</a></span></p>
                  <p style="margin: 0px; font-size: 11pt; font-family:
                    Calibri, sans-serif;" data-mce-style="margin: 0px;
                    font-size: 11pt; font-family: Calibri, sans-serif;"><img
                      moz-do-not-send="true" style="font-family: tahoma,
                      'new york', times, serif; font-size: small;"
src="https://webmail.telecentro.net.ar/service/home/%7E/?auth=co&id=5089&part=2.2"
                      data-mce-style="font-family: tahoma, 'new york',
                      times, serif; font-size: small;" width="140"
                      height="29"></p>
                </div>
                <p style="margin: 0px;" data-mce-style="margin: 0px;"><br>
                </p>
                <span></span><br>
              </div>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank" data-mce-href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" data-mce-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">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank" data-mce-href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank" data-mce-href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kamailioworld.com" target="_blank" data-mce-href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>