<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Hi Chris,<br>
      <br>
      The t_release() usage depends on the scenario - this function
      makes sense only when dealing with transactions which were neither
      fwd, nor replied from script. So, some corner cases.<br>
      <br>
      Go for 1.8, it will definitely make your day - if you need help
      with migrating your script, feel free to post on the mailing list.<br>
      <br>
      Regards,<br>
    </tt>
    <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>
    <br>
    On 01/25/2013 07:34 PM, Chris Stone wrote:
    <blockquote
cite="mid:CA+mO9gEty3eNh-ZrxNSu=YnT+yWhX3VGN915G_dWpfh-A6op+A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Bogdan-Andrei,<br>
              <br>
              Thanks - will look over that document. <br>
              <br>
            </div>
            I have added tm_release() calls to the exit parts of my
            opensips.cfg script. I see that was removed in 1.5, but in
            1.4, I should be using that correct?<br>
            <br>
          </div>
          I did try and upgrade a while back to a 1.6 version, but it
          crashed and burned on my opensips.cfg script and I've just not
          had time to go through it and get it converted to work under
          1.6. Guess I may need to move that up on the list though....<br>
          <br>
          <br>
        </div>
        Chris<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Jan 25, 2013 at 5:55 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> <tt>Hi Chris,<br>
                <br>
                First, 1.4 is a really old version, witch is not
                maintained any more. I strongly suggest to upgrade one
                of the maintained versions. Otherwise, you cannot
                benefit of all fixes which were done in the mean time.<br>
                <br>
                Now, on how to troubleshoot this problem, see:<br>
                &nbsp;&nbsp;&nbsp; <a moz-do-not-send="true"
                  href="http://www.opensips.org/Resources/DocsTsMem"
                  target="_blank">http://www.opensips.org/Resources/DocsTsMem</a><br>
                <br>
                If you need assistance, let me know.<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 class="h5"> <br>
                  On 01/24/2013 07:09 PM, Chris Stone wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>Started getting some errors last night
                            from Opensips:<br>
                            <br>
                            Jan 23 19:19:01 mars /sbin/opensips[23215]:
                            ORIGINAL-INVITE [method=INVITE, from=<a
                              moz-do-not-send="true"
                              href="mailto:sip%3AUnavailable@10.10.10.174"
                              target="_blank">sip:Unavailable@10.10.10.174</a>,
                            to=<a moz-do-not-send="true"
                              href="mailto:sip%3A18885551212@10.10.10.178"
                              target="_blank">sip:18885551212@10.10.10.178</a>,
                            src_ip=10.10.10.174] <br>
                            Jan 23 19:19:01 mars /sbin/opensips[23215]:
                            INFO:core:XS_OpenSIPS__Message_log: SQL
                            query did not find the phone number <a
                              moz-do-not-send="true"
                              href="tel:8885551212" value="+18885551212"
                              target="_blank">8885551212</a> - default
                            routing in effect. <br>
                            Jan 23 19:19:01 mars /sbin/opensips[23215]:
                            ERROR:core:add_avp: no more shm mem <br>
                            Jan 23 19:19:01 mars /sbin/opensips[23215]:
                            &lt;INVITE&gt; from &lt;<a
                              moz-do-not-send="true"
                              href="mailto:sip%3AUnavailable@10.10.10.174"
                              target="_blank">sip:Unavailable@10.10.10.174</a>&gt;

                            to &lt;<a moz-do-not-send="true"
                              href="mailto:sip%3A18885551212@10.10.10.178"
                              target="_blank">sip:18885551212@10.10.10.178</a>&gt;

                            r-uri &lt;<a moz-do-not-send="true"
                              href="http://sip:+18885551212@10.0.157.10:5060"
                              target="_blank">sip:+18885551212@10.0.157.10:5060</a>&gt;

                            src_ip &lt;10.10.10.174&gt; =&gt; Unable to
                            locate a working gateway to send call to. <br>
                            Jan 23 19:19:01 mars /sbin/opensips[23215]:
                            ERROR:tm:w_t_reply: failed to send a t_reply
                            to a message for which no transaction-state
                            has been established <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:new_dlg_uac: No memory left <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:tm:req_outside: failed to create new
                            dialog <br>
                            Jan 23 19:19:02 mars /sbin/opensips[23240]:
                            ERROR:dispatcher:ds_check_timer: unable to
                            execute dialog <br>
                            <br>
                            <br>
                          </div>
                          We are running:<br>
                          <br>
                          version: opensips 1.4.0-notls (x86_64/linux)<br>
                          flags: STATS: Off, USE_IPV6, USE_TCP,
                          DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP,
                          PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
                          ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                          262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
                          BUF_SIZE 65535<br>
                          poll method support: poll, epoll_lt, epoll_et,
                          sigio_rt, select.<br>
                          svnrevision: unknown<br>
                          @(#) $Id: main.c 4504 2008-07-29 09:55:03Z
                          bogdan_iancu $<br>
                          main.c compiled on 18:29:29 Aug 31 2012 with
                          gcc 4.1.2<br>
                          <br>
                        </div>
                        Using Opensips as simply a SIP proxy relaying
                        calls - handles no media.<br>
                        <br>
                      </div>
                      Is there some memory cleanup work I should be
                      doing in my script maybe? Any suggestions would be
                      greatly appreciated.<br>
                      <br>
                      <br>
                      Chris <br>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
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>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Chris Stone<br>
        AxisInternet, Inc.<br>
        <a moz-do-not-send="true" href="http://www.axint.net">www.axint.net</a><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>