asterisk/asterisk.git
12 years agoMerged revisions 82865 via svnmerge from
Mark Michelson [Tue, 18 Sep 2007 20:10:59 +0000 (20:10 +0000)]
Merged revisions 82865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82865 | mmichelson | 2007-09-18 15:09:02 -0500 (Tue, 18 Sep 2007) | 4 lines

Moving the logic for handling an empty membername to the create_member function so that there is a common place
where this occurs instead of being spread out to several different places.

........

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

12 years agoMerged revisions 82834 via svnmerge from
Kevin P. Fleming [Tue, 18 Sep 2007 19:06:34 +0000 (19:06 +0000)]
Merged revisions 82834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82834 | kpfleming | 2007-09-18 13:59:52 -0500 (Tue, 18 Sep 2007) | 2 lines

there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated

........

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

12 years agoMerged revisions 82802 via svnmerge from
Russell Bryant [Tue, 18 Sep 2007 16:34:05 +0000 (16:34 +0000)]
Merged revisions 82802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82802 | russell | 2007-09-18 11:31:01 -0500 (Tue, 18 Sep 2007) | 4 lines

When copying the contents from the wildcard peer, do a deep copy instead of
shallow copy so that it doesn't crash when beging destroyed.
(closes issue #10546, patch by me)

........

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

12 years ago(closes issue #10755)
Jason Parker [Tue, 18 Sep 2007 16:16:36 +0000 (16:16 +0000)]
(closes issue #10755)
Reported by: snar
Patches:
      app-queue-cdr-trunk.patch uploaded by snar (license 245)
      queues.conf.patch uploaded by snar (license 245)

Add an updatecdr option to queues.conf, so that if a "member name" is specified,
 the cdr record will be updated with that, rather than the channel.

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

12 years agoMake sure that libpthread doesn't try to call free() directly when MALLOC_DEBUG
Russell Bryant [Tue, 18 Sep 2007 16:14:14 +0000 (16:14 +0000)]
Make sure that libpthread doesn't try to call free() directly when MALLOC_DEBUG
is enabled.  If it does, Asterisk will crash as the address isn't the real
beginning of the allocation.

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

12 years agoDon't use ast_channel_lock_both() here, it only exists in one of my branches.
Russell Bryant [Tue, 18 Sep 2007 16:10:48 +0000 (16:10 +0000)]
Don't use ast_channel_lock_both() here, it only exists in one of my branches.
This is theoretically a potential deadlock, but it's the way it was before so
I'm going to leave it this way for now.

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

12 years agoMerged revisions 82751 via svnmerge from
Jason Parker [Tue, 18 Sep 2007 15:29:26 +0000 (15:29 +0000)]
Merged revisions 82751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #10753)
........
r82751 | qwell | 2007-09-18 10:28:21 -0500 (Tue, 18 Sep 2007) | 4 lines

Correct the allowexternaldomains option in SIP sample config.

Issue 10753

........

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

12 years agoconvert various places that access the channel lock directly to use the channel lock...
Russell Bryant [Mon, 17 Sep 2007 22:59:36 +0000 (22:59 +0000)]
convert various places that access the channel lock directly to use the channel lock wrappers

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

12 years agoDon't try to continue loading cdr_sqlite3_custom on a module load failure (such as...
Jason Parker [Mon, 17 Sep 2007 21:52:07 +0000 (21:52 +0000)]
Don't try to continue loading cdr_sqlite3_custom on a module load failure (such as the config not existing)

Closes issue #10749, patch by seanbright.

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

12 years agoFix the sample redirect to point to a valid file in the Asterisk GUI.
Jason Parker [Mon, 17 Sep 2007 21:44:38 +0000 (21:44 +0000)]
Fix the sample redirect to point to a valid file in the Asterisk GUI.

Closes issue #10748, patch by bkruse

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

12 years agoAdd support for #include, var_metric, and cat_metric in res_config_sqlite
Russell Bryant [Mon, 17 Sep 2007 20:24:50 +0000 (20:24 +0000)]
Add support for #include, var_metric, and cat_metric in res_config_sqlite
(closes issue #10738, rbraun_proformatique)

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

12 years agoMerged revisions 82676 via svnmerge from
Russell Bryant [Mon, 17 Sep 2007 20:19:58 +0000 (20:19 +0000)]
Merged revisions 82676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82676 | russell | 2007-09-17 15:16:25 -0500 (Mon, 17 Sep 2007) | 4 lines

Put a memset in ast_localtime() instead of a couple places in app_voicemail
to prevent the problem everywhere instead of just a couple of places.
(related to issue #10746)

........

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

12 years agoMerged revisions 82644 via svnmerge from
Russell Bryant [Mon, 17 Sep 2007 20:10:10 +0000 (20:10 +0000)]
Merged revisions 82644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82644 | russell | 2007-09-17 15:00:32 -0500 (Mon, 17 Sep 2007) | 6 lines

Initialize some memory to fix crashes when leaving voicemail.  This problem
was fixed by running Asterisk under valgrind.
(closes issue #10746, reported by arcivanov, patched by me)

*** IMPORTANT NOTE:  We need to check to see if this same bug exists elsewhere.

........

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

12 years agoMake the MALLOC_DEBUG output for free() useful again. After changing calls to
Russell Bryant [Mon, 17 Sep 2007 18:57:56 +0000 (18:57 +0000)]
Make the MALLOC_DEBUG output for free() useful again.  After changing calls to
free to be ast_free, astmm said all calls to free were coming from utils.h

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

12 years agoMerged revisions 82594 via svnmerge from
Russell Bryant [Mon, 17 Sep 2007 16:58:23 +0000 (16:58 +0000)]
Merged revisions 82594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82594 | russell | 2007-09-17 11:46:59 -0500 (Mon, 17 Sep 2007) | 5 lines

Handle the case where there are multiple dynamic features with the same digit
mapping, but won't always match the activated on/by access controls.  In that
case, the code needs to keep trying features for a match.
(reported by Atis on the asterisk-dev list, patched by me)

........

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

12 years agoMerged revisions 82590,82592 via svnmerge from
Kevin P. Fleming [Mon, 17 Sep 2007 16:44:13 +0000 (16:44 +0000)]
Merged revisions 82590,82592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82590 | kpfleming | 2007-09-17 11:33:30 -0500 (Mon, 17 Sep 2007) | 2 lines

fix a couple of places where a logical member name (if specified) was not used, but instead the direct interface was listed

........
r82592 | kpfleming | 2007-09-17 11:40:12 -0500 (Mon, 17 Sep 2007) | 2 lines

revert a change that wasn't supposed to be committed... doh!

........

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

12 years agoFix memory leak introduced when POST support was added.
Doug Bailey [Mon, 17 Sep 2007 14:58:19 +0000 (14:58 +0000)]
Fix memory leak introduced when POST support was added.

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

12 years ago(closes issue #10715)
Joshua Colp [Mon, 17 Sep 2007 02:20:40 +0000 (02:20 +0000)]
(closes issue #10715)
Reported by: the-chopper
Don't bother hanging up the new channel if it does not exist yet.

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

12 years agoMerged revisions 82514 via svnmerge from
Joshua Colp [Mon, 17 Sep 2007 02:02:09 +0000 (02:02 +0000)]
Merged revisions 82514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82514 | file | 2007-09-16 23:00:59 -0300 (Sun, 16 Sep 2007) | 4 lines

(closes issue #10734)
Reported by: asgaroth
Instead of passing a NULL pointer into snprintf pass "". It makes Solaris much happier.

........

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

12 years agoOption maxmessage should be maxsecs per-folder, too (closes issue #10729)
Tilghman Lesher [Sun, 16 Sep 2007 15:32:00 +0000 (15:32 +0000)]
Option maxmessage should be maxsecs per-folder, too (closes issue #10729)

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

12 years agoMerged revisions 82444 via svnmerge from
Steve Murphy [Fri, 14 Sep 2007 21:30:44 +0000 (21:30 +0000)]
Merged revisions 82444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82444 | murf | 2007-09-14 15:19:27 -0600 (Fri, 14 Sep 2007) | 1 line

closes issue #10668; thanks to arkadia for his patch; had to leave out the bit about ending the previous cdr in the fork; it would destroy current implementations.
........

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

12 years agoMerged revisions 82435 via svnmerge from
Russell Bryant [Fri, 14 Sep 2007 21:21:23 +0000 (21:21 +0000)]
Merged revisions 82435 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82435 | russell | 2007-09-14 16:17:08 -0500 (Fri, 14 Sep 2007) | 3 lines

Add a note to help clarify the value set with the echocancel option.
(inspired by Malcolm's blog post on blogs.digium.com about HPEC)

........

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

12 years agoAdd support in chan_skinny for sending RTP directly to the endpoints.
Jason Parker [Fri, 14 Sep 2007 19:49:05 +0000 (19:49 +0000)]
Add support in chan_skinny for sending RTP directly to the endpoints.

Closes issue #9154, patch by DEA

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

12 years agoBlocking revision 82398
Mark Michelson [Fri, 14 Sep 2007 18:37:00 +0000 (18:37 +0000)]
Blocking revision 82398

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

12 years agoMerged revisions 82396 via svnmerge from
Mark Michelson [Fri, 14 Sep 2007 18:34:53 +0000 (18:34 +0000)]
Merged revisions 82396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82396 | mmichelson | 2007-09-14 13:28:36 -0500 (Fri, 14 Sep 2007) | 5 lines

Adding member name field to manager events where they were missing before

(closes issue #10721, reported by snar)

........

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

12 years agoMerged revisions 82394 via svnmerge from
Jason Parker [Fri, 14 Sep 2007 17:51:22 +0000 (17:51 +0000)]
Merged revisions 82394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82394 | qwell | 2007-09-14 12:48:05 -0500 (Fri, 14 Sep 2007) | 5 lines

If a channel does not have an owner, do not try to set a channel variable.
This will end up making the channel variable global, which is not right.

Closes issue #10720, patch by flefoll.

........

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

12 years agoAdd a direct execute method to res_odbc (closes issue #10722)
Tilghman Lesher [Fri, 14 Sep 2007 17:29:23 +0000 (17:29 +0000)]
Add a direct execute method to res_odbc (closes issue #10722)

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

12 years agouse the standard license header for the xpmr files
Russell Bryant [Fri, 14 Sep 2007 16:02:39 +0000 (16:02 +0000)]
use the standard license header for the xpmr files

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

12 years agoAdd chan_usbradio to trunk
Russell Bryant [Fri, 14 Sep 2007 15:58:31 +0000 (15:58 +0000)]
Add chan_usbradio to trunk

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

12 years agoMerged revisions 82385 via svnmerge from
Russell Bryant [Fri, 14 Sep 2007 15:52:28 +0000 (15:52 +0000)]
Merged revisions 82385 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82385 | russell | 2007-09-14 10:50:49 -0500 (Fri, 14 Sep 2007) | 3 lines

Add checking for libusb here, so nobody has to deal with conflicts in the
chan_usbradio-1.4 branch every time the configure script gets changed

........

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

12 years agoMerged revisions 82376 via svnmerge from
Mark Michelson [Fri, 14 Sep 2007 14:44:15 +0000 (14:44 +0000)]
Merged revisions 82376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82376 | mmichelson | 2007-09-14 09:42:29 -0500 (Fri, 14 Sep 2007) | 5 lines

Fixing a typo in the coding guidelines

(closes issue #10717, reported and patched by leedm777)

........

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

12 years agoFix DTMF following what has been done in issue #9401. Thanks irroot.
Philippe Sultan [Fri, 14 Sep 2007 13:02:31 +0000 (13:02 +0000)]
Fix DTMF following what has been done in issue #9401. Thanks irroot.

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

12 years agoMerged revisions 82358 via svnmerge from
Jason Parker [Thu, 13 Sep 2007 23:12:16 +0000 (23:12 +0000)]
Merged revisions 82358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82358 | qwell | 2007-09-13 18:11:27 -0500 (Thu, 13 Sep 2007) | 4 lines

Fix a small typo.

retrytime > waittime

........

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

12 years agoChanged "in" to "queue" in "queue {pause|unpause} member" command to be more clear.
Mark Michelson [Thu, 13 Sep 2007 21:53:01 +0000 (21:53 +0000)]
Changed "in" to "queue" in "queue {pause|unpause} member" command to be more clear.
Also added check to be sure that sixth argument is the word "reason" if full command is given

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

12 years agoAdded the ability to pause and unpause members via the CLI
Mark Michelson [Thu, 13 Sep 2007 21:23:32 +0000 (21:23 +0000)]
Added the ability to pause and unpause members via the CLI

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

12 years agoMerged revisions 82346 via svnmerge from
Mark Michelson [Thu, 13 Sep 2007 20:17:41 +0000 (20:17 +0000)]
Merged revisions 82346 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82346 | mmichelson | 2007-09-13 15:16:37 -0500 (Thu, 13 Sep 2007) | 4 lines

Preemptively fixing a possible segfault. It is possible that queuename is NULL
(meaning pause ALL queues), so use q->name instead.

........

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

12 years agoMerged revisions 82344 via svnmerge from
Jason Parker [Thu, 13 Sep 2007 20:13:58 +0000 (20:13 +0000)]
Merged revisions 82344 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82344 | qwell | 2007-09-13 15:11:40 -0500 (Thu, 13 Sep 2007) | 9 lines

Fix a crash that could occur in cdr_csv when mutliple threads tried to close the same file.

Do we actually need the locking here?  What happens if you open the same file twice, and
 two threads try to write to it at the same time?  Is fputs() going to write out the entire
 line at once?  I suspect that it could be possible for the second fopen to run during the
 first fputs, so the position could be in the middle of the previously written line...

Issue 10347, initial patch by explidous (but I removed all of the paranoia stuff..)

........

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

12 years agoMerged revisions 82339 via svnmerge from
Russell Bryant [Thu, 13 Sep 2007 19:16:24 +0000 (19:16 +0000)]
Merged revisions 82339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82339 | russell | 2007-09-13 13:57:08 -0500 (Thu, 13 Sep 2007) | 1 line

resolve a warning when not building under dev mode
........

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

12 years agoMerged revisions 82337 via svnmerge from
Russell Bryant [Thu, 13 Sep 2007 18:52:35 +0000 (18:52 +0000)]
Merged revisions 82337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82337 | russell | 2007-09-13 13:45:59 -0500 (Thu, 13 Sep 2007) | 4 lines

Only compile in tracking astobj2 statistics if dev-mode is enabled.  Also, when
dev mode is enabled, register the CLI command that can be used to run the astobj2
test and print out statistics.

........

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

12 years agoMerged revisions 82335 via svnmerge from
Kevin P. Fleming [Thu, 13 Sep 2007 18:13:44 +0000 (18:13 +0000)]
Merged revisions 82335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r82335 | kpfleming | 2007-09-13 11:12:00 -0700 (Thu, 13 Sep 2007) | 10 lines

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

........
r82334 | kpfleming | 2007-09-13 11:10:12 -0700 (Thu, 13 Sep 2007) | 2 lines

clarify the OpenSSL and OpenH323 license exceptions

........

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

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

12 years agoAdd setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 you can...
Joshua Colp [Thu, 13 Sep 2007 16:58:59 +0000 (16:58 +0000)]
Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!)

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

12 years agoMerged revisions 82326 via svnmerge from
Mark Michelson [Thu, 13 Sep 2007 16:27:42 +0000 (16:27 +0000)]
Merged revisions 82326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82326 | mmichelson | 2007-09-13 11:25:59 -0500 (Thu, 13 Sep 2007) | 7 lines

Added logic to handle the unlikely case that someone has two queues with the same name.
Asterisk will log a warning message letting the user know that one was already defined with that
name and is it skipping all further instances. This also will work for realtime queues but in order
for that to happen, the user would have to trigger a perfectly timed reload as a realtime queue is being
looked up, which is highly unlikely (but taken care of nonetheless).

........

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

12 years agoVarious code and documentation cleanups for res_config_sqlite
Russell Bryant [Thu, 13 Sep 2007 15:26:40 +0000 (15:26 +0000)]
Various code and documentation cleanups for res_config_sqlite
(closes issue #10711, rbraun_proformatique)

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

12 years agoModify rule filters to match with the Jingle namespace constant
Philippe Sultan [Thu, 13 Sep 2007 15:25:18 +0000 (15:25 +0000)]
Modify rule filters to match with the Jingle namespace constant

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

12 years agoAssign namespace properly
Philippe Sultan [Thu, 13 Sep 2007 15:10:08 +0000 (15:10 +0000)]
Assign namespace properly

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

12 years agoChanged Jingle and Jingle DTMF namespaces.
Philippe Sultan [Thu, 13 Sep 2007 15:05:16 +0000 (15:05 +0000)]
Changed Jingle and Jingle DTMF namespaces.

As both specifications are in the Experimental status, the namespaces
specified therein shall be of the form
"http://www.xmpp.org/extensions/xep-XXXX.html#ns".

See the Namespace issuance section in XEP-0053 :
http://www.xmpp.org/extensions/xep-0053.html#namespaces

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

12 years agoReflect Jingle DTMF specification changes
Philippe Sultan [Thu, 13 Sep 2007 14:00:56 +0000 (14:00 +0000)]
Reflect Jingle DTMF specification changes

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

12 years agoFix a missing unref of a member struct. This was pointed out by Marta. Thanks!
Russell Bryant [Thu, 13 Sep 2007 13:34:24 +0000 (13:34 +0000)]
Fix a missing unref of a member struct.  This was pointed out by Marta.  Thanks!
This function in 1.4 didn't have the problem.

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

12 years agoMerged revisions 82309 via svnmerge from
Philippe Sultan [Thu, 13 Sep 2007 11:54:56 +0000 (11:54 +0000)]
Merged revisions 82309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82309 | phsultan | 2007-09-13 13:47:14 +0200 (Thu, 13 Sep 2007) | 4 lines

Closes issue #9401, reported and patched by irrot, with slight
modifications by me.

Handle DTMF sent by Asterisk properly.
........

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

12 years agoMerged revisions 82296 via svnmerge from
Russell Bryant [Wed, 12 Sep 2007 21:57:30 +0000 (21:57 +0000)]
Merged revisions 82296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82296 | russell | 2007-09-12 16:56:32 -0500 (Wed, 12 Sep 2007) | 3 lines

Fix a check of the wrong pointer, as pointed out by an XXX comment left in
the code.  The problem was harmless, however.

........

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

12 years agoAfter some discussions, we decided that the return values here were a bit messy.
Jason Parker [Wed, 12 Sep 2007 21:55:32 +0000 (21:55 +0000)]
After some discussions, we decided that the return values here were a bit messy.

This also fixes a bug on reload, where peers may not have reregistered properly.

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

12 years agoMerged revisions 82291 via svnmerge from
Tilghman Lesher [Wed, 12 Sep 2007 21:32:24 +0000 (21:32 +0000)]
Merged revisions 82291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82291 | tilghman | 2007-09-12 16:28:33 -0500 (Wed, 12 Sep 2007) | 2 lines

Oops, wrong location for FreeBSD zone files

........

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

12 years agoMerged revisions 82285 via svnmerge from
Tilghman Lesher [Wed, 12 Sep 2007 21:25:57 +0000 (21:25 +0000)]
Merged revisions 82285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82285 | tilghman | 2007-09-12 15:12:06 -0500 (Wed, 12 Sep 2007) | 4 lines

Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so we
updated the localtime.c file from source.  Next we'll have to write ast_strptime
to match.

........

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

12 years agoRemoved an unneeded ao2_ref. This was a problem because unless get_member_status...
Mark Michelson [Wed, 12 Sep 2007 21:17:45 +0000 (21:17 +0000)]
Removed an unneeded ao2_ref. This was a problem because unless get_member_status returned QUEUE_NORMAL, a NULL member
would be unreferenced. While this didn't cause any crashes or anything terrible, it still is incorrect

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

12 years agoThis fix closes issue #10642 -- it's not perfect, but should retain most blank lines...
Steve Murphy [Wed, 12 Sep 2007 20:50:40 +0000 (20:50 +0000)]
This fix closes issue #10642 -- it's not perfect, but should retain most blank lines in config files, via read/write cycles.

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

12 years agoMerged revisions 82286 via svnmerge from
Dwayne M. Hubbard [Wed, 12 Sep 2007 20:47:32 +0000 (20:47 +0000)]
Merged revisions 82286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82286 | dhubbard | 2007-09-12 15:24:24 -0500 (Wed, 12 Sep 2007) | 1 line

remove a race condition for the creation of recordthread's, and fix a small memory leak.  This closes issue# 10636
........

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

12 years agoFixes Solaris build warnings
Mark Michelson [Wed, 12 Sep 2007 16:24:45 +0000 (16:24 +0000)]
Fixes Solaris build warnings

(closes issue #10698, reported and patched by snuffy)

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

12 years agoChange the traversal to use ao2_callback() instead of an ao2_iterator. Using
Russell Bryant [Wed, 12 Sep 2007 15:53:40 +0000 (15:53 +0000)]
Change the traversal to use ao2_callback() instead of an ao2_iterator.  Using
ao2_callback() is a much more efficient way of performing an operation on every
item in the container.  This change makes hashtest2 run in about 25% of the
time it ran before on my system.

In general, I would say that it makes the most sense to use an ao2_iterator if
the operation being performed is going to take a long time and you don't want
to keep the container locked while you work with each object.  Otherwise,
the use of ao2_callback is preferred.

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

12 years agoMerged revisions 82280 via svnmerge from
Russell Bryant [Wed, 12 Sep 2007 15:19:11 +0000 (15:19 +0000)]
Merged revisions 82280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82280 | russell | 2007-09-12 10:16:49 -0500 (Wed, 12 Sep 2007) | 4 lines

Clean up the output of "asterisk -h".  This tweaks the wording and wraps lines
at 80 characters.
(closes issue #10699, seanbright)

........

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

12 years agoMerged revisions 82278 via svnmerge from
Russell Bryant [Wed, 12 Sep 2007 15:12:52 +0000 (15:12 +0000)]
Merged revisions 82278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82278 | russell | 2007-09-12 10:11:11 -0500 (Wed, 12 Sep 2007) | 3 lines

revert patch from issue #10553, as someone not using fastagi reported that this
broke their system.

........

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

12 years agoBlocking changes from revision 82276
Mark Michelson [Wed, 12 Sep 2007 14:31:36 +0000 (14:31 +0000)]
Blocking changes from revision 82276

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

12 years agoMerged revisions 82274 via svnmerge from
Mark Michelson [Wed, 12 Sep 2007 14:29:15 +0000 (14:29 +0000)]
Merged revisions 82274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82274 | mmichelson | 2007-09-12 09:24:53 -0500 (Wed, 12 Sep 2007) | 6 lines

We should only initialize a realtime queue when it is allocated, not every time we access it. This prevents the members ao2_container
from being reallocated every time the queue is accessed.

I also removed a debug message I had accidentally left in on a previous commit.

........

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

12 years agoFix to make sure we don't hangup a call when getting a RLC without sending REL. ...
Matthew Fredrickson [Tue, 11 Sep 2007 23:07:49 +0000 (23:07 +0000)]
Fix to make sure we don't hangup a call when getting a RLC without sending REL.  Found making sure we are Q.784 (the SS7 test specification) compliant

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

12 years agoremove unused functions that made this file not build under dev mode
Russell Bryant [Tue, 11 Sep 2007 22:38:53 +0000 (22:38 +0000)]
remove unused functions that made this file not build under dev mode

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

12 years agoMerged revisions 82267 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 22:38:02 +0000 (22:38 +0000)]
Merged revisions 82267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82267 | russell | 2007-09-11 17:37:17 -0500 (Tue, 11 Sep 2007) | 3 lines

Fix incorrect uses of ao2_find().  Every one of these calls was reading bogus
memory ...

........

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

12 years agoThis solves an unreported solaris compile problem (missing -lnsl -lsocket).
Steve Murphy [Tue, 11 Sep 2007 22:37:20 +0000 (22:37 +0000)]
This solves an unreported solaris compile problem (missing -lnsl -lsocket).

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

12 years agoMerged revisions 82265 via svnmerge from
Joshua Colp [Tue, 11 Sep 2007 21:43:47 +0000 (21:43 +0000)]
Merged revisions 82265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82265 | file | 2007-09-11 18:41:49 -0300 (Tue, 11 Sep 2007) | 4 lines

(closes issue #10679)
Reported by: andrew
Build under dev mode when K6OPTS is enabled.

........

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

12 years agoMerged revisions 82263 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 20:50:42 +0000 (20:50 +0000)]
Merged revisions 82263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82263 | russell | 2007-09-11 15:49:34 -0500 (Tue, 11 Sep 2007) | 5 lines

Fix another missing unref of member objects.  This one was pointed out by Marta.
When building the outgoing list in try_calling(), a member reference is stored
in each outgoing entry.  However, when this list got destroyed, the reference
was not released.

........

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

12 years agoMerged revisions 82261 via svnmerge from
Steve Murphy [Tue, 11 Sep 2007 20:49:21 +0000 (20:49 +0000)]
Merged revisions 82261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82261 | murf | 2007-09-11 14:36:15 -0600 (Tue, 11 Sep 2007) | 1 line

this change should fix issue # 10659 -- what I worry about is how many other bug reports it may generate. Hopefully, we can please the/a majority. Hopefully. We shall see. Calls not marked ANSWERED and with only one channel name will not be posted. This should eliminate the double CDR's.
........

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

12 years agoLil' bit more documentation to keep folks happy.
Joshua Colp [Tue, 11 Sep 2007 18:37:39 +0000 (18:37 +0000)]
Lil' bit more documentation to keep folks happy.

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

12 years ago(closes issue #9433)
Joshua Colp [Tue, 11 Sep 2007 17:58:48 +0000 (17:58 +0000)]
(closes issue #9433)
Reported by: junky
Patches:
      register_trying.diff.txt uploaded by jcmoore
Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej.

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

12 years agofixing up the pthread stuff for hashtest2
Steve Murphy [Tue, 11 Sep 2007 17:16:16 +0000 (17:16 +0000)]
fixing up the pthread stuff for hashtest2

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

12 years agoMerged revisions 82249 via svnmerge from
Christian Richter [Tue, 11 Sep 2007 16:15:10 +0000 (16:15 +0000)]
Merged revisions 82249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82249 | crichter | 2007-09-11 18:01:27 +0200 (Di, 11 Sep 2007) | 1 line

fixed a hold/retrieve issue.
........

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

12 years agoMerged revisions 82252 via svnmerge from
Mark Michelson [Tue, 11 Sep 2007 16:12:09 +0000 (16:12 +0000)]
Merged revisions 82252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82252 | mmichelson | 2007-09-11 11:05:56 -0500 (Tue, 11 Sep 2007) | 6 lines

All instances of ao2_iterators which were just named 'i' have been renamed
to 'mem_iter' so that when refcounted queues are merged into trunk, there will be
little confusion regarding iterator names, especially when a queue and member iterator
are used in the same function.

........

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

12 years agoMerged revisions 82250 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 16:05:03 +0000 (16:05 +0000)]
Merged revisions 82250 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82250 | russell | 2007-09-11 11:03:42 -0500 (Tue, 11 Sep 2007) | 4 lines

The sample dundi.conf claims support for a wildcard peer entry - [*], but the
code did not support it.  This patch makes it work.
(closes issue #10546, patch by dds, with some changes by me)

........

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

12 years ago(closes issue #10666)
Joshua Colp [Tue, 11 Sep 2007 15:34:40 +0000 (15:34 +0000)]
(closes issue #10666)
Reported by: arkadia
Patches:
      cdr_lockorder.patch uploaded by arkadia (license 233)
Optimize CDR stuff a bit.

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

12 years agoRemove an unused variable. I have no idea why this was marked with the unused
Russell Bryant [Tue, 11 Sep 2007 15:31:04 +0000 (15:31 +0000)]
Remove an unused variable.  I have no idea why this was marked with the unused
attribute instead of just removing it.  :)

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

12 years agoMerged revisions 82245 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 15:28:46 +0000 (15:28 +0000)]
Merged revisions 82245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82245 | russell | 2007-09-11 10:26:51 -0500 (Tue, 11 Sep 2007) | 9 lines

(closes issue #10553)
Reported by: juggie
Patches:
      res_agi_fgets-2.patch uploaded by juggie (license 24)
Tested by: juggie

When using fastagi, fgets() can return before a full line is read.  Add explicit
handling for the case where it gets interrupted.

........

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

12 years agoMerged revisions 82243 via svnmerge from
Joshua Colp [Tue, 11 Sep 2007 14:58:11 +0000 (14:58 +0000)]
Merged revisions 82243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82243 | file | 2007-09-11 11:56:39 -0300 (Tue, 11 Sep 2007) | 6 lines

(closes issue #10577)
Reported by: jamesgolovich
Patches:
      asterisk-dundifree.diff.txt uploaded by jamesgolovich (license 176)
Don't leak memory when unloading DUNDi.

........

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

12 years ago(closes issue #10560)
Joshua Colp [Tue, 11 Sep 2007 14:50:12 +0000 (14:50 +0000)]
(closes issue #10560)
Reported by: ruffle
Patches:
      rb uploaded by ruffle (license 201)
Show whether the conference is locked or not on the CLI.

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

12 years agoMerged revisions 82240 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:35:06 +0000 (14:35 +0000)]
Merged revisions 82240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82240 | russell | 2007-09-11 09:34:12 -0500 (Tue, 11 Sep 2007) | 2 lines

Add a couple more missing unrefs of queue member objects

........

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

12 years agoMerged revisions 82238 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:25:20 +0000 (14:25 +0000)]
Merged revisions 82238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82238 | russell | 2007-09-11 09:21:17 -0500 (Tue, 11 Sep 2007) | 2 lines

Add a missing unref of a queue member in an error handling block

........

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

12 years agoMerged revisions 82236 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:10:17 +0000 (14:10 +0000)]
Merged revisions 82236 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82236 | russell | 2007-09-11 09:09:43 -0500 (Tue, 11 Sep 2007) | 2 lines

Document why membercount can not simply be replaced by ao2_container_count()

........

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

12 years agoInclude string compatibility file in hashtest2.
Joshua Colp [Tue, 11 Sep 2007 13:46:08 +0000 (13:46 +0000)]
Include string compatibility file in hashtest2.

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

12 years agoInclude compat.h to hopefully make it compatible with FreeBSD.
Joshua Colp [Tue, 11 Sep 2007 13:41:03 +0000 (13:41 +0000)]
Include compat.h to hopefully make it compatible with FreeBSD.

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

12 years agoFix building under FreeBSD. Make sure alloca.h exists before including it.
Joshua Colp [Tue, 11 Sep 2007 13:37:26 +0000 (13:37 +0000)]
Fix building under FreeBSD. Make sure alloca.h exists before including it.

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

12 years ago(closes issue #10695)
Joshua Colp [Tue, 11 Sep 2007 13:15:37 +0000 (13:15 +0000)]
(closes issue #10695)
Reported by: junky
Patches:
      count_showconn.diff uploaded by junky (license 177)
Provide a count of connected users to manager.

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

12 years ago(closes issue #10692)
Joshua Colp [Tue, 11 Sep 2007 13:10:04 +0000 (13:10 +0000)]
(closes issue #10692)
Reported by: snuffy
Patches:
      minivm.diff uploaded by snuffy (license 35)
Instead of using err (which is not available under Solaris) use fdprintf with stderr.

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

12 years agoChange the IAXPeers command to have manager-style output, instead of CLI-style output...
Tilghman Lesher [Mon, 10 Sep 2007 20:03:51 +0000 (20:03 +0000)]
Change the IAXPeers command to have manager-style output, instead of CLI-style output (closes issue #8254)

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

12 years agoBlocked revisions 82198 via svnmerge
Russell Bryant [Mon, 10 Sep 2007 19:56:17 +0000 (19:56 +0000)]
Blocked revisions 82198 via svnmerge

........
r82198 | russell | 2007-09-10 14:53:17 -0500 (Mon, 10 Sep 2007) | 3 lines

backport astobj2 race condition fix.  This function is the exact same as trunk
so it applies here as well.

........

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

12 years agoFixing a problem where NULL channels would cause a crash when calling indisposed...
Mark Michelson [Mon, 10 Sep 2007 19:10:46 +0000 (19:10 +0000)]
Fixing a problem where NULL channels would cause a crash when calling indisposed queue members (i.e. paused, wrapup time not completed, etc.)

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

12 years agoMerged revisions 82155 via svnmerge from
Tilghman Lesher [Mon, 10 Sep 2007 18:32:59 +0000 (18:32 +0000)]
Merged revisions 82155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82155 | tilghman | 2007-09-10 13:02:02 -0500 (Mon, 10 Sep 2007) | 2 lines

Convert struct member to use refcounts (closes issue #10199)

........

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

12 years agoAdd a counter to the 'database deltree' CLI command.
Jason Parker [Mon, 10 Sep 2007 17:39:08 +0000 (17:39 +0000)]
Add a counter to the 'database deltree' CLI command.
Note: this is slightly different than the initial patch, because I felt
 that using res <= 0 would be a change in behavior.

Closes issue #10687, patch by junky

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

12 years agoCommitting my test for astobj2, hashtest2.c, along with makefile changes in utils.
Steve Murphy [Mon, 10 Sep 2007 16:59:18 +0000 (16:59 +0000)]
Committing my test for astobj2, hashtest2.c, along with makefile changes in utils.

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

12 years agoAdd counter to 'database show' CLI command.
Jason Parker [Mon, 10 Sep 2007 16:24:29 +0000 (16:24 +0000)]
Add counter to 'database show' CLI command.
(also a minor whitespace change that I found along the way)

Closes issue #10683, patch by junky

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

12 years agoChanges applied from marta's team/marta/astobj2 branch to solve a race condition
Steve Murphy [Mon, 10 Sep 2007 16:19:45 +0000 (16:19 +0000)]
Changes applied from marta's team/marta/astobj2 branch to solve a race condition

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

12 years agoMerged revisions 82091 via svnmerge from
Mark Michelson [Mon, 10 Sep 2007 15:05:13 +0000 (15:05 +0000)]
Merged revisions 82091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82091 | mmichelson | 2007-09-10 10:02:12 -0500 (Mon, 10 Sep 2007) | 5 lines

Removing non-existent options from misdn configuration sample.

(closes issue #10678, reported and patched by IgorG)

........

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

12 years ago(closes issue #10688)
Joshua Colp [Mon, 10 Sep 2007 14:26:32 +0000 (14:26 +0000)]
(closes issue #10688)
Reported by: casper
Patches:
      chan_sip.c.82076.diff uploaded by casper (license 55)
Remove double check for zombie flag and optimize things a bit.

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

12 years ago(closes issue #10684)
Joshua Colp [Mon, 10 Sep 2007 13:41:54 +0000 (13:41 +0000)]
(closes issue #10684)
Reported by: junky
Patches:
      debug.diff uploaded by junky (license 177)
Fix issue with debug always showing up.

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

12 years ago(closes issue #10686)
Joshua Colp [Mon, 10 Sep 2007 13:19:48 +0000 (13:19 +0000)]
(closes issue #10686)
Reported by: junky
Patches:
      meet.diff uploaded by junky (license 177)
Change NOTICE message to DEBUG.

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