Skip to content
Snippets Groups Projects
  1. Jul 20, 2014
  2. Jul 14, 2011
  3. Feb 03, 2011
  4. Jun 03, 2010
  5. Oct 17, 2008
  6. Sep 12, 2008
    • Tilghman Lesher's avatar
      Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating · 08af5bb3
      Tilghman Lesher authored
      when a file is invalid from when a file is missing.  This is most important when
      we have two configuration files.  Consider the following example:
      
      Old system:
      sip.conf     users.conf     Old result               New result
      ========     ==========     ==========               ==========
      Missing      Missing        SIP doesn't load         SIP doesn't load
      Missing      OK             SIP doesn't load         SIP doesn't load
      Missing      Invalid        SIP doesn't load         SIP doesn't load
      OK           Missing        SIP loads                SIP loads
      OK           OK             SIP loads                SIP loads
      OK           Invalid        SIP loads incompletely   SIP doesn't load
      Invalid      Missing        SIP doesn't load         SIP doesn't load
      Invalid      OK             SIP doesn't load         SIP doesn't load
      Invalid      Invalid        SIP doesn't load         SIP doesn't load
      
      So in the case when users.conf doesn't load because there's a typo that
      disrupts the syntax, we may only partially load users, instead of failing with
      an error, which may cause some calls not to get processed.  Worse yet, the old
      system would do this with no indication that anything was even wrong.
      
      (closes issue #10690)
       Reported by: dtyoo
       Patches: 
             20080716__bug10690.diff.txt uploaded by Corydon76 (license 14)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@142992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      08af5bb3
  7. Jul 11, 2008
  8. Jun 26, 2008
  9. May 22, 2008
    • Michiel van Baak's avatar
      - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause · f1e9371d
      Michiel van Baak authored
      - make data member of the ast_frame struct a named union instead of a void
      
      Recently the ast_queue_hangup function got a new parameter, the hangupcause
      Feedback came in that this is no good and that instead a new function should be created.
      This I did.
      
      The hangupcause was stored in the seqno member of the ast_frame struct. This is not very
      elegant, and since there's already a data member that one should be used.
      Problem is, this member was a void *.
      Now it's a named union so it can hold a pointer, an uint32 and there's a padding in case someone
      wants to store another type in there in the future.
      
      This commit is so massive, because all ast_frame.data uses have to be
      altered to ast_frame.data.data
      
      Thanks russellb and kpfleming for the feedback.
      
      (closes issue #12674)
      Reported by: mvanbaak
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f1e9371d
  10. Mar 20, 2008
  11. Mar 07, 2008
    • Russell Bryant's avatar
      Merge changes from team/russell/g722-sillyness ... · 5ca5d976
      Russell Bryant authored
      Fix a number of other places where the number of samples in a G722 frame was
      not properly handled because of various reasons.
      
      main/rtp.c:
       - When a G722 frame is read from the smoother, the number of samples in the
         frame must be divided by 2 before being sent out over the network.  Even
         though G722 is 16 kHz, an error in some previous spec has made it so that
         we have to list the number of samples such as if it was 8 kHz.
      
      main/file.c:
       - When scheduling the next time to expect a frame, take into account that the
         format of the file we're reading from may not be 8 kHz.
      
      codecs/codec_g722.c:
       - When converting from G722 to slinear, g722_decode() expects its samples
         parameter to be in the silly (real samples / 2) format.  Make it so.
       - When converting from slinear to G722, properly set the number of samples in
         the frame to be the number of bytes of output * 2.
      
      formats/format_pcm.c:
       - This format module handles G722, among a number of other formats.  However,
         the read() and seek() functions did not account for the fact that G722 has
         2 samples per byte.
      
      (closes issue #12130, reported by rickross, patched by me)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5ca5d976
  12. Jan 11, 2008
  13. Jan 10, 2008
  14. Dec 27, 2007
  15. Dec 21, 2007
  16. Nov 22, 2007
  17. Nov 19, 2007
  18. Nov 16, 2007
    • Luigi Rizzo's avatar
      Start untangling header inclusion in a way that does not affect · fdb7f7ba
      Luigi Rizzo authored
      build times - tested, there is no measureable difference before and
      after this commit.
      
      In this change:
      
      use asterisk/compat.h to include a small set of system headers:
      inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
      stdlib.h, alloca.h, stdio.h
      
      Where available, the inclusion is conditional on HAVE_FOO_H as determined
      by autoconf.
      
      Normally, source files should not include any of the above system headers,
      and instead use either "asterisk.h" or "asterisk/compat.h" which does it
      better. 
      
      For the time being I have left alone second-level directories
      (main/db1-ast, etc.).
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fdb7f7ba
  19. Nov 06, 2007
  20. Oct 31, 2007
    • Jason Parker's avatar
      More changes to change return values from load_module functions. · 59c9ff7e
      Jason Parker authored
      (issue #11096)
      Patches:
            codec_adpcm.c.patch uploaded by moy (license 222)
            codec_alaw.c.patch uploaded by moy (license 222)
            codec_a_mu.c.patch uploaded by moy (license 222)
            codec_g722.c.patch uploaded by moy (license 222)
            codec_g726.c.diff uploaded by moy (license 222)
            codec_gsm.c.patch uploaded by moy (license 222)
            codec_ilbc.c.patch uploaded by moy (license 222)
            codec_lpc10.c.patch uploaded by moy (license 222)
            codec_speex.c.patch uploaded by moy (license 222)
            codec_ulaw.c.patch uploaded by moy (license 222)
            codec_zap.c.patch uploaded by moy (license 222)
            format_g723.c.patch uploaded by moy (license 222)
            format_g726.c.patch uploaded by moy (license 222)
            format_g729.c.patch uploaded by moy (license 222)
            format_gsm.c.patch uploaded by moy (license 222)
            format_h263.c.patch uploaded by moy (license 222)
            format_h264.c.patch uploaded by moy (license 222)
            format_ilbc.c.patch uploaded by moy (license 222)
            format_jpeg.c.patch uploaded by moy (license 222)
            format_ogg_vorbis.c.patch uploaded by moy (license 222)
            format_pcm.c.patch uploaded by moy (license 222)
            format_sln.c.patch uploaded by moy (license 222)
            format_vox.c.patch uploaded by moy (license 222)
            format_wav.c.patch uploaded by moy (license 222)
            format_wav_gsm.c.patch uploaded by moy (license 222)
            res_adsi.c.patch uploaded by eliel (license 64)
            res_ael_share.c.patch uploaded by eliel (license 64)
            res_clioriginate.c.patch uploaded by eliel (license 64)
            res_convert.c.patch uploaded by eliel (license 64)
            res_indications.c.patch uploaded by eliel (license 64)
            res_musiconhold.c.patch uploaded by eliel (license 64)
            res_smdi.c.patch uploaded by eliel (license 64)
            res_speech.c.patch uploaded by eliel (license 64)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      59c9ff7e
  21. Aug 16, 2007
  22. Jul 26, 2007
  23. Feb 14, 2007
  24. Dec 21, 2006
Loading