Kevin P. Fleming
b71f8ac66a
fix compile failure found by buildbot (go, buildbot!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 12:09:24 +00:00
Tilghman Lesher
84c119cb83
Merged revisions 125276 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r125276 | tilghman | 2008-06-26 06:01:21 -0500 (Thu, 26 Jun 2008) | 7 lines
Check for rtcp structure before trying to delete schedule.
(closes issue #12872 )
Reported by: destiny6628
Patches:
20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
Tested by: destiny6628
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 11:02:11 +00:00
Tilghman Lesher
e903ae0e91
Merged revisions 125218 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r125218 | tilghman | 2008-06-25 20:24:26 -0500 (Wed, 25 Jun 2008) | 4 lines
Document ackcall=always.
(closes issue #12852 )
Reported by: davidw
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 01:25:16 +00:00
Tilghman Lesher
4da51cf496
Update sample configuration to match what are now the defaults for the prefix.
...
(closes issue #12838 , related to issue #12198 )
Reported by: pabelanger
Patches:
http.conf.diff2 uploaded by pabelanger (license 224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 01:11:43 +00:00
Kevin P. Fleming
fd4a60c459
Merged revisions 125132 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines
allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places
don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it
get app_rpt building again after the DAHDI changes
(closes issue #12911 )
Reported by: tzafrir
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 23:05:28 +00:00
Mark Michelson
14e78bbc6d
Fix indentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 22:40:41 +00:00
Mark Michelson
222685d402
Fix a bug in the rwlock tracking. ast_rwlock_unlock did not take into
...
account that multiple threads could hold the same rdlock at the same time.
As such, it expected that when a thread released a lock that it must have
been the last to acquire the lock as well. Erroneous error messages would
be sent to the console stating that a thread was attempting to unlock a lock
it did not own.
Now all threads are examined to be sure that the message is only printed
when it is supposed to be printed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 22:25:20 +00:00
Michiel van Baak
9ba79e3b68
implement transfer functionality in chan_skinny
...
(closes issue #9939 )
Reported by: wedhorn
Patches:
transfer_v6.diff uploaded by wedhorn (license 30)
chan_skinny-transfer-trunk-v10.txt uploaded by DEA (license 3)
chan_skinny-transfer-trunk-v12.txt uploaded by mvanbaak (license 7)
Tested by: DEA, wedhorn, mvanbaak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 19:37:40 +00:00
Tilghman Lesher
41e496980b
Separate the global initialization routines for cURL into its own separate
...
module.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 16:00:54 +00:00
Tilghman Lesher
94c4089f4e
More expansion of the deadlock avoidance macro, including a macro to do locking
...
of the channel lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 02:34:11 +00:00
Tilghman Lesher
15093f2a63
Merged revisions 124965 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r124965 | tilghman | 2008-06-24 19:46:24 -0500 (Tue, 24 Jun 2008) | 7 lines
Pvt deadlock causes some channels to get stuck in Reserved status.
(closes issue #12621 )
Reported by: fabianoheringer
Patches:
20080612__bug12621.diff.txt uploaded by Corydon76 (license 14)
Tested by: fabianoheringer
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 01:08:37 +00:00
Tilghman Lesher
7ec25255c5
Merged revisions 124910 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r124910 | tilghman | 2008-06-24 16:08:52 -0500 (Tue, 24 Jun 2008) | 8 lines
Occasionally control characters find their way into CallerID. These need to
be stripped prior to placing CallerID in the headers of an email.
(closes issue #12759 )
Reported by: RobH
Patches:
20080602__bug12759__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: RobH
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 21:18:52 +00:00
Tilghman Lesher
2eebb973da
Blocked revisions 124908 via svnmerge
...
........
r124908 | tilghman | 2008-06-24 15:52:43 -0500 (Tue, 24 Jun 2008) | 6 lines
Don't access the pvt structure if unable to acquire the lock.
(closes issue #12162 )
Reported by: norman
Patches:
12162-lockfail.diff uploaded by qwell (license 4)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 20:55:06 +00:00
Philippe Sultan
6be95a8a8a
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/trunk@124872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 17:50:22 +00:00
Philippe Sultan
c8688bd9b2
Code simplification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 17:28:39 +00:00
Sean Bright
00f74ac24c
Update CHANGES and UPGRADE.txt per kpfleming's mail to #asterisk-dev.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 11:02:02 +00:00
Russell Bryant
ed289fd3aa
fix a memory leak.
...
(inspired by, and potentially fixes issue #12917 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-24 02:16:59 +00:00
Kevin P. Fleming
5ba60658a6
Blocked revisions 124743 via svnmerge
...
........
r124743 | kpfleming | 2008-06-23 16:22:08 -0500 (Mon, 23 Jun 2008) | 3 lines
emit a warning if the old IAX2 call searching code finds a call when the new code did not... so that we can get rid of the old code in 2-3 months
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-23 21:24:34 +00:00
Dwayne M. Hubbard
468ae8efcb
make solaris happy...pointed out by snuff-home on IRC
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-23 15:24:05 +00:00
Sean Bright
d3aa30e803
Revert my change to the sample meetme conf file as it was incorrect.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-22 17:36:20 +00:00
Sean Bright
f10caa9500
Fix a comment in meetme.conf.sample per jmls via #asterisk-dev
...
(And this time, do it in the correct repository :-))
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-22 16:34:31 +00:00
Sean Bright
3e0071199d
Let app_rpt compile.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-22 14:12:49 +00:00
Steve Murphy
d68b137c3d
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/trunk@124541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-22 02:58:06 +00:00
Tilghman Lesher
0660207614
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/trunk@124505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-21 12:53:48 +00:00
Tilghman Lesher
2bec827536
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/trunk@124451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 23:13:21 +00:00
Tilghman Lesher
f5a6e39bf8
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/trunk@124396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 22:04:37 +00:00
Jeff Gehlbach
3efcb3c792
(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/trunk@124393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 21:43:18 +00:00
Jeff Gehlbach
7e9bb68ec8
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/trunk@124392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 21:36:01 +00:00
Tilghman Lesher
bb03680941
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/trunk@124316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 20:17:04 +00:00
Mark Michelson
a2333afed6
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/trunk@124278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 16:30:18 +00:00
Mark Michelson
0f62296eb6
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/trunk@124243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 15:20:11 +00:00
Tilghman Lesher
e746aa2043
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/trunk@124183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 22:59:41 +00:00
Mark Michelson
1d2ac41c07
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/trunk@124180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 22:34:03 +00:00
Michiel van Baak
8e8359465b
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/trunk@124127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:48:33 +00:00
Tilghman Lesher
2e0afd805b
Oops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:35:56 +00:00
Mark Michelson
7852d30fe8
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/trunk@124121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:30:23 +00:00
Tilghman Lesher
27be0a3197
Make OpenBSD compile again
...
(reported by mvanbaak via IRC -dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 20:25:37 +00:00
Brett Bryant
b4574d2a79
Add errors that report any locks held by threads when they are being closed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 19:48:26 +00:00
Tilghman Lesher
122486b263
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/trunk@124049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 19:22:59 +00:00
Brett Bryant
249ac33ab0
Fix bug in sip registration that sets the default port to 5060 for tls.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 18:57:04 +00:00
Russell Bryant
fa4bce7c43
- Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
...
- change the "timing test" CLI command to let you specify a timing rate to test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 18:30:49 +00:00
Tilghman Lesher
4522c60ec8
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/trunk@123988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:55:34 +00:00
Tilghman Lesher
5791b6680d
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/trunk@123952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:22:27 +00:00
Tilghman Lesher
56654fc0f2
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/trunk@123931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:02:54 +00:00
Tilghman Lesher
33ea368c93
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/trunk@123913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:26:50 +00:00
Tilghman Lesher
48a9e5cada
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/trunk@123887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:21:32 +00:00
Tilghman Lesher
284ae601c3
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/trunk@123870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:08:29 +00:00
Mark Michelson
a2b4382fd7
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/trunk@123867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 15:55:10 +00:00
Tilghman Lesher
d2247c2573
Missing comma
...
(closes issue #12891 )
Reported by: chris-mac
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 15:52:17 +00:00
Sean Bright
a41649d66b
Update the queuelog.tex documentation as well.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 14:28:56 +00:00