Commit Graph

16401 Commits

Author SHA1 Message Date
Tilghman Lesher
a4216d24c2 Merged revisions 162466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162466 | tilghman | 2008-12-09 17:10:34 -0600 (Tue, 09 Dec 2008) | 9 lines
  
  Merged revisions 162463 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162463 | tilghman | 2008-12-09 17:08:53 -0600 (Tue, 09 Dec 2008) | 2 lines
    
    Oops, should be "tz", not "zonetag".
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 23:11:21 +00:00
Russell Bryant
97373c3410 Blocked revisions 162418 via svnmerge
........
r162418 | russell | 2008-12-09 16:38:41 -0600 (Tue, 09 Dec 2008) | 7 lines

Add some additional Asterisk project developer documentation.  

After the nightly update of the documentation on asterisk.org, I'll post 
an update to asterisk-dev with a pointer to the changes.  This covers some
release branch and commit policy information.  None of this should be a
surprise, since it's just documenting what we have already been doing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:38:55 +00:00
Russell Bryant
1f2e9439fd Merged revisions 162414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162414 | russell | 2008-12-09 16:25:06 -0600 (Tue, 09 Dec 2008) | 16 lines

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

........
r162413 | russell | 2008-12-09 16:17:39 -0600 (Tue, 09 Dec 2008) | 8 lines

Remove the test_for_thread_safety() function completely.

The test is not valid.  Besides, if we actually suspected that recursive
mutexes were not working, we would get a ton of LOG_ERROR messages when
DEBUG_THREADS is turned on.

(inspired by a discussion on the asterisk-dev list)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@162415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:30:52 +00:00
Tilghman Lesher
cd4008a657 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
2008-12-09 21:59:42 +00:00
Joshua Colp
a5202c0285 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
2008-12-09 21:17:25 +00:00
Russell Bryant
f8b80089f1 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
2008-12-09 21:02:01 +00:00
Joshua Colp
1fbbdbf26d 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
2008-12-09 20:47:11 +00:00
Dwayne M. Hubbard
42b53c5026 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
2008-12-09 20:45:20 +00:00
Steve Murphy
263a912934 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
2008-12-09 20:44:10 +00:00
Mark Michelson
fa979f0828 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
2008-12-09 20:31:21 +00:00
Joshua Colp
3948ee149b 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
2008-12-09 19:50:39 +00:00
Joshua Colp
a38d0e6fa1 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
2008-12-09 19:09:40 +00:00
Steve Murphy
7e806f5ddb 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
2008-12-09 18:40:49 +00:00
Steve Murphy
a4189e547f 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
2008-12-09 17:27:26 +00:00
Eliel C. Sardanons
a10c5cade1 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
2008-12-09 16:54:18 +00:00
Russell Bryant
404c99d4d3 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
2008-12-09 16:48:57 +00:00
Russell Bryant
6d83552430 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
2008-12-09 15:02:40 +00:00
Joshua Colp
dd21fc652d 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
2008-12-08 21:42:21 +00:00
Joshua Colp
3c11a93e30 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
2008-12-08 20:54:34 +00:00
Tilghman Lesher
8de845fa84 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
2008-12-08 18:51:30 +00:00
Joshua Colp
fcbd8a7d24 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
2008-12-08 18:48:54 +00:00
Joshua Colp
77033f4ad0 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
2008-12-08 17:54:45 +00:00
Eliel C. Sardanons
775cc3c73b 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
2008-12-08 04:25:34 +00:00
Eliel C. Sardanons
f7f38c0048 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
2008-12-08 03:37:33 +00:00
Eliel C. Sardanons
55ba4370fb 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
2008-12-07 22:44:44 +00:00
Eliel C. Sardanons
445293432d 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
2008-12-06 21:20:29 +00:00
Mark Michelson
0e2af385ab 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
2008-12-05 23:26:45 +00:00
Mark Michelson
aa3e7acc89 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
2008-12-05 22:59:43 +00:00
Sean Bright
d9c4ba0231 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
2008-12-05 21:13:44 +00:00
Sean Bright
2e732411d4 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
2008-12-05 16:10:56 +00:00
Russell Bryant
39742e18c6 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
2008-12-05 14:17:50 +00:00
Russell Bryant
ab9270440e 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
2008-12-05 13:55:58 +00:00
Russell Bryant
29eeedeb5e Compiling is a good thing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@161261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-05 13:55:33 +00:00
Eliel C. Sardanons
3a661e91d6 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
2008-12-05 10:36:45 +00:00
Tilghman Lesher
71a4c78fa8 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
2008-12-05 05:43:36 +00:00
Sean Bright
2b4bfa3c77 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
2008-12-05 02:51:48 +00:00
Eliel C. Sardanons
b1c3c64122 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
2008-12-04 19:35:46 +00:00
Jeff Peeler
704a528b72 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
2008-12-04 18:36:40 +00:00
Mark Michelson
cf7e1de2d1 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
2008-12-04 16:47:19 +00:00
Michiel van Baak
65d469c32d 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
2008-12-04 16:40:27 +00:00
Eliel C. Sardanons
86e0ff40ac 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
2008-12-04 13:50:41 +00:00
Richard Mudgett
a225f81162 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
2008-12-04 01:38:08 +00:00
Richard Mudgett
3ea1eea638 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
2008-12-04 01:17:17 +00:00
Tilghman Lesher
0e51fd84c4 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
2008-12-03 22:01:54 +00:00
Steve Murphy
5acbac37b5 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
2008-12-03 21:23:23 +00:00
Jason Parker
69e24fffbf 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
2008-12-03 20:36:10 +00:00
Eliel C. Sardanons
e250448a1b 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
2008-12-03 20:02:21 +00:00
Mark Michelson
3d5b168cbc 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
2008-12-03 18:41:28 +00:00
Tilghman Lesher
02ea919584 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
2008-12-03 18:01:04 +00:00
Tilghman Lesher
43386dbc31 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
2008-12-03 17:41:07 +00:00