Commit Graph

16805 Commits

Author SHA1 Message Date
Terry Wilson
3988a3ab93 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.1@159095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 16:21:55 +00:00
Tilghman Lesher
211179d6c9 Blocked revisions 159054 via svnmerge
........
  r159054 | tilghman | 2008-11-24 23:19:53 -0600 (Mon, 24 Nov 2008) | 5 lines
  
  Copyright clarification; also, have variable set to "t" or "i" on timeout or
  invalid extension, respectively.
  (closes issue #13944)
   Reported by: chappell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 05:21:35 +00:00
Tilghman Lesher
e20e4281a0 Merged revisions 159050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159050 | tilghman | 2008-11-24 23:02:11 -0600 (Mon, 24 Nov 2008) | 10 lines
  
  Merged revisions 159025 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159025 | tilghman | 2008-11-24 22:50:00 -0600 (Mon, 24 Nov 2008) | 3 lines
    
    System call ioperm is non-portable, so check for its existence in autoconf.
    (Closes issue #13863)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 05:05:18 +00:00
Terry Wilson
f76aac9db9 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.1@158993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 03:51:59 +00:00
Sean Bright
d76592ca22 Blocked revisions 158959 via svnmerge
........
  r158959 | seanbright | 2008-11-24 20:01:49 -0500 (Mon, 24 Nov 2008) | 8 lines
  
  This is basically a complete rollback of r155401, as it was determined that
  it would be best to maintain API compatibility.  Instead, this commit introduces
  ao2_callback_data() which is functionally identical to ao2_callback() except
  that it allows you to pass arbitrary data to the callback.
  
  Reviewed by Mark Michelson via ReviewBoard:
  	http://reviewboard.digium.com/r/64
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 01:02:57 +00:00
Matthew Nicholson
39f8b957f2 Merged revisions 158924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158924 | mnicholson | 2008-11-24 18:05:41 -0600 (Mon, 24 Nov 2008) | 6 lines
  
  Make the Join event from app_queue use CallerIDNum insead of CallerID for
  indicating the callerid number just like the rest of asterisk.
  
  (closes issue #13883)
  Reported by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 00:41:07 +00:00
Matthew Nicholson
ef6ffe6ee3 Merged revisions 158925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158925 | mnicholson | 2008-11-24 18:19:55 -0600 (Mon, 24 Nov 2008) | 2 lines
  
  Fix compiling in dev mode.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 00:26:06 +00:00
Matthew Nicholson
6e242b3728 Merged revisions 158876 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158876 | mnicholson | 2008-11-24 15:56:22 -0600 (Mon, 24 Nov 2008) | 7 lines
  
  Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
  
  (closes issue #13873)
  Reported by: fnordian
  Patches:
        ami_agievent.patch uploaded by fnordian (license 110)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 22:05:34 +00:00
Tilghman Lesher
483962e7c0 Merged revisions 158857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158857 | tilghman | 2008-11-24 15:52:34 -0600 (Mon, 24 Nov 2008) | 3 lines
  
  Add a bit of documentation (thanks, I-MOD) on what the silence threshold
  constant actually does and what values are valid for it.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 21:53:28 +00:00
Matthew Nicholson
a616e9593e Merged revisions 158851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158851 | mnicholson | 2008-11-24 15:27:26 -0600 (Mon, 24 Nov 2008) | 6 lines
  
  Make ast_streamfile() check the result of ast_openstream() before doing
  anything with it.
  
  (closes issue #13955)
  Reported by: chris-mac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 21:44:03 +00:00
Terry Wilson
5ca03a434f Blocked revisions 158808 via svnmerge
........
  r158808 | twilson | 2008-11-24 12:11:08 -0600 (Mon, 24 Nov 2008) | 8 lines
  
  This patch adds a new application for sending MWI to phones via Asterisk's event subsystem.  Also, the minivm documentation is all converted to use xmldocs.
  
  (closes issue #13946)
  Reported by: Marquis
  Patches: 
        minivmmwi_plus_xmldocs.patch uploaded by Marquis (license 32)
  Tested by: otherwiseguy, Marquis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 18:13:01 +00:00
Sean Bright
2a7b1e4e03 Blocked revisions 158756 via svnmerge
........
  r158756 | seanbright | 2008-11-22 22:36:52 -0500 (Sat, 22 Nov 2008) | 6 lines
  
  If you enabled 'notifycid' one of the limitations is that the calling channel
  is only found if it dialed the extension that was subscribed to.  You can now
  specify 'ignore-context' for the 'notifycid' option in sip.conf which will, as
  it's value implies, ignore the current context of the caller when doing the
  lookup.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-23 03:37:22 +00:00
Sean Bright
9b9fc6d9f1 Blocked revisions 158754 via svnmerge
........
  r158754 | seanbright | 2008-11-22 22:30:46 -0500 (Sat, 22 Nov 2008) | 3 lines
  
  No need to use a separate structure for this since we can just pass
  our sip_pvt pointer in directly.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-23 03:31:24 +00:00
Michiel van Baak
7050aefc33 Blocked revisions 158723 via svnmerge
........
  r158723 | mvanbaak | 2008-11-22 18:17:33 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  last commit worked on OpenBSD but still generated warning on Ubuntu.
  
  Initialise a variable so --enable-dev-mode does not complain
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 17:24:55 +00:00
Michiel van Baak
f3d703b73e Merged revisions 158694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158694 | mvanbaak | 2008-11-22 17:57:11 +0100 (Sat, 22 Nov 2008) | 8 lines
  
  dont send reorder tone after a device is hungup if a dialout is abandoned or failed.
  Without this reorder tone will play after hangup and both wedhorn's and my wife have threatened to use an axe on our asterisk box
  
  (closes issue #13948)
  Reported by: wedhorn
  Patches:
  	switch.diff uploaded by wedhorn (license 30)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 17:00:49 +00:00
Michiel van Baak
4dcab4065b Blocked revisions 158690 via svnmerge
........
  r158690 | mvanbaak | 2008-11-22 17:48:09 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  Add Media Source Update to skinny's control2str
  
  (issue #13948)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:59:09 +00:00
Michiel van Baak
996f437b5a Merged revisions 158688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158688 | mvanbaak | 2008-11-22 17:06:38 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  fix a very occasional core dump in chan_skinny found by wedhorn.
  
  (issue #13948)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:38:46 +00:00
Michiel van Baak
4c3851524e Blocked revisions 158686 via svnmerge
........
  r158686 | mvanbaak | 2008-11-22 16:58:49 +0100 (Sat, 22 Nov 2008) | 2 lines
  
  make this compile under devmode
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:00:54 +00:00
Steve Murphy
5a79383039 Merged revisions 158606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r158606 | murf | 2008-11-21 16:40:46 -0700 (Fri, 21 Nov 2008) | 19 lines

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

........
r158603 | murf | 2008-11-21 16:14:50 -0700 (Fri, 21 Nov 2008) | 11 lines

In reference to the fix made for 13871, I was
merging the fix into 1.6.0 and realized I missed
the code in the h-exten block, and didn't catch it
because my test case had the h-exten commented out.

So, this corrects the code I missed, as a 
preventative against another crash report.
Tested with the h-exten defined, all is well.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 23:45:15 +00:00
Tilghman Lesher
e05fd35dc6 Merged revisions 158602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  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)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 23:15:58 +00:00
Steve Murphy
06a5a0234f 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.1@158572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 22:57:57 +00:00
Russell Bryant
b597520cb3 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.1@158541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 22:13:10 +00:00
Kevin P. Fleming
8326539836 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.1@158450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 20:43:43 +00:00
Jason Parker
cd95606efe Merged revisions 158414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158414 | qwell | 2008-11-21 13:40:57 -0600 (Fri, 21 Nov 2008) | 7 lines
  
  Make sure we add the Event header for CoreShowChannels.
  
  (closes issue #13334)
  Reported by: srt
  Patches:
        13334_missing_event_header_in_core_show_channel.diff uploaded by srt (license 378)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 19:42:07 +00:00
Terry Wilson
b2a6e224f1 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.1@158377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 17:17:23 +00:00
Mark Michelson
6b2d2042b1 Blocked revisions 158307 via svnmerge
................
r158307 | mmichelson | 2008-11-21 09:25:58 -0600 (Fri, 21 Nov 2008) | 12 lines

Blocked revisions 158306 via svnmerge

........
r158306 | mmichelson | 2008-11-21 09:24:19 -0600 (Fri, 21 Nov 2008) | 5 lines

This change had somehow gotten reverted due to a
completely unrelated commit. Thanks to Theo Belder
on the Asterisk-dev list for pointing this out.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 15:26:22 +00:00
Mark Michelson
257123d217 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.1@158268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 01:23:45 +00:00
Mark Michelson
ab27cc2a63 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.1@158264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 01:00:58 +00:00
Mark Michelson
a55d5d6c3b 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.1@158232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 23:14:43 +00:00
Mark Michelson
8ffb368853 Change this so it actually compiles. Thanks, Terry!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 21:37:07 +00:00
Sean Bright
79047aa451 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.1@158191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 19:43:37 +00:00
Terry Wilson
d0c238a8f8 Merged revisions 158072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158072 | twilson | 2008-11-20 11:48:58 -0600 (Thu, 20 Nov 2008) | 2 lines
  
  Begin on a crusade to end trailing whitespace!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 18:23:03 +00:00
Mark Michelson
a76dd11ef2 Merged revisions 158133 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r158133 | mmichelson | 2008-11-20 12:20:00 -0600 (Thu, 20 Nov 2008) | 10 lines

Merged revisions 158072 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r158072 | twilson | 2008-11-20 11:48:58 -0600 (Thu, 20 Nov 2008) | 2 lines

Begin on a crusade to end trailing whitespace!

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 18:20:39 +00:00
Mark Michelson
55e0bfb25a Merged revisions 158082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
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


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 17:55:09 +00:00
Jeff Peeler
5b14fd7c94 Merged revisions 158062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r158062 | jpeeler | 2008-11-20 11:37:31 -0600 (Thu, 20 Nov 2008) | 6 lines

(closes issue #12929)
Reported by: snyfer

This handles the case for a zero length file to attempt to be streamed. Instead of failing from not playing any data, go ahead and return success as ast_streamfile should consider playing nothing a success when there is nothing to play.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 17:42:32 +00:00
Mark Michelson
7122ee6adb Merged revisions 158066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
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


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 17:40:20 +00:00
Jason Parker
1c1ed7b9ed 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.1@158065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 17:38:19 +00:00
Kevin P. Fleming
e88e6a4b33 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.1@157975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 00:10:33 +00:00
Tilghman Lesher
fcdb91f1bf Blocked revisions 157893 via svnmerge
........
  r157893 | tilghman | 2008-11-19 16:01:00 -0600 (Wed, 19 Nov 2008) | 2 lines
  
  Add info about REALTIME_FIELD and REALTIME_HASH
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 22:01:40 +00:00
Tilghman Lesher
f5ee57f97d Blocked revisions 157870 via svnmerge
........
  r157870 | tilghman | 2008-11-19 15:54:39 -0600 (Wed, 19 Nov 2008) | 10 lines
  
  Two new functions, REALTIME_FIELD, and REALTIME_HASH, which should make
  querying realtime from the dialplan a little more consistent and easy to use.
  The original REALTIME function is preserved, for those who are already
  accustomed to that interface.
  (closes issue #13651)
   Reported by: Corydon76
   Patches: 
         20081119__bug13651__2.diff.txt uploaded by Corydon76 (license 14)
   Tested by: blitzrage, Corydon76
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 21:55:47 +00:00
Terry Wilson
e760b39890 Blocked revisions 157818 via svnmerge
........
  r157818 | twilson | 2008-11-19 13:25:14 -0600 (Wed, 19 Nov 2008) | 2 lines
  
  Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 19:28:56 +00:00
Tilghman Lesher
603d57fc4f Merged revisions 157784 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157784 | tilghman | 2008-11-19 12:28:14 -0600 (Wed, 19 Nov 2008) | 6 lines
  
  Add check for t38_terminal_init in spandsp (not found in 0.0.6, so it should fail reasonably)
  (closes issue #13473)
   Reported by: genie
   Patches: 
         20080916__bug13473.diff.txt uploaded by Corydon76 (license 14)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 18:29:51 +00:00
Kevin P. Fleming
ff0b255e44 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.1@157744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 13:47:21 +00:00
Kevin P. Fleming
fc9fb7b2a1 Blocked revisions 157739 via svnmerge
........
  r157739 | kpfleming | 2008-11-19 07:27:02 -0600 (Wed, 19 Nov 2008) | 1 line
  
  move relevant entries into UPGRADE.txt and resync UPGRADE-1.6.txt with previous branches
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 13:27:22 +00:00
Kevin P. Fleming
040bbb51c7 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.1@157719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 13:03:50 +00:00
Tilghman Lesher
f21824e65a Merged revisions 157639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157639 | tilghman | 2008-11-18 19:02:45 -0600 (Tue, 18 Nov 2008) | 7 lines
  
  Starting with a change to ensure that ast_verbose() preserves ABI compatibility
  in 1.6.1 (as compared to 1.6.0 and versions of 1.4), this change also
  deprecates the use of Asterisk with FreeBSD 4, given the central use of va_copy
  in core functions.  va_copy() is C99, anyway, and we already require C99 for
  other purposes, so this isn't really a big change anyway.  This change also
  simplifies some of the core ast_str_* functions.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 01:08:46 +00:00
Mark Michelson
78b55553fd Merged revisions 157632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157632 | mmichelson | 2008-11-18 18:59:48 -0600 (Tue, 18 Nov 2008) | 10 lines

If malloc returns NULL, we need to  return NULL immediately or
else Asterisk will crash when attempting to dereference the NULL
pointer

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 01:00:44 +00:00
Sean Bright
b58d925422 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.1@157602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 00:38:23 +00:00
Mark Michelson
6ac2a922af Merged revisions 157592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157592 | mmichelson | 2008-11-18 17:59:02 -0600 (Tue, 18 Nov 2008) | 10 lines

This change prevents a crash from occurring if res_musiconhold.so
is unloaded and then Asterisk is stopped. The problem was that
we are not unregistering the ast_moh_destroy function at exit.

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 23:59:41 +00:00
Mark Michelson
7699f8bced Blocked revisions 157564 via svnmerge
........
r157564 | mmichelson | 2008-11-18 17:39:41 -0600 (Tue, 18 Nov 2008) | 9 lines

Add some missing $(DESTDIR)s to the bininstall
target of the Makefile.

(closes issue #13875)
Reported by: pabelanger
Patches:
      Makefile.155928 uploaded by pabelanger (license 224)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 23:40:23 +00:00