aboutsummaryrefslogblamecommitdiffstats
path: root/lib/megaco/doc/src/notes.xml
blob: e4efdf3dde32c30217bc04e4f8adea96e29f7cc9 (plain) (tree)
1
2
3
4
5
6
7
                                            




                                       
                                        







                                                                         
 



                                                                            
 















                                                                                   
 
                                       
 

                                                                  








                                                  



                                                                








                                                

      
              

      
                            
              






                                                                


























                                                         







































































                                                                    



















                                                                    
              





                                                              






































                                                                   
                              

 
                                     
 
                                                                










                                                  
                                                                            


                                 
              






                                                                                




                                                             
              

                                                                              
                                 

               




















                                                                   

                                      
              
 
    




                                                         
                                 


               
   



                          

 









































                                                                    












































                                                                       


                                                         





                            
              

                                           



               



















                                                                 
 
           































































                                                                       























                                                                   
    
              
   
 

                            
                                                                








                                                                   




                                                                       

               
              
                                                                 




                                  
             






                            
                              
 
                                                                




                                                  
    
              
   
 

                            
                                                                              
                                                                   



                                 



                                                                       
               





                                                                  










                                                

                                                                         
                                                                           









                                                                             





               
                          


           















































































































































































                                                                                                     






                                                                                
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2000</year><year>2013</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      The contents of this file are subject to the Erlang Public License,
      Version 1.1, (the "License"); you may not use this file except in
      compliance with the License. You should have received a copy of the
      Erlang Public License along with this software. If not, it can be
      retrieved online at http://www.erlang.org/.

      Software distributed under the License is distributed on an "AS IS"
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
      the License for the specific language governing rights and limitations
      under the License.

    </legalnotice>

    <title>Megaco Release Notes</title>
    <prepared>Lars Thors&eacute;n, H&aring;kan Mattsson, Micael Karlberg</prepared>
    <docno></docno>
    <date></date>
    <rev>%VSN%</rev>
    <file>notes.xml</file>
  </header>
  <p>This document describes the changes made to the Megaco system
    from version to version. The intention of this document is to
    list all incompatibilities as well as all enhancements and
    bugfixes for every release of Megaco. Each release of Megaco
    thus constitutes one section in this document. The title of each
    section is the version number of Megaco.</p>


  <section><title>Megaco 3.16.1</title>

    <p>Version 3.16.1 supports code replacement in runtime from/to
      version 3.16.0.2, 3.16.0.1, 3.16 and 3.15.1.1.</p>

    <section>
      <title>Improvements and new features</title>

      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>Allow whitespaces in installation path. </p>
          <p>It is now possible to give configure and make an 
	  installation/release path with whitespaces in it. </p>
          <p>Own Id: OTP-10107</p>
        </item>

     </list>
-->

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      
 <!--
      <p>-</p>
 -->
      
      <list type="bulleted">
	<item>
          <p>Buffer overrun error while flex scanner processing 
	  property parm groups. </p>
          <p>This error occured only for large messages if a 
	  buffer realloc was needed while processing the 
	  property parm groups. </p>
          <p>Own Id: OTP-10998</p>
          <p>Aux Id: Seq 12263</p>
	</item>
	
      </list>
      
    </section>

    <section>
      <title>Incompatibilities</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
	  <p>Due to the change in the flex driver API, 
	  we may no longer be able to build and/or use 
	  the flex driver without reentrant support. </p>
          <p>Own Id: OTP-9795</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.16.1 -->


  <section><title>Megaco 3.16.0.2</title>

    <p>Version 3.16.0.2 supports code replacement in runtime from/to
      version 3.16.0.1, 3.16, 3.15.1.1, 3.15.1 and 3.15.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Allow whitespaces in installation path. </p>
          <p>It is now possible to give configure and make an 
	  installation/release path with whitespaces in it. </p>
          <p>Own Id: OTP-10107</p>
        </item>

        <item>
          <p>Fix parallel make for behaviours. </p>
        </item>

        <item>
          <p>Removed use of deprecated system flag, 
	  <c>global_haeps_size</c>, in the measurement tool 
	  <c>mstone1</c>. </p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      
      <p>-</p>
      
 <!--
      <list type="bulleted">
	<item>
	  <p>Fixing miscellaneous things detected by dialyzer. </p>
	  <p>Own Id: OTP-9075</p>
	</item>
	
      </list>
 -->
      
    </section>

    <section>
      <title>Incompatibilities</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
	  <p>Due to the change in the flex driver API, 
	  we may no longer be able to build and/or use 
	  the flex driver without reentrant support. </p>
          <p>Own Id: OTP-9795</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.16.0.2 -->


  <section><title>Megaco 3.16.0.1</title>

    <p>Version 3.16.0.1 supports code replacement in runtime from/to
      version 3.16, 3.15.1.1, 3.15.1 and 3.15.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
	  <p>Fixed some faulty test cases. </p>
<!--
          <p>Own Id: OTP-9795</p>
-->
        </item>

        <item>
          <p>Removed use of deprecated system flag, 
	  <c>scheduler_bind_type</c>, in the measurement tool 
	  <c>mstone1</c>. </p>
          <p>Own Id: OTP-9949</p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      
      <p>-</p>
      
 <!--
      <list type="bulleted">
	<item>
	  <p>Fixing miscellaneous things detected by dialyzer. </p>
	  <p>Own Id: OTP-9075</p>
	</item>
	
      </list>
 -->
      
    </section>

    <section>
      <title>Incompatibilities</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
	  <p>Due to the change in the flex driver API, 
	  we may no longer be able to build and/or use 
	  the flex driver without reentrant support. </p>
          <p>Own Id: OTP-9795</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.16.0.1 -->


  <section><title>Megaco 3.16</title>

    <p>Version 3.16 supports code replacement in runtime from/to
      version 3.15.1.1, 3.15.1 and 3.15.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Minor improvements to the measurement tool <c>mstone1</c>. </p>
          <p>Own Id: OTP-9604</p>
        </item>

        <item>
	  <p>ASN.1 no longer makes use of a driver to accelerate encode/decode, 
	  instead it uses NIFs. The encoding config option is <em>still</em> 
	  the same, i.e. <c>driver</c>. </p>
          <p>Own Id: OTP-9672</p>
        </item>

        <item>
	  <p>The profiling test tool has been rewritten. </p>
	  <p>H&aring;kan Mattsson</p>
          <p>Own Id: OTP-9679</p>
        </item>

        <item>
	  <p>The flex driver has been updated to support the new driver format
	  (changed to enable 64-bit aware drivers). </p>
          <p>Own Id: OTP-9795</p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      
      <p>-</p>
      
 <!--
      <list type="bulleted">
	<item>
	  <p>Fixing miscellaneous things detected by dialyzer. </p>
	  <p>Own Id: OTP-9075</p>
	</item>
	
      </list>
 -->
      
    </section>

    <section>
      <title>Incompatibilities</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
	  <p>Due to the change in the flex driver API, 
	  we may no longer be able to build and/or use 
	  the flex driver without reentrant support. </p>
          <p>Own Id: OTP-9795</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.16 -->


  <section><title>Megaco 3.15.1.1</title>

    <p>Version 3.15.1.1 supports code replacement in runtime from/to
      version 3.15.1 and 3.15.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Correct various XML errors. </p>
          <p>Own Id: OTP-9550</p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      
      <p>-</p>
      
 <!--
      <list type="bulleted">
	<item>
	  <p>Fixing miscellaneous things detected by dialyzer. </p>
	  <p>Own Id: OTP-9075</p>
	</item>
	
      </list>
 -->
      
    </section>

  </section> <!-- 3.15.1.1 -->


  <section><title>Megaco 3.15.1</title>

    <p>Version 3.15.1 supports code replacement in runtime from/to
      version 3.15, 3.14.1.1, 3.14.1 and 3.14.</p>

    <section>
      <title>Improvements and new features</title>

      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>Updated the 
            <seealso marker="megaco_performance">performance</seealso> 
            chapter. </p>
          <p>Own Id: OTP-8696</p>
        </item>

     </list>
-->

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Fixing miscellaneous things detected by dialyzer. </p>
          <p>Own Id: OTP-9075</p>
	  <!-- <p>Aux Id: Seq 11579</p> -->
        </item>

      </list>

    </section>

  </section> <!-- 3.15.1 -->


  <section><title>Megaco 3.15</title>

    <section><title>Improvements and New Features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Fixing auto-import issues.</p>
          <p>Own Id: OTP-8842</p>
        </item>
      </list>
    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>Eliminated a possible race condition while creating 
            pending counters. </p>
          <p>Own Id: OTP-8634</p>
	  <p>Aux Id: Seq 11579</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.15 -->


  <section>
    <title>Megaco 3.14.1.1</title>

    <p>Version 3.14.1.1 supports code replacement in runtime from/to
      version 3.14.1, 3.14, 3.13, 3.12 and 3.11.3.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Updated the 
            <seealso marker="megaco_performance">performance</seealso> 
            chapter. </p>
          <p>Own Id: OTP-8696</p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>A race condition when, during high load, processing
            both the original and a resent message and delivering
            this as two separate messages to the user. </p>
          <p>Note that this solution only protects against multiple
            reply deliveries! </p>
          <p>Own Id: OTP-8529</p>
          <p>Aux Id: Seq 10915</p>
        </item>

        <item>
          <p>Fix shared libraries installation. </p>
          <p>The flex shared lib(s) were incorrectly installed as data 
            files. </p>
          <p>Peter Lemenkov</p>
          <p>Own Id: OTP-8627</p>
        </item>

        <item>
          <p>Eliminated a possible race condition while creating 
            pending counters. </p>
          <p>Own Id: OTP-8634</p>
	  <p>Aux Id: Seq 11579</p>
        </item>

      </list>
-->

    </section>

  </section> <!-- 3.14.1.1 -->


  <section>
    <title>Megaco 3.14.1</title>

    <p>Version 3.14.1 supports code replacement in runtime from/to
      version 3.14, 3.13, 3.12 and 3.11.3.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>A minor compiler related performance improvement. </p>
          <p>Own Id: OTP-8561</p>
        </item>

     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>A race condition when, during high load, processing
            both the original and a resent message and delivering
            this as two separate messages to the user. </p>
          <p>Note that this solution only protects against multiple
            reply deliveries! </p>
          <p>Own Id: OTP-8529</p>
          <p>Aux Id: Seq 10915</p>
        </item>

        <item>
          <p>Fix shared libraries installation. </p>
          <p>The flex shared lib(s) were incorrectly installed as data 
            files. </p>
          <p>Peter Lemenkov</p>
          <p>Own Id: OTP-8627</p>
        </item>

        <item>
          <p>Eliminated a possible race condition while creating 
            pending counters. </p>
          <p>Own Id: OTP-8634</p>
	  <p>Aux Id: Seq 11579</p>
        </item>

      </list>

    </section>

  </section> <!-- 3.14.1 -->


  <section>
    <title>Megaco 3.14</title>

    <p>Version 3.14 supports code replacement in runtime from/to
      version 3.13, 3.12 and 3.11.3.</p>

    <section>
      <title>Improvements and new features</title>

<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Various changes to configure and makefile(s) to facilitate cross 
            compilation (and other build system improvements). </p>
          <p>Own Id: OTP-8323</p>
        </item>

        <item>
          <p>Added a help target in the test Makefile to explain 
            the most useful make targets, used when testing the 
            application using the test-server provided with megaco.</p>
          <p>Own Id: OTP-8362</p>
        </item>
 
        <item>
          <p>Adapted megaco_filter to the new internal format.</p>
          <p>Own Id: OTP-8403</p>
        </item>
     </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Callbacks, when the callback module is unknown (undefined), 
            results in warning messages. </p>
          <p>A race condition scenario. As part of a cancelation operation,
            replies with waiting acknowledgements is cancelled. This includes
            informing the user (via a call to the handle_trans_ack callback 
            function). It is possible that at this point the connection data 
            has been removed, which makes it impossible for megaco to 
            perform this operation, resulting in the warning message. The 
            solution is to also store the callback module with the other 
            reply information, to be used when cleaning up after a 
            cancelation. </p>
          <p>Own Id: OTP-8328</p>
	  <p>Aux Id: Seq 11384</p>
        </item>

      </list>

    </section>

  </section> <!-- 3.14 -->


  <section>
    <title>Megaco 3.13</title>

    <p>Version 3.13 supports code replacement in runtime from/to
      version 3.12 and 3.11.3.</p>

    <section>
      <title>Improvements and new features</title>
<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>A minor optimization by using ets:update_element
            instead of ets:insert for some table updates.</p>
          <p>Own Id: OTP-8239</p>
	  <!-- <p>Aux Id: Seq 11332</p> -->
        </item>

        <item>
          <p>The documentation is now built with open source tools 
            (<em>xsltproc</em> and <em>fop</em>) that exists on most 
            platforms. One visible change is that the frames are removed.</p>
          <p>Own Id: OTP-8249</p>
        </item>

      </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>Replacing obsolete guard tests.</p>
          <p>Own Id: OTP-8164</p>
	  <p>Aux Id: Seq 11332</p>
        </item>

      </list>
-->

    </section>

    <section>
      <title>Incompatibilities</title>
      <p>-</p>

<!--
      <list type="bulleted">
        <item>
          <p>For those implementing their own codec's, the new megaco_encoder
            behaviour will require three more functions. See above for more
            info. </p>
          <p>Own Id: OTP-7168</p>
	  <p>Aux Id: Seq 10867</p>
        </item>

      </list>
-->

    </section>
  </section> <!-- 3.13 -->


  <section>
    <title>Megaco 3.12</title>

<!--
    <p>Version 3.12 supports code replacement in runtime from/to
      version 3.11.3.</p>
-->

    <section>
      <title>Improvements and new features</title>
<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>Improve handling of async transaction reply. </p>
          <p>For asynchronous requests, issued using 
            <seealso marker="megaco#cast">megaco:cast/3</seealso>, 
            the reply will be delivered using the 
            <seealso marker="megaco_user#trans_reply">handle_trans_reply/4,5</seealso> 
            callback function. </p>
          <p>If a receiver of a request, issued using 
            <seealso marker="megaco#cast">megaco:cast/3</seealso>, 
            does not reply in time, megaco re-sends the request. 
            If the receiver of the request sends the reply at the same 
            time as megaco re-sends, it may also send a reply to the 
            resent request (thinking the first reply got lost). These 
            two replies may arrive more or less at the same time, 
            causing confusion. </p>
          <p>In order to improve this situation, a number of 
            improvements have been done: </p>
          <list type="bulleted">
            <item>
              <p>When the first reply arrives, a timer, request-keep-alive, 
                is started. This timer is used to decide when to stop 
                accepting replies as legitimate. </p>
              <p>The timeout time for the timer is specified by the
                config option <em>request_keep_alive_timout</em>, 
                which can be set per 
                <seealso marker="megaco#ui_request_keep_alive_timeout">user</seealso> 
                or per 
                <seealso marker="megaco#ci_request_keep_alive_timeout">connection</seealso>. </p>
	    </item>
            <item>
              <p>We also keep track of how many replies has been received
                (we do this as long as the request-keep-alive timer is 
                running). </p>
            </item>
            <item>
              <p>Each reply that arrives while the request-keep-alive timer 
                is running (including the first) will be delivered using the 
                <seealso marker="megaco_user#trans_reply">handle_trans_reply/4,5</seealso> 
                callback function, but with the UserReply augmented to
                include a serial number indicating which reply number this
                is. 
                The <em>first</em> reply to arrive, 
                will be numbered <em>one (1)</em>. </p>
            </item>
            <item>
              <p>Replies arriving after the timer has expired will be delivered
                in the same way as before, using the 
                <seealso marker="megaco_user#unexpected_trans">handle_unexpected_trans/3,4</seealso> 
                callback function. </p>
	     </item>  
            <item>
              <p>Note that if the timer was <em>not</em> configured, 
                megaco will act exactly as before! </p>
            </item>
          </list>
          <p>Own Id: OTP-8183</p>
	  <p>Aux Id: Seq 11393</p>
        </item>

      </list>

    </section>

    <section>
      <title>Fixed bugs and malfunctions</title>
<!--
      <p>-</p>
-->

      <list type="bulleted">
        <item>
          <p>If the megaco app received a transaction reply, for a request 
            issued using the
	    <seealso marker="megaco#call">call/3</seealso> function, from 
            the wrong remote entity (wrong MId)), megaco would still deliver 
            the reply (<seealso marker="megaco#call">call/3</seealso> 
            returnes) as if from the correct remote entity (right MId). </p>
          <p>This has been changed so that the function now returns with
            an error reason. </p>
          <p>See <seealso marker="megaco#call">call/3</seealso> for more 
            info. </p>
          <p>*** POTENTIAL INCOMPATIBILITY ***</p>
          <p>Own Id: OTP-8212</p>
	  <p>Aux Id: Seq 11305</p>
        </item>

      </list>

    </section>

  </section> <!-- 3.12 -->


  <!-- section>
    <title>Release notes history</title>
    <p>For information about older versions see
      <url href="part_notes_history_frame.html">release notes history</url>.</p 
  </section> -->
</chapter>