]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
16 years agoMerged revisions 162355 via svnmerge from
Tilghman Lesher [Tue, 9 Dec 2008 21:59:42 +0000 (21:59 +0000)] 
Merged revisions 162355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162355 | tilghman | 2008-12-09 15:57:09 -0600 (Tue, 09 Dec 2008) | 11 lines

  Merged revisions 162348 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r162348 | tilghman | 2008-12-09 15:53:25 -0600 (Tue, 09 Dec 2008) | 4 lines

    We appear to have documented tz= in the [general] section of voicemail.conf,
    without actually having implemented it.  Oops.
    (Reported by Olivier on the -users list)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162363 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162342 via svnmerge from
Joshua Colp [Tue, 9 Dec 2008 21:17:25 +0000 (21:17 +0000)] 
Merged revisions 162342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162342 | file | 2008-12-09 17:16:37 -0400 (Tue, 09 Dec 2008) | 11 lines

  Merged revisions 162341 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r162341 | file | 2008-12-09 17:14:29 -0400 (Tue, 09 Dec 2008) | 4 lines

    Add 'down' as a valid state for directed call pickup. This creeps up when we receive session progress when dialing a device and not ringing.
    (closes issue #14005)
    Reported by: ddl
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162343 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162291 via svnmerge from
Russell Bryant [Tue, 9 Dec 2008 21:02:01 +0000 (21:02 +0000)] 
Merged revisions 162291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162291 | russell | 2008-12-09 14:59:54 -0600 (Tue, 09 Dec 2008) | 17 lines

Merged revisions 162286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162286 | russell | 2008-12-09 14:57:35 -0600 (Tue, 09 Dec 2008) | 9 lines

Fix an issue where callers on an incoming call on an SLA trunk would not hear ringback.

We need to make sure that we don't start writing audio to the trunk channel until we're
actually ready to answer it.  Otherwise, the channel driver will treat it as inband
progress, even though all they are getting is silence.

(closes issue #12471)
Reported by: mthomasslo

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162296 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162275 via svnmerge from
Joshua Colp [Tue, 9 Dec 2008 20:47:11 +0000 (20:47 +0000)] 
Merged revisions 162275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162275 | file | 2008-12-09 16:46:11 -0400 (Tue, 09 Dec 2008) | 11 lines

  Merged revisions 162273 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r162273 | file | 2008-12-09 16:44:32 -0400 (Tue, 09 Dec 2008) | 4 lines

    Fix double declaration of 'x' on the PPC platform.
    (closes issue #14038)
    Reported by: ffloimair
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161115 via svnmerge
Dwayne M. Hubbard [Tue, 9 Dec 2008 20:45:20 +0000 (20:45 +0000)] 
Blocked revisions 161115 via svnmerge

........
r161115 | dhubbard | 2008-12-04 17:00:30 -0600 (Thu, 04 Dec 2008) | 11 lines

If 'faxdetect=yes' in sip.conf, switch to a 'fax' extension (if it exists) after T38 is negotiated.
Terry Wilson created the original patch for this functionality, which I slightly modified and added
the faxdetect=yes|no configuration option.  This patch is only for T38 fax detection and does not
do anything for G711 over SIP fax detection.  By default, this option is disabled.

Reviewboard: http://reviewboard.digium.com/r/69/

This functionality is for issue AST-140.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162271 via svnmerge from
Steve Murphy [Tue, 9 Dec 2008 20:44:10 +0000 (20:44 +0000)] 
Merged revisions 162271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162271 | murf | 2008-12-09 13:40:31 -0700 (Tue, 09 Dec 2008) | 9 lines

Merged revisions 162264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162264 | murf | 2008-12-09 13:20:54 -0700 (Tue, 09 Dec 2008) | 1 line

In discussion with seanbright on #asterisk-dev,  I have added a default rule, and an option to suppress the default rule from being generated in the flex output, for the sake of those OS's where they didn't tweak flex's ECHO macro, and the compiler doesn't like it. The regressions are OK with this.
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162272 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162266 via svnmerge from
Mark Michelson [Tue, 9 Dec 2008 20:31:21 +0000 (20:31 +0000)] 
Merged revisions 162266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162266 | mmichelson | 2008-12-09 14:30:07 -0600 (Tue, 09 Dec 2008) | 14 lines

Merged revisions 162265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162265 | mmichelson | 2008-12-09 14:28:44 -0600 (Tue, 09 Dec 2008) | 6 lines

If we fail to start a thread for the pbx to run in, we need to
be sure to decrease the number of active calls on the system.

This fix may relate to ABE-1713, but it is not certain yet.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162205 via svnmerge from
Joshua Colp [Tue, 9 Dec 2008 19:50:39 +0000 (19:50 +0000)] 
Merged revisions 162205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162205 | file | 2008-12-09 15:48:35 -0400 (Tue, 09 Dec 2008) | 14 lines

  Merged revisions 162204 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r162204 | file | 2008-12-09 15:47:07 -0400 (Tue, 09 Dec 2008) | 7 lines

    Make sure that the timestamp for DTMF is not the same as the previous voice frame and do not send audio when transmitting DTMF as this confuses some equipment.
    (closes issue #13209)
    Reported by: ip-rob
    Patches:
          13209.diff uploaded by file (license 11)
    Tested by: ip-rob, bujones
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162206 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162197 via svnmerge from
Joshua Colp [Tue, 9 Dec 2008 19:09:40 +0000 (19:09 +0000)] 
Merged revisions 162197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162197 | file | 2008-12-09 15:08:39 -0400 (Tue, 09 Dec 2008) | 11 lines

  Merged revisions 162188 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r162188 | file | 2008-12-09 15:06:14 -0400 (Tue, 09 Dec 2008) | 4 lines

    Take video into account when early bridging RTP.
    (closes issue #13535)
    Reported by: davidw
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162140 via svnmerge from
Steve Murphy [Tue, 9 Dec 2008 18:40:49 +0000 (18:40 +0000)] 
Merged revisions 162140 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162140 | murf | 2008-12-09 11:35:35 -0700 (Tue, 09 Dec 2008) | 9 lines

Merged revisions 162136 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162136 | murf | 2008-12-09 11:13:39 -0700 (Tue, 09 Dec 2008) | 1 line

Previous fix used ast_malloc and ast_copy_string and messed up the standalone stuff. Fixed.
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162079 via svnmerge from
Steve Murphy [Tue, 9 Dec 2008 17:27:26 +0000 (17:27 +0000)] 
Merged revisions 162079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162079 | murf | 2008-12-09 10:18:03 -0700 (Tue, 09 Dec 2008) | 53 lines

Merged revisions 162013 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162013 | murf | 2008-12-09 09:31:55 -0700 (Tue, 09 Dec 2008) | 45 lines

(closes issue #14019)
Reported by: ckjohnsonme
Patches:
      14019.diff uploaded by murf (license 17)
Tested by: ckjohnsonme, murf

This crash was the result of a few small errors that
would combine in 64-bit land to result in a crash.

32-bit land might have seen these combine to mysteriously
drop the args to an application call, in certain
circumstances.

Also, in trying to find this bug, I spotted
a situation in the flex input, where, in passing
back a 'word' to the parser, it would allocate
a buffer larger than necessary. I changed the
usage in such situations, so that strdup was
not used, but rather, an ast_malloc, followed
by ast_copy_string.

I removed a field from the pval struct, in
u2, that was never getting used, and set in
one spot in the code. I believe it was an
artifact of a previous fix to make switch
cases work invisibly with extens.

And, for goto's I removed a '!' from
before a strcmp, that has been there
since the initial merging of AEL2, that
might prevent the proper target of a
goto from being found. This was pretty
harmless on its own, as it would just
louse up a consistency check for users.

Many thanks to ckjohnsonme for providing
a simplified and complete set of information
about the bug, that helped considerably in
finding and fixing the problem.

Now, to get aelparse up and running again
in trunk, and out of its "horribly broken" state,
so I can run the regression suite!

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161947 via svnmerge
Eliel C. Sardanons [Tue, 9 Dec 2008 16:54:18 +0000 (16:54 +0000)] 
Blocked revisions 161947 via svnmerge

........
  r161947 | eliel | 2008-12-09 12:49:30 -0200 (Tue, 09 Dec 2008) | 8 lines

  Avoid allocating memory for a thread that don't need it. Also, this memory was not being freed until the
  main thread ends. (That is never).

  (closes issue #14040)
  Reported by: eliel
  Patches:
        func_odbc.c.patch uploaded by eliel (license 64)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 162016 via svnmerge from
Russell Bryant [Tue, 9 Dec 2008 16:48:57 +0000 (16:48 +0000)] 
Merged revisions 162016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162016 | russell | 2008-12-09 10:47:39 -0600 (Tue, 09 Dec 2008) | 13 lines

Merged revisions 162014 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r162014 | russell | 2008-12-09 10:46:53 -0600 (Tue, 09 Dec 2008) | 5 lines

Allow DISA to handle extensions that start with #.

(closes issue #13330)
Reported by: jcovert

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162017 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161951 via svnmerge from
Russell Bryant [Tue, 9 Dec 2008 15:02:40 +0000 (15:02 +0000)] 
Merged revisions 161951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r161951 | russell | 2008-12-09 08:57:39 -0600 (Tue, 09 Dec 2008) | 23 lines

Merged revisions 161948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r161948 | russell | 2008-12-09 08:52:25 -0600 (Tue, 09 Dec 2008) | 15 lines

Fix a problem with GROUP() settings on a masquerade.

The previous code carried over group settings from the old channel to the new
one.  However, it did nothing with the group settings that were already on the
new channel.  This patch removes all group settings that already existed on the
new channel.

I have a more complicated version of this patch which addresses only the most
blatant problem with this, which is that a channel can end up with multiple
group settings in the same category.  However, I could not think of a use case
for keeping any of the group settings from the old channel, so I went this route
for now.

(closes AST-152)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161956 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161869 via svnmerge
Joshua Colp [Mon, 8 Dec 2008 21:42:21 +0000 (21:42 +0000)] 
Blocked revisions 161869 via svnmerge

........
  r161869 | file | 2008-12-08 17:41:50 -0400 (Mon, 08 Dec 2008) | 6 lines

  Add alw as a valid file extension for alaw and ulw as a valid file extension for ulaw.
  (closes issue #14001)
  Reported by: henrikw
  Patches:
        alw.diff uploaded by henrikw (license 627)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161870 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161830 via svnmerge
Joshua Colp [Mon, 8 Dec 2008 20:54:34 +0000 (20:54 +0000)] 
Blocked revisions 161830 via svnmerge

........
  r161830 | file | 2008-12-08 16:53:50 -0400 (Mon, 08 Dec 2008) | 2 lines

  Update autosupport script with a few changes.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161790 via svnmerge from
Tilghman Lesher [Mon, 8 Dec 2008 18:51:30 +0000 (18:51 +0000)] 
Merged revisions 161790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161790 | tilghman | 2008-12-08 12:49:50 -0600 (Mon, 08 Dec 2008) | 6 lines

  Allocate enough space initially for the message.
  (closes issue #14027)
   Reported by: junky
   Patches:
         M14027.diff uploaded by junky (license 177)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161791 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161787 via svnmerge
Joshua Colp [Mon, 8 Dec 2008 18:48:54 +0000 (18:48 +0000)] 
Blocked revisions 161787 via svnmerge

........
  r161787 | file | 2008-12-08 14:47:32 -0400 (Mon, 08 Dec 2008) | 6 lines

  Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
  (closes issue #14012)
  Reported by: dveiga
  Patches:
        14012.patch uploaded by bkruse (license 132)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161788 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161726 via svnmerge from
Joshua Colp [Mon, 8 Dec 2008 17:54:45 +0000 (17:54 +0000)] 
Merged revisions 161726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r161726 | file | 2008-12-08 13:53:32 -0400 (Mon, 08 Dec 2008) | 13 lines

  Merged revisions 161725 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r161725 | file | 2008-12-08 13:52:10 -0400 (Mon, 08 Dec 2008) | 6 lines

    Make the usereqphone option work again.
    (closes issue #13474)
    Reported by: mmaguire
    Patches:
          20080912_bug13474.diff uploaded by mmaguire (license 571)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161727 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161637 via svnmerge
Eliel C. Sardanons [Mon, 8 Dec 2008 04:25:34 +0000 (04:25 +0000)] 
Blocked revisions 161637 via svnmerge

........
  r161637 | eliel | 2008-12-08 02:23:50 -0200 (Mon, 08 Dec 2008) | 4 lines

  - Fix a leak while printing an argument description.
  - Avoid printing the name of an argument in the [Arguments] tag if there is no description
    for that argument.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161638 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161604 via svnmerge
Eliel C. Sardanons [Mon, 8 Dec 2008 03:37:33 +0000 (03:37 +0000)] 
Blocked revisions 161604 via svnmerge

........
  r161604 | eliel | 2008-12-08 01:35:55 -0200 (Mon, 08 Dec 2008) | 10 lines

  Add voicemail related applications and functions XML documentation:
      applications:
        - VoiceMail()
        - VoiceMailMain()
        - MailboxExists()
        - VMAuthenticate()
      functions:
        - MAILBOX_EXISTS()
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161605 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161571 via svnmerge
Eliel C. Sardanons [Sun, 7 Dec 2008 22:44:44 +0000 (22:44 +0000)] 
Blocked revisions 161571 via svnmerge

........
  r161571 | eliel | 2008-12-07 20:43:46 -0200 (Sun, 07 Dec 2008) | 2 lines

  Introduce SMS() application XML documentation.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161536 via svnmerge
Eliel C. Sardanons [Sat, 6 Dec 2008 21:20:29 +0000 (21:20 +0000)] 
Blocked revisions 161536 via svnmerge

........
  r161536 | eliel | 2008-12-06 19:18:51 -0200 (Sat, 06 Dec 2008) | 2 lines

  Move Speech* applications and functions documentation to XML.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161537 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161493 via svnmerge from
Mark Michelson [Fri, 5 Dec 2008 23:26:45 +0000 (23:26 +0000)] 
Merged revisions 161493 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r161493 | mmichelson | 2008-12-05 17:24:38 -0600 (Fri, 05 Dec 2008) | 8 lines

If the autoloop flag is set on a channel, then we need to
add 1 to the priority when checking if the extension exists. Otherwise,
gosubs will fail.

This was discovered when investigating an asterisk-users mailing list post
made by Gary Hawkins.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix a reversed-logic ast_strlen_zero.
Mark Michelson [Fri, 5 Dec 2008 22:59:43 +0000 (22:59 +0000)] 
Fix a reversed-logic ast_strlen_zero.

This problem was pointed out on the asterisk-users list
by Jim Dickenson

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161490 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161427 via svnmerge from
Sean Bright [Fri, 5 Dec 2008 21:13:44 +0000 (21:13 +0000)] 
Merged revisions 161427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r161427 | seanbright | 2008-12-05 16:08:43 -0500 (Fri, 05 Dec 2008) | 22 lines

  Merged revisions 161426 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ................
    r161426 | seanbright | 2008-12-05 16:02:20 -0500 (Fri, 05 Dec 2008) | 15 lines

    Merged revisions 161421 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r161421 | seanbright | 2008-12-05 15:50:23 -0500 (Fri, 05 Dec 2008) | 8 lines

      Fix build errors on FreeBSD (uint -> unsigned int).

      (closes issue #14006)
      Reported by: alphaque
      Patches:
            astobj2.h-patch uploaded by alphaque (license 259)
            (Slightly modified by seanbright)
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161428 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161349-161350 via svnmerge from
Sean Bright [Fri, 5 Dec 2008 16:10:56 +0000 (16:10 +0000)] 
Merged revisions 161349-161350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161349 | seanbright | 2008-12-05 10:56:15 -0500 (Fri, 05 Dec 2008) | 5 lines

  When using IMAP_STORAGE, it's important to convert bare newlines (\n) in
  emailbody and pagerbody to CR-LF so that the IMAP server doesn't spit out an
  error.  This was informally reported on #asterisk-dev a few weeks ago.  Reviewed
  by Mark M. on IRC.
........
  r161350 | seanbright | 2008-12-05 11:04:36 -0500 (Fri, 05 Dec 2008) | 2 lines

  Use ast_free() instead of free(), pointed out by eliel on IRC.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161351 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161288 via svnmerge from
Russell Bryant [Fri, 5 Dec 2008 14:17:50 +0000 (14:17 +0000)] 
Merged revisions 161288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r161288 | russell | 2008-12-05 08:16:24 -0600 (Fri, 05 Dec 2008) | 10 lines

Merged revisions 161287 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r161287 | russell | 2008-12-05 08:12:14 -0600 (Fri, 05 Dec 2008) | 2 lines

Fix a NULL format string warning found by buildbot.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161289 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161252 via svnmerge from
Russell Bryant [Fri, 5 Dec 2008 13:55:58 +0000 (13:55 +0000)] 
Merged revisions 161252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r161252 | russell | 2008-12-05 07:46:01 -0600 (Fri, 05 Dec 2008) | 2 lines

Resolve a compiler warning from buildbot about a NULL format string.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoCompiling is a good thing.
Russell Bryant [Fri, 5 Dec 2008 13:55:33 +0000 (13:55 +0000)] 
Compiling is a good thing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161261 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161218 via svnmerge
Eliel C. Sardanons [Fri, 5 Dec 2008 10:36:45 +0000 (10:36 +0000)] 
Blocked revisions 161218 via svnmerge

........
  r161218 | eliel | 2008-12-05 08:31:25 -0200 (Fri, 05 Dec 2008) | 8 lines

  Janitor, use ARRAY_LEN() when possible.

  (closes issue #13990)
  Reported by: eliel
  Patches:
        array_len.diff uploaded by eliel (license 64)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161220 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161181 via svnmerge from
Tilghman Lesher [Fri, 5 Dec 2008 05:43:36 +0000 (05:43 +0000)] 
Merged revisions 161181 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161181 | tilghman | 2008-12-04 23:41:41 -0600 (Thu, 04 Dec 2008) | 11 lines

  The first file should have a blank config filename in the structure, so that
  when a save occurs to a different filename, everything goes to the alternate
  filename, instead of appending to the original.  This is important for the
  AMI command UpdateConfig.
  (closes issue #13301)
   Reported by: trevo
   Patches:
         20081113__bug13301.diff.txt uploaded by Corydon76 (license 14)
         20081113__bug13301__1.6.0.diff.txt uploaded by Corydon76 (license 14)
   Tested by: Corydon76, blitzrage
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161183 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161147 via svnmerge from
Sean Bright [Fri, 5 Dec 2008 02:51:48 +0000 (02:51 +0000)] 
Merged revisions 161147 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161147 | seanbright | 2008-12-04 21:47:54 -0500 (Thu, 04 Dec 2008) | 3 lines

  Check the return value of fread/fwrite so the compiler doesn't complain.  Only a
  problem when IMAP_STORAGE is enabled.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161148 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 161077 via svnmerge
Eliel C. Sardanons [Thu, 4 Dec 2008 19:35:46 +0000 (19:35 +0000)] 
Blocked revisions 161077 via svnmerge

........
  r161077 | eliel | 2008-12-04 17:31:48 -0200 (Thu, 04 Dec 2008) | 2 lines

  Fix minor coding guidelines introduced with CLI permissions.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 161014 via svnmerge from
Jeff Peeler [Thu, 4 Dec 2008 18:36:40 +0000 (18:36 +0000)] 
Merged revisions 161014 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r161014 | jpeeler | 2008-12-04 12:32:20 -0600 (Thu, 04 Dec 2008) | 17 lines

Merged revisions 161013 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r161013 | jpeeler | 2008-12-04 12:30:41 -0600 (Thu, 04 Dec 2008) | 9 lines

(closes issue #13835)
Reported by: matt_b
Tested by: jpeeler

This mirrors a check that was present in ast_rtp_read to also be in ast_rtp_raw_write to not schedule sending the receiver report if the remote RTCP endpoint address isn't present in the RTCP structure.

Closes AST-142.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161015 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160945 via svnmerge from
Mark Michelson [Thu, 4 Dec 2008 16:47:19 +0000 (16:47 +0000)] 
Merged revisions 160945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r160945 | mmichelson | 2008-12-04 10:45:06 -0600 (Thu, 04 Dec 2008) | 23 lines

Merged revisions 160943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r160943 | mmichelson | 2008-12-04 10:44:18 -0600 (Thu, 04 Dec 2008) | 15 lines

Fix a callerid parsing issue. If someone formatted callerid like the
following: "name <number>" (including the quotation marks), then the parts
would be parsed as

name: "name
number: number

This is because the closing quotation mark was not discovered since the number
and everything after was parsed out of the string earlier. Now, there is a check
to see if the closing quote occurs after the number, so that we can know if we
should strip off the opening quote on the name.

Closes AST-158

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160946 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 160938 via svnmerge
Michiel van Baak [Thu, 4 Dec 2008 16:40:27 +0000 (16:40 +0000)] 
Blocked revisions 160938 via svnmerge

........
  r160938 | mvanbaak | 2008-12-04 17:37:13 +0100 (Thu, 04 Dec 2008) | 9 lines

  Add debug flag so skinny debug will show information about packets.
  We dont want to scare users with this, so we added a devmode compile flag

  (closes issue #13952)
  Reported by: wedhorn
  Patches:
        packetdebug3.diff uploaded by wedhorn (license 30)
  Tested by: mvanbaak, wedhorn
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160939 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 160896 via svnmerge
Eliel C. Sardanons [Thu, 4 Dec 2008 13:50:41 +0000 (13:50 +0000)] 
Blocked revisions 160896 via svnmerge

........
  r160896 | eliel | 2008-12-04 11:45:32 -0200 (Thu, 04 Dec 2008) | 7 lines

  Added XML documentation for the following AGI commands:
          - get option
          - get variable
          - hangup
          - noop
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160856 via svnmerge from
Richard Mudgett [Thu, 4 Dec 2008 01:38:08 +0000 (01:38 +0000)] 
Merged revisions 160856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160856 | rmudgett | 2008-12-03 19:36:39 -0600 (Wed, 03 Dec 2008) | 1 line

  Jcolp pointed out that num will also match number
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160857 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160854 via svnmerge from
Richard Mudgett [Thu, 4 Dec 2008 01:17:17 +0000 (01:17 +0000)] 
Merged revisions 160854 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160854 | rmudgett | 2008-12-03 19:14:22 -0600 (Wed, 03 Dec 2008) | 4 lines

  *  Found a couple more places where num/number needed to be done
  so 1.4 upgraders will not have problems.
  *  Added curly braces and minor tweaks.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160855 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160791 via svnmerge from
Tilghman Lesher [Wed, 3 Dec 2008 22:01:54 +0000 (22:01 +0000)] 
Merged revisions 160791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160791 | tilghman | 2008-12-03 15:58:21 -0600 (Wed, 03 Dec 2008) | 9 lines

  Merged revisions 160770 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160770 | tilghman | 2008-12-03 15:54:07 -0600 (Wed, 03 Dec 2008) | 2 lines

    Some compilers warn on null format strings; some don't (caught by buildbot)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160760 via svnmerge from
Steve Murphy [Wed, 3 Dec 2008 21:23:23 +0000 (21:23 +0000)] 
Merged revisions 160760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r160760 | murf | 2008-12-03 14:09:15 -0700 (Wed, 03 Dec 2008) | 23 lines

Merged revisions 160703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r160703 | murf | 2008-12-03 13:41:42 -0700 (Wed, 03 Dec 2008) | 11 lines

(closes issue #13597)
Reported by: john8675309
Patches:
      patch.13597 uploaded by murf (license 17)
Tested by: murf, john8675309

This patch causes the setcid func to update the CDR
clid after setting the channel field.

I also notice that in trunk, the num/number of 1.4 is
left out; I decided to include the option to use
either in trunk, so as not to have 1.4 upgraders
not to have problems.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160761 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160699-160700 via svnmerge from
Jason Parker [Wed, 3 Dec 2008 20:36:10 +0000 (20:36 +0000)] 
Merged revisions 160699-160700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160699 | qwell | 2008-12-03 14:32:20 -0600 (Wed, 03 Dec 2008) | 7 lines

  Fix typo when ListCategories returns none.

  (closes issue #13994)
  Reported by: mika
  Patches:
        ListCategoriesActionPatch.diff uploaded by mika (license 624)
........
  r160700 | qwell | 2008-12-03 14:35:36 -0600 (Wed, 03 Dec 2008) | 1 line

  Another place this is missing
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160701 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160663 via svnmerge from
Eliel C. Sardanons [Wed, 3 Dec 2008 20:02:21 +0000 (20:02 +0000)] 
Merged revisions 160663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160663 | eliel | 2008-12-03 17:25:30 -0200 (Wed, 03 Dec 2008) | 13 lines

  - iax2-provision was not freeing iax_templates structure when unloading the chan_iax2.so module.
  - Move the code to start using the LIST macros.

  Review: http://reviewboard.digium.com/r/72

  (closes issue #13232)
  Reported by: eliel
  Patches:
        iax2-provision.patch.txt uploaded by eliel (license 64)
        (with minor changes pointed by Mark Michelson on review board)
  Tested by: eliel
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160698 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160626 via svnmerge from
Mark Michelson [Wed, 3 Dec 2008 18:41:28 +0000 (18:41 +0000)] 
Merged revisions 160626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160626 | mmichelson | 2008-12-03 12:37:46 -0600 (Wed, 03 Dec 2008) | 16 lines

Add some safety measures when using gosub, especially when using the options
for app_dial and app_queue to run a gosub when the call is answered.

* Check for the existence of the gosub target in gosub_exec. If it is nonexistent,
  then this will cause errors when we attempt to actually run the gosub, including
  a definite memory leak and potential crashes. Return an error in this situation
* Check the return value of pbx_exec in app_dial and app_queue before attempting
  to actually run the gosub routine. If there was an error, we should not attempt
  to run the gosub.
* Change a '|' to a ',' in app_queue.
* Add some extra curly braces where they had been missing previously.

(closes issue #13548)
Reported by: fiddur

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160627 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160585 via svnmerge from
Tilghman Lesher [Wed, 3 Dec 2008 18:01:04 +0000 (18:01 +0000)] 
Merged revisions 160585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160585 | tilghman | 2008-12-03 11:59:36 -0600 (Wed, 03 Dec 2008) | 11 lines

  Blocked revisions 160570 via svnmerge

  ........
    r160570 | tilghman | 2008-12-03 11:55:12 -0600 (Wed, 03 Dec 2008) | 5 lines

    During bridge code, the channel bridge may return a retry code, if a transfer
    was initiated but not yet completed.  If the bridge is immediately retried,
    then we may send a storm of TXREQ packets, even though the first set is sent
    reliably (retransmitted).  Fixes AST-137.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160590 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160559 via svnmerge from
Tilghman Lesher [Wed, 3 Dec 2008 17:41:07 +0000 (17:41 +0000)] 
Merged revisions 160559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160559 | tilghman | 2008-12-03 11:38:59 -0600 (Wed, 03 Dec 2008) | 14 lines

  Merged revisions 160558 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160558 | tilghman | 2008-12-03 11:34:34 -0600 (Wed, 03 Dec 2008) | 7 lines

    If an entry is added to the directory during a scan when another entry expires,
    then that new entry will not be processed promptly, but must wait for either a
    future entry to start or a current entry's retry to occur.  If no other entries
    exist in the directory (other than the new entries) when a bunch expire, then
    the new entries must wait until another new entry is added to be processed.
    This was a rather weird race condition, really.  Fixes AST-147.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160560 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160555 via svnmerge from
Mark Michelson [Wed, 3 Dec 2008 17:09:27 +0000 (17:09 +0000)] 
Merged revisions 160555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160555 | mmichelson | 2008-12-03 11:07:09 -0600 (Wed, 03 Dec 2008) | 11 lines

When investigating issue #13548, I found that gosub
handling in app_queue was just completely wrong, mostly
because the channel operations being performed were being
done on the incorrect channel.

With this set of changes, a gosub will correctly run on
the answering queue member's channel. There are still crash
issues which occur if there are dialplan syntax errors, so
I cannot yet close the referenced issue.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160556 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160552 via svnmerge from
Tilghman Lesher [Wed, 3 Dec 2008 17:01:47 +0000 (17:01 +0000)] 
Merged revisions 160552 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160552 | tilghman | 2008-12-03 11:01:03 -0600 (Wed, 03 Dec 2008) | 11 lines

  Merged revisions 160551 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160551 | tilghman | 2008-12-03 10:58:34 -0600 (Wed, 03 Dec 2008) | 4 lines

    Don't start scanning the directory until all modules are loaded, because some
    required modules (channels, apps, functions) may not yet be in memory yet.
    Fixes AST-149.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160553 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160481 via svnmerge from
Tilghman Lesher [Wed, 3 Dec 2008 14:13:27 +0000 (14:13 +0000)] 
Merged revisions 160481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160481 | tilghman | 2008-12-03 08:11:53 -0600 (Wed, 03 Dec 2008) | 14 lines

  Merged revisions 160480 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160480 | tilghman | 2008-12-03 08:09:35 -0600 (Wed, 03 Dec 2008) | 7 lines

    Jon Bonilla (Manwe) pointed out on the -dev list:
    "I guess that having only ip-phones in mind is not a good approach. Since it is
    possible to have a sip proxy connected to asterisk we could receive a 407
    (unauthorized) or 483 (too many hops) as response and dialog ending would not be
    a good behavior."
    So modified.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160482 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoFix some 'make menuselect' breakage introduced by recent merges.
Sean Bright [Wed, 3 Dec 2008 00:53:56 +0000 (00:53 +0000)] 
Fix some 'make menuselect' breakage introduced by recent merges.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 156388 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 23:22:42 +0000 (23:22 +0000)] 
Merged revisions 156388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156388 | tilghman | 2008-11-12 15:34:51 -0600 (Wed, 12 Nov 2008) | 12 lines

  Merged revisions 156386 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r156386 | tilghman | 2008-11-12 15:18:57 -0600 (Wed, 12 Nov 2008) | 5 lines

    When using call limits under 1 second, infinite call lengths are allowed,
    instead.
    (closes issue #13851)
     Reported by: ruddy
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160393 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 156290 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 23:10:07 +0000 (23:10 +0000)] 
Merged revisions 156290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156290 | jpeeler | 2008-11-12 13:11:15 -0600 (Wed, 12 Nov 2008) | 11 lines

  Merged revisions 156289 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r156289 | jpeeler | 2008-11-12 13:10:12 -0600 (Wed, 12 Nov 2008) | 3 lines

  For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1.

  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160392 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 156228 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 23:08:17 +0000 (23:08 +0000)] 
Merged revisions 156228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156228 | jpeeler | 2008-11-12 12:32:46 -0600 (Wed, 12 Nov 2008) | 16 lines

  Merged revisions 156178 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r156178 | jpeeler | 2008-11-12 11:53:44 -0600 (Wed, 12 Nov 2008) | 8 lines

  (closes issue #13173)
  Reported by: pep

  This change adds an announce_thread responsible for playing announcements to an existing conference. This allows all announcing to be immediately stopped if necessary but more importantly allows other threads that need to play something to not block. There are multiple benefits to this, but the actual bug is for solving the scenario for a channel to be unusable after hang up for the entire duration of the parting announcement. The parting announcement can be extremely long depending on what the user recorded upon joining the conference.

  Reviewed by Russell on Review Board:
  http://reviewboard.digium.com/r/25/

  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 152969,153122,154264,154268,154366,155399,155863,156166,156295,15669...
Tilghman Lesher [Tue, 2 Dec 2008 22:56:36 +0000 (22:56 +0000)] 
Merged revisions 152969,153122,154264,154268,154366,155399,155863,156166,156295,156690,156756,158066,158082,158540,158602,159276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152969 | tilghman | 2008-10-30 15:35:46 -0500 (Thu, 30 Oct 2008) | 10 lines

  Merged revisions 152958 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r152958 | tilghman | 2008-10-30 15:33:28 -0500 (Thu, 30 Oct 2008) | 3 lines

    Cannot join detached threads.  See http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html
    (Closes issue #13400)
  ........
................
  r153122 | tilghman | 2008-10-31 11:35:21 -0500 (Fri, 31 Oct 2008) | 10 lines

  Merged revisions 153114 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r153114 | tilghman | 2008-10-31 11:30:32 -0500 (Fri, 31 Oct 2008) | 3 lines

    Turn off qualify on uncached realtime peers.
    (Closes issue #13383)
  ........
................
  r154264 | tilghman | 2008-11-04 12:59:48 -0600 (Tue, 04 Nov 2008) | 10 lines

  Recorded merge of revisions 154263 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r154263 | tilghman | 2008-11-04 12:58:05 -0600 (Tue, 04 Nov 2008) | 3 lines

    Make the monitor thread non-detached, so it can be joined (suggested by Russell
    on -dev list).
  ........
................
  r154268 | rmudgett | 2008-11-04 13:07:26 -0600 (Tue, 04 Nov 2008) | 11 lines

  Merged revisions 154266 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r154266 | rmudgett | 2008-11-04 13:01:08 -0600 (Tue, 04 Nov 2008) | 4 lines

    JIRA ABE-1703
    mISDN sets the channel to the wrong state when it receives
    the indication AST_CONTROL_RINGING.
  ........
................
  r154366 | tilghman | 2008-11-04 14:51:18 -0600 (Tue, 04 Nov 2008) | 16 lines

  Merged revisions 154365 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r154365 | tilghman | 2008-11-04 14:49:33 -0600 (Tue, 04 Nov 2008) | 9 lines

    On busy systems, it's possible for the values checked within a single line
    of code to change, unless the structure is locked to ensure a consistent
    state.
    (closes issue #13717)
     Reported by: kowalma
     Patches:
           20081102__bug13717.diff.txt uploaded by Corydon76 (license 14)
     Tested by: kowalma
  ........
................
  r155399 | tilghman | 2008-11-07 16:28:58 -0600 (Fri, 07 Nov 2008) | 14 lines

  Merged revisions 155398 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r155398 | tilghman | 2008-11-07 16:27:32 -0600 (Fri, 07 Nov 2008) | 7 lines

    Clarify error message.
    (closes issue #13809)
     Reported by: denke
     Patches:
           20081104__bug13809.diff.txt uploaded by Corydon76 (license 14)
     Tested by: denke
  ........
................
  r155863 | mmichelson | 2008-11-10 15:14:44 -0600 (Mon, 10 Nov 2008) | 22 lines

  Merged revisions 155861 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r155861 | mmichelson | 2008-11-10 15:07:39 -0600 (Mon, 10 Nov 2008) | 14 lines

  Channel drivers assume that when their indicate callback
  is invoked, that the channel on which the callback was called
  is locked. This patch corrects an instance in chan_agent where
  a channel's indicate callback is called directly without first
  locking the channel.

  This was leading to some observed locking issues in chan_local,
  but considering that all channel drivers operate under the
  same expectations, the generic fix in chan_agent is the right
  way to go.

  AST-126

  ........
................
  r156166 | russell | 2008-11-12 11:38:20 -0600 (Wed, 12 Nov 2008) | 15 lines

  Merged revisions 156164 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r156164 | russell | 2008-11-12 11:29:52 -0600 (Wed, 12 Nov 2008) | 7 lines

  Move the sanity check that makes sure "always fork" is not set along with the
  console option to be after the code that reads options from asterisk.conf.
  This resolves a situation where Asterisk can start taking up 100% when
  misconfigured.
  (Thanks to Bryce Porter (x86 on IRC) for letting me log in to his system to
   figure out what was causing the 100% CPU problem.)

  ........
................
  r156295 | tilghman | 2008-11-12 13:28:22 -0600 (Wed, 12 Nov 2008) | 13 lines

  Merged revisions 156294 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r156294 | tilghman | 2008-11-12 13:26:45 -0600 (Wed, 12 Nov 2008) | 6 lines

    If the SLA thread is not started, then reload causes a memory leak.
    (closes issue #13889)
     Reported by: eliel
     Patches:
           app_meetme.c.patch uploaded by eliel (license 64)
  ........
................
  r156690 | tilghman | 2008-11-13 15:30:41 -0600 (Thu, 13 Nov 2008) | 14 lines

  Merged revisions 156688 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r156688 | tilghman | 2008-11-13 15:24:00 -0600 (Thu, 13 Nov 2008) | 7 lines

    Provide more space for all the data which can appear in an originating
    channel name.
    (closes issue #13398)
     Reported by: bamby
     Patches:
           manager.c.diff uploaded by bamby (license 430)
  ........
................
  r156756 | tilghman | 2008-11-13 18:43:13 -0600 (Thu, 13 Nov 2008) | 13 lines

  Merged revisions 156755 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r156755 | tilghman | 2008-11-13 18:41:37 -0600 (Thu, 13 Nov 2008) | 6 lines

    ast_waitfordigit() requires that the channel be up, for no good logical
    reason.  This prevents While/EndWhile from working within the "h"
    extension.
    Reported by: jgalarneau (for ABE C.2)
    Fixed by: me
  ........
................
  r158066 | mmichelson | 2008-11-20 11:39:06 -0600 (Thu, 20 Nov 2008) | 20 lines

  Merged revisions 158053 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r158053 | mmichelson | 2008-11-20 11:33:06 -0600 (Thu, 20 Nov 2008) | 12 lines

  Make sure to set the hangup cause on the calling channel in the case
  that ast_call() fails. For incoming SIP channels, this was causing
  us to send a 603 instead of a 486 when the call-limit was reached on
  the destination channel.

  (closes issue #13867)
  Reported by: still_nsk
  Patches:
        13867.diff uploaded by putnopvut (license 60)
  Tested by: blitzrage

  ........
................
  r158082 | mmichelson | 2008-11-20 11:54:31 -0600 (Thu, 20 Nov 2008) | 24 lines

  Merged revisions 158071 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r158071 | mmichelson | 2008-11-20 11:48:42 -0600 (Thu, 20 Nov 2008) | 16 lines

  We don't handle 4XX responses to BYE well. According to
  section 15 of RFC 3261, we should terminate a dialog if we
  receive a 481 or 408 in response to our BYE. Since I am aware
  of at least one phone manufacturer who may sometimes send a
  404 as well, I am being liberal and saying that any 4XX response
  to a BYE should result in a terminated dialog.

  (closes issue #12994)
  Reported by: pabelanger
  Patches:
        12994.patch uploaded by putnopvut (license 60)

  Closes AST-129

  ........
................
  r158540 | russell | 2008-11-21 16:12:37 -0600 (Fri, 21 Nov 2008) | 10 lines

  Merged revisions 158539 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r158539 | russell | 2008-11-21 16:05:55 -0600 (Fri, 21 Nov 2008) | 2 lines

  When compiling with DEBUG_THREADS, report the real file/func/line for ao2_lock/ao2_unlock

  ........
................
  r158602 | tilghman | 2008-11-21 17:14:11 -0600 (Fri, 21 Nov 2008) | 12 lines

  Merged revisions 158600 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r158600 | tilghman | 2008-11-21 17:07:46 -0600 (Fri, 21 Nov 2008) | 5 lines

    The passed extension may not be the same in the list as the current entry,
    because we strip spaces when copying the extension into the structure.
    Therefore, use the copied item to place the item into the list.
    (found by lmadsen on -dev, fixed by me)
  ........
................
  r159276 | tilghman | 2008-11-25 15:57:59 -0600 (Tue, 25 Nov 2008) | 14 lines

  Merged revisions 159269 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r159269 | tilghman | 2008-11-25 15:56:48 -0600 (Tue, 25 Nov 2008) | 7 lines

    Don't try to send a response on a NULL pvt.
    (closes issue #13919)
     Reported by: barthpbx
     Patches:
           chan_iax2.c.patch uploaded by eliel (license 64)
     Tested by: barthpbx
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160389 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 152216,152287,152369,152467,152569,152605 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 22:19:37 +0000 (22:19 +0000)] 
Merged revisions 152216,152287,152369,152467,152569,152605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152216 | tilghman | 2008-10-27 16:34:04 -0500 (Mon, 27 Oct 2008) | 13 lines

  Merged revisions 152215 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r152215 | tilghman | 2008-10-27 16:32:00 -0500 (Mon, 27 Oct 2008) | 6 lines

    Inherit ALL elements of CallerID across a local channel.
    (closes issue #13368)
     Reported by: Peter Schlaile
     Patches:
           20080826__bug13368.diff.txt uploaded by Corydon76 (license 14)
  ........
................
  r152287 | jpeeler | 2008-10-27 18:31:39 -0500 (Mon, 27 Oct 2008) | 10 lines

  Merged revisions 152286 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r152286 | jpeeler | 2008-10-27 18:28:49 -0500 (Mon, 27 Oct 2008) | 2 lines

  Buffer policy setting for half is not needed.

  ........
................
  r152369 | tilghman | 2008-10-28 12:07:39 -0500 (Tue, 28 Oct 2008) | 15 lines

  Merged revisions 152368 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r152368 | tilghman | 2008-10-28 12:04:56 -0500 (Tue, 28 Oct 2008) | 8 lines

    Reset all DIAL variables back to blank, in case Dial is called multiple times
    per call (which could otherwise lead to inconsistent status reports).
    (closes issue #13216)
     Reported by: ruddy
     Patches:
           20081014__bug13216.diff.txt uploaded by Corydon76 (license 14)
     Tested by: ruddy
  ........
................
  r152467 | tilghman | 2008-10-28 17:33:40 -0500 (Tue, 28 Oct 2008) | 10 lines

  Merged revisions 152463 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r152463 | tilghman | 2008-10-28 17:32:34 -0500 (Tue, 28 Oct 2008) | 3 lines

    Quoting in the wrong direction
    (Fixes AST-107)
  ........
................
  r152569 | russell | 2008-10-29 00:34:26 -0500 (Wed, 29 Oct 2008) | 15 lines

  Merged revisions 152539 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r152539 | russell | 2008-10-29 00:23:51 -0500 (Wed, 29 Oct 2008) | 7 lines

  Fix an incorrect usage of sizeof()

  (closes issue #13795)
  Reported by: andrew53
  Patches:
   chan_sip_sizeof.patch uploaded by andrew53 (license 519)

  ........
................
  r152605 | murf | 2008-10-29 00:47:13 -0500 (Wed, 29 Oct 2008) | 22 lines

  Merged revisions 152538 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r152538 | murf | 2008-10-28 23:19:04 -0600 (Tue, 28 Oct 2008) | 14 lines

  A little documentation cross-ref between features and
  dial and queue... I wasted some time (stupidly) trying
  to get the one-touch parking stuff working, because it
  didn't occur to me that I had to also have the corresponding
  options in the dial command! Duh! (In all this time, I never
  set this up before!)
  So, to keep some poor fool from suffering the same fate,
  I made the features.conf.sample file mention the corresponding
  opts in dial/queue; and the docs for dial/app specifically
  mention the corresponding decls in the feature.conf file.

  I hope this doesn't spoil some vast, eternal plan...

  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160388 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 147518,147689,148000,148112,148268,148917,148988,149062,149131,14920...
Tilghman Lesher [Tue, 2 Dec 2008 22:16:32 +0000 (22:16 +0000)] 
Merged revisions 147518,147689,148000,148112,148268,148917,148988,149062,149131,149201,149205,149208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r147518 | file | 2008-10-08 09:53:51 -0500 (Wed, 08 Oct 2008) | 9 lines

  Merged revisions 147517 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r147517 | file | 2008-10-08 11:51:42 -0300 (Wed, 08 Oct 2008) | 2 lines

    If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)
  ........
................
  r147689 | kpfleming | 2008-10-08 17:26:55 -0500 (Wed, 08 Oct 2008) | 9 lines

  Merged revisions 147681 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r147681 | kpfleming | 2008-10-08 17:22:09 -0500 (Wed, 08 Oct 2008) | 3 lines

    when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
  ........
................
  r148000 | tilghman | 2008-10-09 14:39:34 -0500 (Thu, 09 Oct 2008) | 11 lines

  Merged revisions 147997 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r147997 | tilghman | 2008-10-09 14:38:33 -0500 (Thu, 09 Oct 2008) | 4 lines

    When blank, callerid name and number should display "unknown caller" in voicemail
    emails.
    (Closes issue #13643)
  ........
................
  r148112 | mmichelson | 2008-10-09 18:15:33 -0500 (Thu, 09 Oct 2008) | 26 lines

  Merged revisions 146026 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r146026 | murf | 2008-10-03 12:12:54 -0500 (Fri, 03 Oct 2008) | 18 lines

  (closes issue #13579)
  Reported by: dwagner

  (closes issue #13584)
  Reported by: dwagner
  Tested by: murf, putnopvut

  The thought occurred to me that the res= from the extension spawn
  was ending up being returned from the bridge.

  "Thou shalt not poison the return value". Made the change
  and it appears to allow blind xfers to work as normal.

  If I'm wrong, reopen the bugs. But it looks good to me!

  Many thanks to putnopvut for helping me reproduce this!

  ........
................
  r148268 | tilghman | 2008-10-10 11:31:31 -0500 (Fri, 10 Oct 2008) | 14 lines

  Merged revisions 148257 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r148257 | tilghman | 2008-10-10 11:25:31 -0500 (Fri, 10 Oct 2008) | 7 lines

    User not notified of temporary greeting, if ODBC storage is in use.
    (closes issue #13659)
     Reported by: moliveras
     Patches:
           20081009__bug13659.diff.txt uploaded by Corydon76 (license 14)
     Tested by: moliveras
  ........
................
  r148917 | tilghman | 2008-10-14 12:46:48 -0500 (Tue, 14 Oct 2008) | 11 lines

  Merged revisions 148916 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r148916 | tilghman | 2008-10-14 12:41:08 -0500 (Tue, 14 Oct 2008) | 4 lines

    Ensure that mail headers are 7-bit clean, even when UTF-8 characters are used
    in headers like 'Subject' and 'To'.
    Closes AST-107.
  ........
................
  r148988 | tilghman | 2008-10-14 14:03:44 -0500 (Tue, 14 Oct 2008) | 9 lines

  Merged revisions 148987 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r148987 | tilghman | 2008-10-14 14:03:08 -0500 (Tue, 14 Oct 2008) | 2 lines

    Some compilers warn, some don't.  Fixing.
  ........
................
  r149062 | tilghman | 2008-10-14 15:16:48 -0500 (Tue, 14 Oct 2008) | 13 lines

  Merged revisions 149061 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r149061 | tilghman | 2008-10-14 15:09:06 -0500 (Tue, 14 Oct 2008) | 6 lines

    Check correct values in the return of ast_waitfor(); also, get rid of a
    possible memory leak.
    (closes issue #13658)
     Reported by: explidous
     Patch by: me
  ........
................
  r149131 | mmichelson | 2008-10-14 16:08:48 -0500 (Tue, 14 Oct 2008) | 15 lines

  Merged revisions 149130 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines

  Don't allow reserved characters to be used in register
  lines in sip.conf.

  (closes issue #13570)
  Reported by: putnopvut

  ........
................
  r149201 | mmichelson | 2008-10-14 17:41:13 -0500 (Tue, 14 Oct 2008) | 20 lines

  Merged revisions 149200 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r149200 | mmichelson | 2008-10-14 17:40:42 -0500 (Tue, 14 Oct 2008) | 12 lines

  Update the queue with the correct number of calls and
  whether the call was completed within the service level
  when a transfer takes place. This way, we do not "break"
  the leastrecent and fewestcalls strategies by not logging
  a call until after the transferred call has ended.

  (closes issue #13395)
  Reported by: Marquis
  Patches:
        app_queue.c.transfer.patch uploaded by Marquis (license 32)

  ........
................
  r149205 | mmichelson | 2008-10-14 18:04:44 -0500 (Tue, 14 Oct 2008) | 20 lines

  Merged revisions 149204 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines

  Add a tolerance period for sync-triggered audiohooks
  so that if packetization of audio is close (but not equal)
  we don't end up flushing the audiohooks over small
  inconsistencies in synchronization.

  Related to issue #13005, and solves the issue
  for most people who were experiencing the problem.
  However, a small number of people are still experiencing
  the problem on long calls, so I am not closing
  the issue yet

  ........
................
  r149208 | mmichelson | 2008-10-14 18:15:04 -0500 (Tue, 14 Oct 2008) | 17 lines

  Merged revisions 149207 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines

  Call register_peer_exten even in the case that the peer's
  IP/port does not change.

  (closes issue #13309)
  Reported by: dimas
  Patches:
        v2-13309.patch uploaded by dimas (license 88)

  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160387 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 115313,121770,123272,139624,140205,144257 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 21:46:38 +0000 (21:46 +0000)] 
Merged revisions 115313,121770,123272,139624,140205,144257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r115313 | tilghman | 2008-05-05 15:22:08 -0500 (Mon, 05 May 2008) | 10 lines

  Merged revisions 115312 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r115312 | tilghman | 2008-05-05 15:17:55 -0500 (Mon, 05 May 2008) | 2 lines

  Reverse order, such that user configs override default selections

  ........
................
  r121770 | crichter | 2008-06-11 06:52:18 -0500 (Wed, 11 Jun 2008) | 9 lines

  Merged revisions 121751 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r121751 | crichter | 2008-06-11 11:28:04 +0200 (Mi, 11 Jun 2008) | 1 line

  fixed issue with previous commit, the find_free_channel test for channels which where inuse was broken.
  ........
................
  r123272 | russell | 2008-06-17 10:52:13 -0500 (Tue, 17 Jun 2008) | 12 lines

  Merged revisions 123271 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines

  Fix a memory leak in astobj2 that was pointed out by seanbright.  When a container
  got destroyed, the underlying bucket list entry for each object that was in the
  container at that time did not get free'd.

  ........
................
  r139624 | jpeeler | 2008-08-22 16:57:32 -0500 (Fri, 22 Aug 2008) | 13 lines

  Merged revisions 139621 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r139621 | jpeeler | 2008-08-22 16:36:13 -0500 (Fri, 22 Aug 2008) | 5 lines

  (closes issue #13359)
  Reported by: Laureano
  Patches:
        originate_channel_check.patch uploaded by Laureano (license 265)

  ........
................
  r140205 | jpeeler | 2008-08-26 13:48:55 -0500 (Tue, 26 Aug 2008) | 17 lines

  Merged revisions 140056 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r140056 | jpeeler | 2008-08-26 10:57:02 -0500 (Tue, 26 Aug 2008) | 9 lines

  (closes issue #12071)
  Reported by: tzafrir
  Patches:
        dahdi_close.diff uploaded by tzafrir (license 46)
  Tested by: tzafrir, jpeeler

  This patch fixes closing open file descriptors in the case of an error.

  ........
................
  r144257 | crichter | 2008-09-24 03:42:55 -0500 (Wed, 24 Sep 2008) | 9 lines

  Merged revisions 144238 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
  r144238 | crichter | 2008-09-24 10:20:52 +0200 (Mi, 24 Sep 2008) | 1 line

  improved helptext of misdn_set_opt.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160386 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160333 via svnmerge from
Jeff Peeler [Tue, 2 Dec 2008 18:05:32 +0000 (18:05 +0000)] 
Merged revisions 160333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160333 | jpeeler | 2008-12-02 12:04:51 -0600 (Tue, 02 Dec 2008) | 1 line

remove duplicate comment that I accidentally merged
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160337 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160319 via svnmerge from
Jeff Peeler [Tue, 2 Dec 2008 18:03:31 +0000 (18:03 +0000)] 
Merged revisions 160319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160319 | jpeeler | 2008-12-02 12:00:24 -0600 (Tue, 02 Dec 2008) | 7 lines

(closes issue #13786)
Reported by: tzafrir

Readding DAHDI_CHECK_HOOKSTATE define that was removed in r134260 which fixes not being able to make outgoing calls on some FXO adapters:
http://lists.digium.com/pipermail/asterisk-users/2008-November/thread.html#221553

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160326 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160308 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 18:01:47 +0000 (18:01 +0000)] 
Merged revisions 160308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160308 | tilghman | 2008-12-02 11:56:24 -0600 (Tue, 02 Dec 2008) | 17 lines

  Merged revisions 160297 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160297 | tilghman | 2008-12-02 11:42:09 -0600 (Tue, 02 Dec 2008) | 10 lines

    When the text does not match exactly (e.g. RTP/SAVP), then the %n conversion
    fails, and the resulting integer is garbage.  Thus, we must initialize the
    integer and check it afterwards for success.
    (closes issue #14000)
     Reported by: folke
     Patches:
           asterisk-sipbg-sscanf-1.4.22.diff uploaded by folke (license 626)
           asterisk-sipbg-sscanf-1.6.0.1.diff uploaded by folke (license 626)
           asterisk-sipbg-sscanf-trunk-r159896.diff uploaded by folke (license 626)
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160322 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160208 via svnmerge from
Tilghman Lesher [Tue, 2 Dec 2008 00:57:31 +0000 (00:57 +0000)] 
Merged revisions 160208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160208 | tilghman | 2008-12-01 18:37:21 -0600 (Mon, 01 Dec 2008) | 10 lines

  Merged revisions 160207 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r160207 | tilghman | 2008-12-01 18:25:16 -0600 (Mon, 01 Dec 2008) | 3 lines

    Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc
    and glibc.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160228 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160170-160172 via svnmerge from
Sean Bright [Mon, 1 Dec 2008 23:41:16 +0000 (23:41 +0000)] 
Merged revisions 160170-160172 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160170 | seanbright | 2008-12-01 18:08:24 -0500 (Mon, 01 Dec 2008) | 1 line

  Pay attention to the return value of system(), even if we basically ignore it.
................
  r160171 | seanbright | 2008-12-01 18:18:48 -0500 (Mon, 01 Dec 2008) | 1 line

  Silence a build warning. (chan_phone.c:810: warning: value computed is not used)
................
  r160172 | seanbright | 2008-12-01 18:37:49 -0500 (Mon, 01 Dec 2008) | 10 lines

  Merged revisions 159976 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r159976 | mvanbaak | 2008-12-01 11:08:36 -0500 (Mon, 01 Dec 2008) | 3 lines

    Get rid of the useless format string and argument in the Bogus/ manager channelname.
    Noted by kpfleming and name Bogus/manager suggested by eliel
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160173 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160097 via svnmerge from
Tilghman Lesher [Mon, 1 Dec 2008 21:45:00 +0000 (21:45 +0000)] 
Merged revisions 160097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160097 | tilghman | 2008-12-01 15:23:37 -0600 (Mon, 01 Dec 2008) | 2 lines

  Use AST_EXT_LIB_SETUP before using AST_EXT_LIB_CHECK or bad things happen.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 154919 via svnmerge from
Sean Bright [Mon, 1 Dec 2008 21:07:48 +0000 (21:07 +0000)] 
Merged revisions 154919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r154919 | seanbright | 2008-11-05 17:01:22 -0500 (Wed, 05 Nov 2008) | 2 lines

  Fix a problem found while building res_snmp.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160096 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 160004 via svnmerge from
Russell Bryant [Mon, 1 Dec 2008 17:39:33 +0000 (17:39 +0000)] 
Merged revisions 160004 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r160004 | russell | 2008-12-01 11:34:31 -0600 (Mon, 01 Dec 2008) | 14 lines

Merged revisions 160003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r160003 | russell | 2008-12-01 11:27:30 -0600 (Mon, 01 Dec 2008) | 6 lines

Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
both have the potential to send control frames in the middle of call setup.  We
have to wait until we have received a message back from the remote end before
we try to send any more frames.  Otherwise, the remote end will consider it
invalid, and we'll get stuck in an INVAL/VNAK storm.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160005 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159898 via svnmerge from
Michiel van Baak [Mon, 1 Dec 2008 16:04:31 +0000 (16:04 +0000)] 
Merged revisions 159898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159898 | mvanbaak | 2008-12-01 15:09:59 +0100 (Mon, 01 Dec 2008) | 11 lines

  Merged revisions 159897 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r159897 | mvanbaak | 2008-12-01 15:05:41 +0100 (Mon, 01 Dec 2008) | 4 lines

    make manager compile on OpenBSD.
    The last (10th) argument to ast_channel_alloc here should be a pointer
    and NULL is not really a pointer.
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159974 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159911 via svnmerge from
Russell Bryant [Mon, 1 Dec 2008 14:56:58 +0000 (14:56 +0000)] 
Merged revisions 159911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r159911 | russell | 2008-12-01 08:56:10 -0600 (Mon, 01 Dec 2008) | 10 lines

Merged revisions 159900 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r159900 | russell | 2008-12-01 08:52:56 -0600 (Mon, 01 Dec 2008) | 2 lines

Force a "make clean" to avoid a bizarre build issue ...

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159915 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159818 via svnmerge from
Kevin P. Fleming [Sat, 29 Nov 2008 18:37:55 +0000 (18:37 +0000)] 
Merged revisions 159818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159818 | kpfleming | 2008-11-29 11:57:39 -0600 (Sat, 29 Nov 2008) | 18 lines

  incorporates r159808 from branches/1.4:
  ------------------------------------------------------------------------
  r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines

  update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors

  since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them

  format attributes in a consistent way

  ------------------------------------------------------------------------

  in addition:

  move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159855 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159554 via svnmerge from
Mark Michelson [Wed, 26 Nov 2008 19:58:12 +0000 (19:58 +0000)] 
Merged revisions 159554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r159554 | mmichelson | 2008-11-26 13:57:11 -0600 (Wed, 26 Nov 2008) | 19 lines

Add some necessary hangup commands in the case that forwarding
a call fails

1) Hang up the original destination if the local channel cannot
   be requested.
2) Hang up the local channel (in addition to the original destination)
   if ast_call fails when calling the newly created local channel.

This prevents channels from sticking around forever in the
case of a botched call forward (e.g. to an extension which does not
exist).

(closes issue #13764)
Reported by: davidw
Patches:
      13764_v2.patch uploaded by putnopvut (license 60)
Tested by: putnopvut, davidw

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159534 via svnmerge from
Kevin P. Fleming [Wed, 26 Nov 2008 19:18:53 +0000 (19:18 +0000)] 
Merged revisions 159534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159534 | kpfleming | 2008-11-26 13:08:56 -0600 (Wed, 26 Nov 2008) | 11 lines

  Merged revisions 159476 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r159476 | kpfleming | 2008-11-26 12:36:24 -0600 (Wed, 26 Nov 2008) | 7 lines

    simplify (and slightly bug-fix) the recent developer-oriented COMPILE_DOUBLE mode

    ensure that 'make clean' removes dependency files for .i files that are created in COMPILE_DOUBLE mode
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159475 via svnmerge from
Tilghman Lesher [Wed, 26 Nov 2008 18:40:28 +0000 (18:40 +0000)] 
Merged revisions 159475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159475 | tilghman | 2008-11-26 12:33:04 -0600 (Wed, 26 Nov 2008) | 7 lines

  If the config file does not exist, then the first use crashes Asterisk.
  (closes issue #13848)
   Reported by: klaus3000
   Patches:
         udptl.c.patch uploaded by eliel (license 64)
   Tested by: blitzrage
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159437 via svnmerge from
Mark Michelson [Wed, 26 Nov 2008 15:01:27 +0000 (15:01 +0000)] 
Merged revisions 159437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r159437 | mmichelson | 2008-11-26 08:58:17 -0600 (Wed, 26 Nov 2008) | 10 lines

Don't allow for configuration options to overwrite options
set via channel variables on a reload.

(closes issue #13921)
Reported by: davidw
Patches:
      13921.patch uploaded by putnopvut (license 60)
Tested by: davidw

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159439 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159360 via svnmerge from
Steve Murphy [Tue, 25 Nov 2008 23:09:11 +0000 (23:09 +0000)] 
Merged revisions 159360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r159360 | murf | 2008-11-25 16:03:01 -0700 (Tue, 25 Nov 2008) | 23 lines

Merged revisions 159316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r159316 | murf | 2008-11-25 15:41:10 -0700 (Tue, 25 Nov 2008) | 15 lines

(closes issue #12694)
Reported by: yraber
Patches:
      12694.2nd.diff uploaded by murf (license 17)
Tested by: murf, laurav

Thanks to file (Joshua Colp) for his IAX fix.

the change to cdr.c allows no-answer to percolate
up into CDR's, and feels like the right place to
locate this fix; if BUSY is done here, no-answer
should be, too.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159374 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoI don't care what anyone says, this change is going into 1.6.0.
Mark Michelson [Tue, 25 Nov 2008 22:28:48 +0000 (22:28 +0000)] 
I don't care what anyone says, this change is going into 1.6.0.

Otherwise, the simple act of logging an agent in spams the CLI
with warning messages about failed reads of the alertpipe.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159314 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159247 via svnmerge from
Tilghman Lesher [Tue, 25 Nov 2008 21:43:27 +0000 (21:43 +0000)] 
Merged revisions 159247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159247 | tilghman | 2008-11-25 15:42:42 -0600 (Tue, 25 Nov 2008) | 21 lines

  Merged revisions 159246 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ................
    r159246 | tilghman | 2008-11-25 15:40:28 -0600 (Tue, 25 Nov 2008) | 14 lines

    Merged revisions 159245 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.2

    ........
      r159245 | tilghman | 2008-11-25 15:37:06 -0600 (Tue, 25 Nov 2008) | 7 lines

      Regression fix for last security fix.  Set the iseqno correctly.
      (closes issue #13918)
       Reported by: ffloimair
       Patches:
             20081119__bug13918.diff.txt uploaded by Corydon76 (license 14)
       Tested by: ffloimair
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159248 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 159093 via svnmerge from
Terry Wilson [Tue, 25 Nov 2008 16:21:25 +0000 (16:21 +0000)] 
Merged revisions 159093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159093 | twilson | 2008-11-25 10:18:53 -0600 (Tue, 25 Nov 2008) | 2 lines

  Add missing variable declaration for PPC code
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159094 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158992 via svnmerge from
Terry Wilson [Tue, 25 Nov 2008 04:05:31 +0000 (04:05 +0000)] 
Merged revisions 158992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158992 | twilson | 2008-11-24 21:49:30 -0600 (Mon, 24 Nov 2008) | 2 lines

  Make chan_usbradio compile under dev mode
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@159024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158484 via svnmerge from
Steve Murphy [Fri, 21 Nov 2008 22:40:28 +0000 (22:40 +0000)] 
Merged revisions 158484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r158484 | murf | 2008-11-21 14:47:16 -0700 (Fri, 21 Nov 2008) | 19 lines

Merged revisions 158483 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r158483 | murf | 2008-11-21 14:19:47 -0700 (Fri, 21 Nov 2008) | 11 lines

(closes issue #13871)
Reported by: mdu113

This one is totally my fault. The code doesn't even
create a bridge CDR if the channel CDR has POST_DISABLED.
I didn't check for that at the end of the bridge.
Fixed with a few small insertions. Tested. Looks
good. No cdr generated, no crash, no unnecc. data
objects created either.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158540 via svnmerge from
Russell Bryant [Fri, 21 Nov 2008 22:13:42 +0000 (22:13 +0000)] 
Merged revisions 158540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r158540 | russell | 2008-11-21 16:12:37 -0600 (Fri, 21 Nov 2008) | 10 lines

Merged revisions 158539 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r158539 | russell | 2008-11-21 16:05:55 -0600 (Fri, 21 Nov 2008) | 2 lines

When compiling with DEBUG_THREADS, report the real file/func/line for ao2_lock/ao2_unlock

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158542 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158449 via svnmerge from
Kevin P. Fleming [Fri, 21 Nov 2008 20:44:23 +0000 (20:44 +0000)] 
Merged revisions 158449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158449 | kpfleming | 2008-11-21 14:42:37 -0600 (Fri, 21 Nov 2008) | 3 lines

  as suggested by jtodd, document the purposes of the CHANGES and UPGRADE files
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158451 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158374 via svnmerge from
Terry Wilson [Fri, 21 Nov 2008 17:12:27 +0000 (17:12 +0000)] 
Merged revisions 158374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158374 | twilson | 2008-11-21 11:08:16 -0600 (Fri, 21 Nov 2008) | 8 lines

  Reloading the config and having no changes still initialized some settings to 0. Initialize settings after doing all of the cfg checks.

  (closes issue #13942)
  Reported by: davidw
  Patches:
        cdr_diff.txt uploaded by otherwiseguy (license 396)
  Tested by: davidw
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158265-158266 via svnmerge from
Mark Michelson [Fri, 21 Nov 2008 01:23:18 +0000 (01:23 +0000)] 
Merged revisions 158265-158266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r158265 | mmichelson | 2008-11-20 19:14:20 -0600 (Thu, 20 Nov 2008) | 4 lines

Use some magic constants to get the right size
for this sscanf statement. Thanks Richard!

........
r158266 | mmichelson | 2008-11-20 19:22:18 -0600 (Thu, 20 Nov 2008) | 3 lines

Use a more expressive constant for a 64-bit scanned int

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158267 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158262 via svnmerge from
Mark Michelson [Fri, 21 Nov 2008 01:00:24 +0000 (01:00 +0000)] 
Merged revisions 158262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r158262 | mmichelson | 2008-11-20 18:59:23 -0600 (Thu, 20 Nov 2008) | 6 lines

Fix the build for 32-bit systems. %lu is only 32-bits
on 32-bit systems, so we need to use %llu instead. Of course
%llu is 128-bits on 64-bit systems, so we have to cast to
unsigned long long. No harm, but it's sure annoying.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158263 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158230 via svnmerge from
Mark Michelson [Thu, 20 Nov 2008 23:13:33 +0000 (23:13 +0000)] 
Merged revisions 158230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r158230 | mmichelson | 2008-11-20 17:12:50 -0600 (Thu, 20 Nov 2008) | 20 lines

Change the remote user agent session version variable
from an int to a uint64_t. This prevents potential comparison
problems from happening if the version string exceeds
INT_MAX. This was an apparent problem for one user who could
not properly place a call on hold since the version in the
SDP of the re-INVITE to place the call on hold greatly
exceeded INT_MAX.

This also aligns with RFC 2327 better since it recommends
using an NTP timestamp for the version (which is a
64-bit number).

(closes issue #13531)
Reported by: sgofferj
Patches:
      13531.patch uploaded by putnopvut (license 60)
Tested by: sgofferj

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 158188 via svnmerge from
Sean Bright [Thu, 20 Nov 2008 19:42:31 +0000 (19:42 +0000)] 
Merged revisions 158188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158188 | seanbright | 2008-11-20 14:41:23 -0500 (Thu, 20 Nov 2008) | 10 lines

  Fix one case where the application argument was not converted from a pipe to
  a comma.  This was causing problems with switch statements with empty expressions.

  (closes issue #13901)
  Reported by: smurfix
  Patches:
        20081118_bug13901.diff uploaded by seanbright (license 71)
  Tested by: seanbright
  Reviewed by: murf
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoBlocked revisions 158061 via svnmerge
Jason Parker [Thu, 20 Nov 2008 17:38:01 +0000 (17:38 +0000)] 
Blocked revisions 158061 via svnmerge

........
  r158061 | qwell | 2008-11-20 11:37:05 -0600 (Thu, 20 Nov 2008) | 1 line

  Whitespace fix
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@158063 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157974 via svnmerge from
Kevin P. Fleming [Thu, 20 Nov 2008 00:12:32 +0000 (00:12 +0000)] 
Merged revisions 157974 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r157974 | kpfleming | 2008-11-19 18:08:12 -0600 (Wed, 19 Nov 2008) | 13 lines

  Merged revisions 157859 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r157859 | kpfleming | 2008-11-19 15:34:47 -0600 (Wed, 19 Nov 2008) | 7 lines

    the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems.

    with this build system change, if (and only if) --enable-dev-mode was used and DONT_OPTIMIZE is turned on, when a source file is compiled it will actually be preprocessed (into a .i or .ii file), then compiled once with optimization (with the result sent to /dev/null) and again without optimization (but only if the first compile succeeded, of course).

    while making these changes, i did some cleanup work in Makefile.rules to move commonly-used combinations of flag variables into their own variables, to make the file easier to read and maintain
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157976 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157743 via svnmerge from
Kevin P. Fleming [Wed, 19 Nov 2008 13:48:47 +0000 (13:48 +0000)] 
Merged revisions 157743 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157743 | kpfleming | 2008-11-19 07:45:48 -0600 (Wed, 19 Nov 2008) | 1 line

  correct small bug introduced during API conversion
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157746 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157706 via svnmerge from
Kevin P. Fleming [Wed, 19 Nov 2008 13:19:49 +0000 (13:19 +0000)] 
Merged revisions 157706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157706 | kpfleming | 2008-11-19 06:42:19 -0600 (Wed, 19 Nov 2008) | 5 lines

  make some corrections to the ast_agi_register_multiple(), ast_agi_unregister_multiple() and ast_agi_fdprintf() API calls to be consistent with API guidelines

  also, move UPGRADE.txt to UPGRADE-1.6.txt and make the new UPGRADE.txt contain information about upgrading between Asterisk 1.6 releases
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157600 via svnmerge from
Sean Bright [Wed, 19 Nov 2008 00:33:27 +0000 (00:33 +0000)] 
Merged revisions 157600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157600 | seanbright | 2008-11-18 19:27:45 -0500 (Tue, 18 Nov 2008) | 10 lines

  Fix a few build problems on Solaris (and check for an md5 utility in
  configure instead of the icky loop I was doing before).

  (closes issue #13842)
  Reported by: snuffy
  Patches:
        bug13842_20081106.diff uploaded by snuffy (license 35)
        13842.diff uploaded by seanbright (license 71)
  Tested by: snuffy
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157601 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157512 via svnmerge from
Mark Michelson [Tue, 18 Nov 2008 22:59:59 +0000 (22:59 +0000)] 
Merged revisions 157512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r157512 | mmichelson | 2008-11-18 16:54:08 -0600 (Tue, 18 Nov 2008) | 21 lines

Merged revisions 157503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r157503 | mmichelson | 2008-11-18 16:47:57 -0600 (Tue, 18 Nov 2008) | 13 lines

Add some missing invite state changes necessary in the sip_write
function. Not setting the invite state correctly on the call was
resulting in the Record application leaving empty files. I also
have updated the doxygen comment next to the declaration of the
INV_EARLY_MEDIA constant to reflect that we also use this state
when we *send* a 18X response to an INVITE.

(closes issue #13878)
Reported by: nahuelgreco
Patches:
      sip-early-media-recording-1.4.22.patch uploaded by nahuelgreco (license 162)
  Tested by: putnopvut

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157541 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoOnce again, Russell to the rescue. Use the builtin astobj1 lock
Mark Michelson [Tue, 18 Nov 2008 22:15:31 +0000 (22:15 +0000)] 
Once again, Russell to the rescue. Use the builtin astobj1 lock
of the sip_peer and sip_user instead of adding a new one

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157496 via svnmerge from
Mark Michelson [Tue, 18 Nov 2008 22:11:11 +0000 (22:11 +0000)] 
Merged revisions 157496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157496 | mmichelson | 2008-11-18 15:59:24 -0600 (Tue, 18 Nov 2008) | 6 lines

Based on Russell's advice on the asterisk-dev list, I have
changed from using a global lock in update_call_counter to
using the locks within the sip_pvt and sip_peer structures
instead.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157500 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157427 via svnmerge from
Mark Michelson [Tue, 18 Nov 2008 20:29:18 +0000 (20:29 +0000)] 
Merged revisions 157427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157427 | mmichelson | 2008-11-18 14:23:58 -0600 (Tue, 18 Nov 2008) | 13 lines

* Add a lock to be used in the update_call_counter function.
* Revert logic to mirror 1.4's in the sense that it will not allow
  the call counter to dip below 0.

These two measures prevent potential races that could cause a SIP peer
to appear to be busy forever.

(closes issue #13668)
Reported by: mjc
Patches:
      hintfix_trunk_rev152649.patch uploaded by wolfelectronic (license 586)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157428 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157306 via svnmerge from
Mark Michelson [Tue, 18 Nov 2008 18:32:18 +0000 (18:32 +0000)] 
Merged revisions 157306 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r157306 | mmichelson | 2008-11-18 12:31:08 -0600 (Tue, 18 Nov 2008) | 20 lines

Merged revisions 157305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r157305 | mmichelson | 2008-11-18 12:25:55 -0600 (Tue, 18 Nov 2008) | 12 lines

Fix a crash in the end_bridge_callback of app_dial and
app_followme which would occur at the end of an attended
transfer. The error occurred because we initially stored
a pointer to an ast_channel which then was hung up due
to a masquerade.

This commit adds a "fixup" callback to the bridge_config
structure to allow for end_bridge_callback_data to be
changed in the case that a new channel pointer is needed
for the end_bridge_callback.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157307 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157302 via svnmerge from
Steve Murphy [Tue, 18 Nov 2008 18:10:34 +0000 (18:10 +0000)] 
Merged revisions 157302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157302 | murf | 2008-11-18 11:07:55 -0700 (Tue, 18 Nov 2008) | 18 lines

(closes issue #13420)
Reported by: alex70
Patches:
      13420.13539.patch uploaded by murf (license 17)
Tested by: murf, awk

This fixes two problems: a spurious linefeed insertion
probably left over from pre-precomment times. Only
generated when category had no previous comments.

The other problem: Insertions could get the line-numbering
out of whack and generate negative line numbers, causing
chunks of line numbers to be emitted, on the scale of the
number of lines up to that point in the file. In such cases,
abort the looping, and all is well.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157303 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157164 via svnmerge from
Kevin P. Fleming [Sat, 15 Nov 2008 19:47:36 +0000 (19:47 +0000)] 
Merged revisions 157164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r157164 | kpfleming | 2008-11-15 20:45:19 +0100 (Sat, 15 Nov 2008) | 13 lines

  Merged revisions 157162-157163 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r157162 | kpfleming | 2008-11-15 20:24:24 +0100 (Sat, 15 Nov 2008) | 1 line

    dist-clean should remove dependency information files as well
  ........
    r157163 | kpfleming | 2008-11-15 20:31:03 +0100 (Sat, 15 Nov 2008) | 1 line

    when an individual directory dist-clean is run, run clean in that directory first, and when running top-level dist-clean, do not run subdirectory clean operations twice
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157165 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 157105 via svnmerge from
Kevin P. Fleming [Sat, 15 Nov 2008 18:39:42 +0000 (18:39 +0000)] 
Merged revisions 157105 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157105 | kpfleming | 2008-11-15 19:00:32 +0100 (Sat, 15 Nov 2008) | 13 lines

  major update to doxygen configuration file:

  1) update to doxygen 1.5.x style file, as used in trunk

  2) tell doxygen where are header files are, so include-file processing can be done

  3) make all macros that are used to define variables/functions be expanded, so that doxygen will properly document the resulting variable/function

  4) make all macros that are used to provide the contents of a variable (structure) be expanded, so that doxygen will be able to document the resulting fields

  5) suppress compiler attributes (__attribute__(xxx)) from being seen by doxygen, so it will properly match up function definition and usage (for an example of th effect of this, look at the doxygen docs for ast_log() from before and afte this commit)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@157107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

16 years agoMerged revisions 156911 via svnmerge from
Tilghman Lesher [Fri, 14 Nov 2008 17:03:26 +0000 (17:03 +0000)] 
Merged revisions 156911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r156911 | tilghman | 2008-11-14 11:02:00 -0600 (Fri, 14 Nov 2008) | 4 lines

  Ping is missing the standard double-newline after the event.
  (closes issue #13903)
   Reported by: kebl0155
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@156912 65c4cc65-6c06-0410-ace0-fbb531ad65f3