Commit Graph

15627 Commits

Author SHA1 Message Date
Philippe Sultan
a8231e854e Merged revisions 124872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124872 | phsultan | 2008-06-24 19:50:22 +0200 (Tue, 24 Jun 2008) | 6 lines

Subscribe to buddy's presence only if we really need to. That is, if
the corresponding roster item has a subscription value set to "none"
or "from".

Make the code more readable.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 17:52:02 +00:00
Philippe Sultan
4ee5ce0e55 Merged revisions 124870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124870 | phsultan | 2008-06-24 19:28:39 +0200 (Tue, 24 Jun 2008) | 1 line

Code simplification
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 17:34:53 +00:00
Sean Bright
5cea15f928 Blocked revisions 124835 via svnmerge
........
r124835 | seanbright | 2008-06-24 07:02:02 -0400 (Tue, 24 Jun 2008) | 1 line

Update CHANGES and UPGRADE.txt per kpfleming's mail to #asterisk-dev.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 11:15:38 +00:00
Dwayne M. Hubbard
84b65565d8 blocked revision 124707, taskprocessors are not in 1.6.0
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-23 15:44:35 +00:00
Steve Murphy
f33fab929e Merged revisions 124541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124541 | murf | 2008-06-21 20:58:06 -0600 (Sat, 21 Jun 2008) | 17 lines

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

........
r124540 | murf | 2008-06-21 20:54:52 -0600 (Sat, 21 Jun 2008) | 9 lines

(closes issue #12910)
Reported by: chris-mac

Sorry, my testing did not contain the simple case of forkCDR(v),
I am much embarrassed to admit.  If I had, I would have 
more solidly initialized the opts element for varset.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-22 03:18:10 +00:00
Tilghman Lesher
5f20127c71 Merged revisions 124505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124505 | tilghman | 2008-06-21 07:53:48 -0500 (Sat, 21 Jun 2008) | 4 lines

Reduce warning to debug, otherwise we flood the log when we (legitimately)
can't find a record.
(Closes issue #12908)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-21 12:54:42 +00:00
Tilghman Lesher
72cd5e5eac Merged revisions 124451 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124451 | tilghman | 2008-06-20 18:13:21 -0500 (Fri, 20 Jun 2008) | 14 lines

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

........
r124450 | tilghman | 2008-06-20 18:12:33 -0500 (Fri, 20 Jun 2008) | 6 lines

usleep with a value over 1,000,000 is nonportable.  Changing to use sleep()
instead.  (closes issue #12814)
 Reported by: pputman
 Patches: 
       app_rtp_sleep.patch uploaded by pputman (license 81)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 23:14:01 +00:00
Tilghman Lesher
cec0e915ee Merged revisions 124396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124396 | tilghman | 2008-06-20 17:04:37 -0500 (Fri, 20 Jun 2008) | 11 lines

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

........
r124395 | tilghman | 2008-06-20 17:02:55 -0500 (Fri, 20 Jun 2008) | 3 lines

If the last character in a string to be parsed is the delimiter, then we should
count that final empty string as an additional argument.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 22:06:01 +00:00
Jeff Gehlbach
748f25bfb6 Merged revisions 124392-124393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124392 | jeffg | 2008-06-20 17:36:01 -0400 (Fri, 20 Jun 2008) | 9 lines

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

........
r124372 | jeffg | 2008-06-20 17:14:40 -0400 (Fri, 20 Jun 2008) | 1 line

Fix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905
........

................
r124393 | jeffg | 2008-06-20 17:43:18 -0400 (Fri, 20 Jun 2008) | 12 lines

(Missed committing . on previous commit.....)
Merged revisions 124372 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r124372 | jeffg | 2008-06-20 17:14:40 -0400 (Fri, 20 Jun 2008) | 1 line

Fix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905
........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 21:48:15 +00:00
Tilghman Lesher
fba1394ba0 Merged revisions 124316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124316 | tilghman | 2008-06-20 15:17:04 -0500 (Fri, 20 Jun 2008) | 16 lines

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

........
r124315 | tilghman | 2008-06-20 15:16:02 -0500 (Fri, 20 Jun 2008) | 8 lines

When using a Local channel, started by a call file, with a destination of an
AGI script, the AGI script does not always get notified of a hangup if the
underlying channel hangs up early.
(closes issue #11833)
 Reported by: IgorG
 Patches: 
       local_hangup-v1.diff uploaded by IgorG (license 20)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 20:18:08 +00:00
Mark Michelson
f5ed251dc3 Merged revisions 124278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124278 | mmichelson | 2008-06-20 11:30:18 -0500 (Fri, 20 Jun 2008) | 6 lines

Change references to doc/channelvariables.txt to
doc/tex/channelvariables.tex.

This issue came up on the asterisk-dev mailing list.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 16:31:26 +00:00
Mark Michelson
6f0c9715db Merged revisions 124243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124243 | mmichelson | 2008-06-20 10:20:11 -0500 (Fri, 20 Jun 2008) | 9 lines

Add a missing "ChannelType" header to one of the "PeerStatus" manager
events in chan_sip

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 15:20:46 +00:00
Tilghman Lesher
553c1e8aab Merged revisions 124183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124183 | tilghman | 2008-06-19 17:59:41 -0500 (Thu, 19 Jun 2008) | 15 lines

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

........
r124182 | tilghman | 2008-06-19 17:53:22 -0500 (Thu, 19 Jun 2008) | 7 lines

It's possible for a hangup to be received, even just after the initial cid
spill.
(closes issue #12453)
 Reported by: Alex728
 Patches: 
       20080604__bug12453.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 23:02:49 +00:00
Mark Michelson
49fffcde19 Blocked revisions 124180 via svnmerge
........
r124180 | mmichelson | 2008-06-19 17:34:03 -0500 (Thu, 19 Jun 2008) | 10 lines

Fix attachment behavior when using IMAP storage for voicemails
1. Filenames had an extra "msg" in the attachment name
2. The attachment was being saved twice

(closes issue #12894)
Reported by: jaroth
Patches:
      imap_attach.patch uploaded by jaroth (license 50)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 22:34:54 +00:00
Michiel van Baak
d026b05b7d Blocked revisions 124127 via svnmerge
........
r124127 | mvanbaak | 2008-06-19 22:48:33 +0200 (Thu, 19 Jun 2008) | 10 lines

Older versions of GNU gcc do not allow 'NULL' as sentinel.
They want (char *)NULL as sentinel.
An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4

This commit introduces a contstant SENTINEL which is declared as:
#define SENTINEL ((char *)NULL)

All places I could test compile on my openbsd system are converted.
Update CODING-GUIDELINES to tell about this constant.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 21:03:54 +00:00
Tilghman Lesher
43353b7374 Blocked revisions 124125 via svnmerge
........
r124125 | tilghman | 2008-06-19 15:35:56 -0500 (Thu, 19 Jun 2008) | 2 lines

Oops

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:36:38 +00:00
Mark Michelson
c48e31ba8c Merged revisions 124121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124121 | mmichelson | 2008-06-19 15:30:23 -0500 (Thu, 19 Jun 2008) | 16 lines

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

........
r124112 | mmichelson | 2008-06-19 15:28:41 -0500 (Thu, 19 Jun 2008) | 8 lines

Fix IMAP forwarding so that messages are sent to the proper mailbox.

(closes issue #12897)
Reported by: jaroth
Patches:
      destination_forward.patch uploaded by jaroth (license 50)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:32:54 +00:00
Tilghman Lesher
ed52cefb14 Blocked revisions 124102 via svnmerge
........
r124102 | tilghman | 2008-06-19 15:25:37 -0500 (Thu, 19 Jun 2008) | 3 lines

Make OpenBSD compile again
(reported by mvanbaak via IRC -dev)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:26:31 +00:00
Brett Bryant
d08e081337 Merged revisions 124064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124064 | bbryant | 2008-06-19 14:48:26 -0500 (Thu, 19 Jun 2008) | 2 lines

Add errors that report any locks held by threads when they are being closed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 19:49:54 +00:00
Tilghman Lesher
90afe3757e Blocked revisions 124049 via svnmerge
........
r124049 | tilghman | 2008-06-19 14:22:59 -0500 (Thu, 19 Jun 2008) | 6 lines

Allow alternative extensions to be specified for a user.
(closes issue #12830)
 Reported by: jcollie
 Patches: 
       astertisk-trunk-121496-alternate-extensions.patch uploaded by jcollie (license 412)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 19:23:50 +00:00
Brett Bryant
2652d0d528 Merged revisions 124024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124024 | bbryant | 2008-06-19 13:57:04 -0500 (Thu, 19 Jun 2008) | 2 lines

Fix bug in sip registration that sets the default port to 5060 for tls.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 18:57:54 +00:00
Tilghman Lesher
31c415c6f5 Blocked revisions 123988 via svnmerge
........
r123988 | tilghman | 2008-06-19 12:55:34 -0500 (Thu, 19 Jun 2008) | 3 lines

Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:58:08 +00:00
Tilghman Lesher
b8690fbe1f Merged revisions 123952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123952 | tilghman | 2008-06-19 12:22:27 -0500 (Thu, 19 Jun 2008) | 6 lines

Don't change pointers that need to be later passed back for deallocation.
(closes issue #12572)
 Reported by: flyn
 Patches: 
       20080613__bug12572.diff.txt uploaded by Corydon76 (license 14)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:23:22 +00:00
Tilghman Lesher
b717d74470 Merged revisions 123931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123931 | tilghman | 2008-06-19 12:02:54 -0500 (Thu, 19 Jun 2008) | 13 lines

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

........
r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5 lines

Change informative messages to use the _multiple variant when multiple formats
are possible.
(Closes issue #12848)
Reported by klaus3000

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:04:42 +00:00
Tilghman Lesher
4ced084661 Merged revisions 123913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123913 | tilghman | 2008-06-19 11:26:50 -0500 (Thu, 19 Jun 2008) | 13 lines

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

........
r123909 | tilghman | 2008-06-19 11:26:03 -0500 (Thu, 19 Jun 2008) | 5 lines

Only process 40 arguments (20 files) at once with xargs, because some older
shells may force xargs to separate on an odd boundary.
(Closes issue #12883)
Reported by Nik Soggia

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:27:48 +00:00
Tilghman Lesher
487c0d4465 Merged revisions 123887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123887 | tilghman | 2008-06-19 11:21:32 -0500 (Thu, 19 Jun 2008) | 12 lines

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

........
r123883 | tilghman | 2008-06-19 11:20:41 -0500 (Thu, 19 Jun 2008) | 4 lines

Correct description of notifyringing option.
(Closes issue #12890)
Reported by gminet

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:22:10 +00:00
Tilghman Lesher
9787f4b97d Merged revisions 123870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123870 | tilghman | 2008-06-19 11:08:29 -0500 (Thu, 19 Jun 2008) | 14 lines

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

........
r123869 | tilghman | 2008-06-19 11:07:23 -0500 (Thu, 19 Jun 2008) | 6 lines

The RDTSC instruction was introduced on the Pentium line of microprocessors,
and is not compatible with certain 586 clones, like Cyrix.  Hence, asking for
i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC
(Closes issue #12886)
Reported by tecnoxarxa

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:09:28 +00:00
Mark Michelson
94291642d2 Blocked revisions 123867 via svnmerge
........
r123867 | mmichelson | 2008-06-19 10:55:10 -0500 (Thu, 19 Jun 2008) | 9 lines

Forwarding non-urgent IMAP messages could inadvertently cause the messages
to be marked urgent. This fixes that issue.

(closes issue #12895)
Reported by: jaroth
Patches:
      urgent_forwarding.patch uploaded by jaroth (license 50)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 15:56:02 +00:00
Tilghman Lesher
f58e69881d Blocked revisions 123865 via svnmerge
........
r123865 | tilghman | 2008-06-19 10:52:17 -0500 (Thu, 19 Jun 2008) | 4 lines

Missing comma
(closes issue #12891)
 Reported by: chris-mac

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 15:54:14 +00:00
Sean Bright
10df584f22 Blocked revisions 123830 via svnmerge
........
r123830 | seanbright | 2008-06-19 10:28:56 -0400 (Thu, 19 Jun 2008) | 1 line

Update the queuelog.tex documentation as well.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 14:29:29 +00:00
Sean Bright
d7d343b433 Blocked revisions 123828 via svnmerge
........
r123828 | seanbright | 2008-06-19 10:24:43 -0400 (Thu, 19 Jun 2008) | 7 lines

Include original position in TRANSFER entries written to queue_log.

(closes issue #12888)
Reported by: slavon
Patches:
      app_queue_transfer_patch_trunk.diff uploaded by slavon (license 288)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 14:25:46 +00:00
Tilghman Lesher
a4e178811f Merged revisions 123770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123770 | tilghman | 2008-06-18 17:17:17 -0500 (Wed, 18 Jun 2008) | 16 lines

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

........
r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines

Add support for saying numbers in Hebrew.
(closes issue #11662)
 Reported by: greenfieldtech
 Patches: 
       say.c.patch-12042008 uploaded by greenfieldtech (license 369)
       Hebrew-Sounds.ods uploaded by greenfieldtech
       (with signficant changes to the spreadsheet by me)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 22:18:20 +00:00
Tilghman Lesher
04851b1661 Merged revisions 123715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123715 | tilghman | 2008-06-18 15:23:58 -0500 (Wed, 18 Jun 2008) | 15 lines

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

........
r123710 | tilghman | 2008-06-18 15:22:42 -0500 (Wed, 18 Jun 2008) | 7 lines

Set the variables top-down, so that if a script sets a variable more than once,
the last one will take precedence.
(closes issue #12673)
 Reported by: phber
 Patches: 
       20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 20:24:57 +00:00
Brett Bryant
3386703933 Merged revisions 123692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123692 | bbryant | 2008-06-18 15:07:56 -0500 (Wed, 18 Jun 2008) | 2 lines

Fix a crash in tcp and tls connections related to reference counts.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 20:08:45 +00:00
Mark Michelson
c0c3e2cde9 Merged revisions 123652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123652 | mmichelson | 2008-06-18 10:08:56 -0500 (Wed, 18 Jun 2008) | 7 lines

A portion of the code which handled the 'c' queue option had been
removed. No telling when it happened. Anyway, it's back in now
and works properly.

(Based on issue reported on mailing list)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 15:09:19 +00:00
Mark Michelson
8641a52b56 Blocked revisions 123650 via svnmerge
........
r123650 | mmichelson | 2008-06-18 09:54:47 -0500 (Wed, 18 Jun 2008) | 4 lines

Silly pointers. This fixes a memory corruption I introduced
with the attended transfer logging.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 14:55:32 +00:00
Tilghman Lesher
be004ea340 Blocked revisions 123648 via svnmerge
........
r123648 | tilghman | 2008-06-18 08:09:02 -0500 (Wed, 18 Jun 2008) | 6 lines

Channel lock janitor -- add locks around retrieval of channel variables
(closes issue #12840)
 Reported by: pputman
 Patches: 
       app_dial_threadsafe3.patch uploaded by pputman (license 81)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 13:09:49 +00:00
Russell Bryant
2f6a7d610d don't use trunk only API for frame data
(closes issue #12881)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 12:34:22 +00:00
Russell Bryant
95934c81c2 re-add app_fax ... it got accidentally removed
(closes issue #12881)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 10:14:22 +00:00
Sean Bright
e99222cf45 Blocked revisions 123609 via svnmerge
........
r123609 | seanbright | 2008-06-17 20:33:31 -0400 (Tue, 17 Jun 2008) | 1 line

Whitespace only
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-18 00:33:53 +00:00
Brett Bryant
6891a31c38 Merged revisions 123546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines

Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using 
them, and memory does not get free'd causing strange issues with SIP. 

This code was originally written by russellb in the team/group/issue_11972/ branch.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:57:15 +00:00
Tilghman Lesher
ce6304e162 Blocked revisions 123544 via svnmerge
........
r123544 | tilghman | 2008-06-17 16:42:42 -0500 (Tue, 17 Jun 2008) | 7 lines

Add an option, specifying maximum analysis time for talk detection.
(closes issue #12149)
 Reported by: davevg
 Patches: 
       app_talkdetect.c.diff uploaded by davevg (license 209)
       (Plus a few additional cleanups by moi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:43:27 +00:00
Mark Michelson
aec2526866 Blocked revisions 123541 via svnmerge
........
r123541 | mmichelson | 2008-06-17 16:33:40 -0500 (Tue, 17 Jun 2008) | 3 lines

Put quotes around "test"


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:34:01 +00:00
Mark Michelson
f552bb9242 Blocked revisions 123526 via svnmerge
........
r123526 | mmichelson | 2008-06-17 16:26:31 -0500 (Tue, 17 Jun 2008) | 13 lines

_ys pointed out in #asterisk-bugs that he was experiencing
a memory leak when running the astobj2 test CLI command. After
searching, it appears the leak was in the command handler itself.

Each object was allocated (recount = 1) and then linked into
a container (refounct = 2). Then at the end of the function, 
the container was unreffed, causing all the objects to have
their refcount decremented by one, leaving the refcount for
all objects allocated in that function at 1. I've now added
an extra unref to the mix so that the refcount equals zero
when the container is unreffed.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:28:02 +00:00
Mark Michelson
00d9f25e41 Merged revisions 123486 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123486 | mmichelson | 2008-06-17 15:28:47 -0500 (Tue, 17 Jun 2008) | 12 lines

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

........
r123485 | mmichelson | 2008-06-17 15:26:38 -0500 (Tue, 17 Jun 2008) | 4 lines

Make chan_sip build under dev mode with compilers >= GCC 4.2
Thanks to jpeeler for alerting me of this


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:30:00 +00:00
Steve Murphy
609bf84b71 block 123448 from trunk; it doesn't apply here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:23:26 +00:00
Mark Michelson
6c849f921f Blocked revisions 123456 via svnmerge
........
r123456 | mmichelson | 2008-06-17 15:19:49 -0500 (Tue, 17 Jun 2008) | 3 lines

Add the same fix from revision 123271 to container_destruct_debug.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:21:08 +00:00
Steve Murphy
0539ac3c7b Blocked 123446 (the cdr_tds.c fix) from 1.6.0, because it's a fix to new code in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:05:42 +00:00
Tilghman Lesher
e41ffcbca3 Merged revisions 123392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123392 | tilghman | 2008-06-17 13:57:45 -0500 (Tue, 17 Jun 2008) | 11 lines

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

........
r123391 | tilghman | 2008-06-17 13:56:53 -0500 (Tue, 17 Jun 2008) | 3 lines

Fix 3 more places where failure to lock the structure could cause the wrong lock to be
unlocked.  (Closes issue #12795)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 19:01:33 +00:00
Jeff Peeler
83eedba78a Merged revisions 123238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123238 | jpeeler | 2008-06-16 18:05:18 -0500 (Mon, 16 Jun 2008) | 1 line

Fix some (more) variables that were forgotten to be renamed, related to 117658
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:28:56 +00:00