asterisk/asterisk.git
15 years agoMore random formatting changes to test Mantis/SVN integration
Russell Bryant [Wed, 6 Jun 2007 17:10:52 +0000 (17:10 +0000)]
More random formatting changes to test Mantis/SVN integration
(issue #9828)

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

15 years agoMake a completely arbitrary formatting change to test out some Mantis/SVN
Russell Bryant [Wed, 6 Jun 2007 17:08:00 +0000 (17:08 +0000)]
Make a completely arbitrary formatting change to test out some Mantis/SVN
integration stuff.  (issue #9828)

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

15 years agoMerged revisions 67716 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 16:58:28 +0000 (16:58 +0000)]
Merged revisions 67716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67716 | russell | 2007-06-06 11:55:59 -0500 (Wed, 06 Jun 2007) | 13 lines

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

........
r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) | 5 lines

We have some bug reports showing crashes due to a double free of a channel.
Add a sanity check to ast_channel_free() to make sure we don't go on trying
to free a channel that wasn't found in the channel list.
(issue #8850, and others...)

........

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

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

15 years agoChange "show parkedcalls" to "parkedcalls show" and mark the previous command
Russell Bryant [Wed, 6 Jun 2007 14:45:29 +0000 (14:45 +0000)]
Change "show parkedcalls" to "parkedcalls show" and mark the previous command
as deprecated.  Also, convert the CLI command to the new style.
(issue #9861, patch from eliel)

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

15 years agoMerged revisions 67650 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:32:11 +0000 (13:32 +0000)]
Merged revisions 67650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67650 | file | 2007-06-06 09:30:25 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67649 | file | 2007-06-06 09:28:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Reinvite the RTP back to the Asterisk machine when the timeout happens. (issue #9888 reported by gasparz)

........

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

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

15 years agoMerged revisions 67631 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:20:38 +0000 (13:20 +0000)]
Merged revisions 67631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67631 | file | 2007-06-06 09:18:39 -0400 (Wed, 06 Jun 2007) | 2 lines

Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)

........

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

15 years agoMerged revisions 67626 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:17:26 +0000 (13:17 +0000)]
Merged revisions 67626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67626 | file | 2007-06-06 09:16:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)

........

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

15 years agoMerged revisions 67597 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:36:15 +0000 (12:36 +0000)]
Merged revisions 67597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines

Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

........

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

15 years agoWhen SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)
Joshua Colp [Wed, 6 Jun 2007 12:23:59 +0000 (12:23 +0000)]
When SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)

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

15 years agoMerged revisions 67594 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:21:33 +0000 (12:21 +0000)]
Merged revisions 67594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67594 | file | 2007-06-06 08:20:27 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67593 | file | 2007-06-06 08:18:36 -0400 (Wed, 06 Jun 2007) | 2 lines

Revert channel name splitting fix for Zap. The moral of the story is don't use - in your user/peer names. (issue #9668 reported by stevedavies)

........

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

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

15 years agoMerged revisions 67558 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 23:02:11 +0000 (23:02 +0000)]
Merged revisions 67558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67558 | russell | 2007-06-05 18:01:44 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix some crashes related to the use of the "meetme" CLI command.  The code for
this command was not locking the conference list at all.
(issue #9351, reported by and patch submitted by Junk-Y, committed patch
 is different and by me)

........

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

15 years agoFound a bug where when "core set debug #" is used, the verbosity is read as the
Mark Michelson [Tue, 5 Jun 2007 22:59:36 +0000 (22:59 +0000)]
Found a bug where when "core set debug #" is used, the verbosity is read as the
old value instead of the old debug value, leading to an erroneous status message
after setting. This was purely a cosmetic issue and had no other underlying problems.

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

15 years agoMerged revisions 67526 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 22:04:22 +0000 (22:04 +0000)]
Merged revisions 67526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67526 | murf | 2007-06-05 15:30:18 -0600 (Tue, 05 Jun 2007) | 1 line

this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
........

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

15 years agoMerged revisions 67492 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 20:55:59 +0000 (20:55 +0000)]
Merged revisions 67492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67492 | russell | 2007-06-05 15:53:28 -0500 (Tue, 05 Jun 2007) | 16 lines

This bug has been hanging over my head ever since I wrote this SLA code.
Every time I tried to go debug it by adding some debug output, the behavior
would change.  It turns out I wasn't crazy.  I had the following piece of code:

   if (remove)
      AST_LIST_REMOVE_CURRENT(...);

Well, AST_LIST_REMOVE_CURRENT was not wrapped in braces, so my conditional
statement didn't do much good at all.  It always ran at least all of the
macro minus the first statement, so I was seeing list entries magically
disappear when they weren't supposed to.

After many hours of debugging, I have come to this extremely irritating fix. :)

(issues #9581, #9497)

........

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

15 years agoMerged revisions 67424 via svnmerge from
Mark Michelson [Tue, 5 Jun 2007 20:16:19 +0000 (20:16 +0000)]
Merged revisions 67424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67424 | mmichelson | 2007-06-05 13:32:50 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).

........

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

15 years agoMerged revisions 67457 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 19:50:04 +0000 (19:50 +0000)]
Merged revisions 67457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67457 | russell | 2007-06-05 14:48:02 -0500 (Tue, 05 Jun 2007) | 2 lines

Suppress a bunch of debug output unless option_debug is on

........

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

15 years agoMerged revisions 67420 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 18:23:53 +0000 (18:23 +0000)]
Merged revisions 67420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67420 | murf | 2007-06-05 12:17:28 -0600 (Tue, 05 Jun 2007) | 1 line

Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881
........

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

15 years agoMerged revisions 67421 via svnmerge from
Jason Parker [Tue, 5 Jun 2007 18:19:53 +0000 (18:19 +0000)]
Merged revisions 67421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67421 | qwell | 2007-06-05 13:18:24 -0500 (Tue, 05 Jun 2007) | 4 lines

Correctly update date/time on devices throughout the life of the device, instead of just at registration.

Issue 9152, yet another patch by DEA.

........

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

15 years agoMake sure we default allowmultiplelogin to on/yes, per the default stated in the...
Jason Parker [Tue, 5 Jun 2007 17:47:37 +0000 (17:47 +0000)]
Make sure we default allowmultiplelogin to on/yes, per the default stated in the config.

Issue 9885, patch by eliel.

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

15 years agochanged #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable...
Dwayne M. Hubbard [Tue, 5 Jun 2007 17:24:46 +0000 (17:24 +0000)]
changed #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable-dev-mode

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

15 years agoImprove the way that the zaptel channel name is created by using the Asterisk
Russell Bryant [Tue, 5 Jun 2007 17:11:32 +0000 (17:11 +0000)]
Improve the way that the zaptel channel name is created by using the Asterisk
strings API and by only allocating space on the stack

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

15 years agoBlocked revisions 67372 via svnmerge
Russell Bryant [Tue, 5 Jun 2007 17:08:22 +0000 (17:08 +0000)]
Blocked revisions 67372 via svnmerge

........
r67372 | russell | 2007-06-05 12:07:30 -0500 (Tue, 05 Jun 2007) | 2 lines

Handle a failure in malloc() in ast_safe_string_alloc()

........

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

15 years agoMerged revisions 67360 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 16:58:09 +0000 (16:58 +0000)]
Merged revisions 67360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67360 | russell | 2007-06-05 11:56:36 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix a problem that showed itself by causing Zap channel names to be completely
bogus on my machine.  ast_safe_string_alloc() was broken.  It called
vsnprintf() on a va_args list twice without re-initializing it.  After the first
usage, va_end() and va_start() must be called again.

........

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

15 years agoMerged revisions 67334 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:21:15 +0000 (16:21 +0000)]
Merged revisions 67334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67334 | crichter | 2007-06-05 18:14:07 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67307 | crichter | 2007-06-05 17:42:03 +0200 (Di, 05 Jun 2007) | 1 line

briding is a bool, fixed copy and paste issue.
........

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

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

15 years agoMerged revisions 67329 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:19:20 +0000 (16:19 +0000)]
Merged revisions 67329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67329 | crichter | 2007-06-05 18:11:57 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67306 | crichter | 2007-06-05 17:39:43 +0200 (Di, 05 Jun 2007) | 1 line

simplified the EVENT_SETUP handling in the cb_events function a lot. Commented the different possibilities a bit and made functions of shared code. When the dialed extension does not exist in the extensions.conf we'll jump into the 'i' extension if this does exist, else we disconnect the call with the cause:1 = No Route to Destination.
........

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

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

15 years agoMerged revisions 67308 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 15:54:36 +0000 (15:54 +0000)]
Merged revisions 67308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67308 | russell | 2007-06-05 10:51:53 -0500 (Tue, 05 Jun 2007) | 5 lines

When shutting down "gracefully", go through and run the unload() callbacks for
all of the modules.  "stop now" is considered a non-graceful shutdown and will
not go through this process.
(issue #9804, reported by chrisost, patch by me)

........

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

15 years agoMerged revisions 67304 via svnmerge from
Joshua Colp [Tue, 5 Jun 2007 15:24:01 +0000 (15:24 +0000)]
Merged revisions 67304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67304 | file | 2007-06-05 12:22:30 -0300 (Tue, 05 Jun 2007) | 2 lines

Only muck with the thread structure if an idle one was found/created.

........

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

15 years agoadd a note about inline comments
Russell Bryant [Tue, 5 Jun 2007 14:59:34 +0000 (14:59 +0000)]
add a note about inline comments

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

15 years agoDoxygenify the comments for new members of the iax2_thread struct
Russell Bryant [Tue, 5 Jun 2007 14:55:09 +0000 (14:55 +0000)]
Doxygenify the comments for new members of the iax2_thread struct

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

15 years agoMerged revisions 67270 via svnmerge from
Kevin P. Fleming [Tue, 5 Jun 2007 14:45:48 +0000 (14:45 +0000)]
Merged revisions 67270 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67270 | kpfleming | 2007-06-05 09:35:52 -0500 (Tue, 05 Jun 2007) | 3 lines

ensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will not be processed out of order... this is a brute force fix, but seems to be the safest fix for now (thanks to the Digium PQ department for finding this bug)

........

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

15 years agoMerged revisions 67210 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 11:48:25 +0000 (11:48 +0000)]
Merged revisions 67210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67210 | crichter | 2007-06-05 12:25:32 +0200 (Di, 05 Jun 2007) | 9 lines

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

........
r67209 | crichter | 2007-06-05 12:05:45 +0200 (Di, 05 Jun 2007) | 1 line

added possibility to deactivate bridging per port
........

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

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

15 years agoMerged revisions 67162 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 23:45:05 +0000 (23:45 +0000)]
Merged revisions 67162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67162 | tilghman | 2007-06-04 18:43:01 -0500 (Mon, 04 Jun 2007) | 10 lines

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

........
r67161 | tilghman | 2007-06-04 18:41:49 -0500 (Mon, 04 Jun 2007) | 2 lines

According to MATH, 0+1181000386 = 1181000448.  Oops.

........

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

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

15 years agoMerged revisions 67158 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 23:32:26 +0000 (23:32 +0000)]
Merged revisions 67158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67158 | russell | 2007-06-04 18:31:40 -0500 (Mon, 04 Jun 2007) | 5 lines

Fix up a bunch of places where the iax2 pvt structure can disappear and the
code did not account for it and crashes.
(issues #9642, #9569, #9666, probably others ... based on the work by
 stevedavies and mihai, with additional changes from me)

........

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

15 years agoMerged revisions 67156 via svnmerge from
Jason Parker [Mon, 4 Jun 2007 23:29:22 +0000 (23:29 +0000)]
Merged revisions 67156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67156 | qwell | 2007-06-04 18:26:28 -0500 (Mon, 04 Jun 2007) | 6 lines

Fix for skinny keepalives.
If there is no traffic from the phone for (keep_alive * 1100) ms (arbitrarily
 adding 10% for network issues, etc),  unregister the device.

Issue 8394, patch by DEA.

........

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

15 years agoMerged revisions 67121 via svnmerge from
Jason Parker [Mon, 4 Jun 2007 22:39:10 +0000 (22:39 +0000)]
Merged revisions 67121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67121 | qwell | 2007-06-04 17:36:57 -0500 (Mon, 04 Jun 2007) | 4 lines

Fixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)

Issue 9855, patch by DEA.

........

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

15 years agoMerged revisions 67119 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 22:29:43 +0000 (22:29 +0000)]
Merged revisions 67119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67119 | russell | 2007-06-04 17:28:55 -0500 (Mon, 04 Jun 2007) | 6 lines

Add comments for two functions that get called with the appropriate call locked,
but perform operations that could result in the pvt structure getting destroyed
before returning again, causing numerous seg faults all over the module.
(inspired by issues #9642, #9569, and #9666, and the work done by stevedavies
 and mihai)

........

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

15 years agoMerged revisions 67073 via svnmerge from
Steve Murphy [Mon, 4 Jun 2007 22:15:38 +0000 (22:15 +0000)]
Merged revisions 67073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67073 | murf | 2007-06-04 15:59:34 -0600 (Mon, 04 Jun 2007) | 1 line

This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.
........

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

15 years agoMerged revisions 67071 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 21:48:15 +0000 (21:48 +0000)]
Merged revisions 67071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67071 | russell | 2007-06-04 16:47:36 -0500 (Mon, 04 Jun 2007) | 2 lines

Add a missing \n.  (pointed out by jcmoore on IRC)

........

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

15 years agoRemove a leftover unlock and lock of the iax2 pvt struct lock that was left
Russell Bryant [Mon, 4 Jun 2007 21:45:24 +0000 (21:45 +0000)]
Remove a leftover unlock and lock of the iax2 pvt struct lock that was left
over from my attempt at putting pvt structs in a hash table.  It can cause
seg faults, and has no reason to stay.
(issue #9642, pointed out by stevedavies)

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

15 years agoMerged revisions 67068 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 19:32:08 +0000 (19:32 +0000)]
Merged revisions 67068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67068 | file | 2007-06-04 15:31:09 -0400 (Mon, 04 Jun 2007) | 2 lines

Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)

........

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

15 years agoMerged revisions 67066 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 18:00:24 +0000 (18:00 +0000)]
Merged revisions 67066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67066 | file | 2007-06-04 13:59:14 -0400 (Mon, 04 Jun 2007) | 2 lines

Initialize cidname variable to nothing since it may be used without having been touched. (issue #9661 reported by dimas)

........

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

15 years agoMerged revisions 67064 via svnmerge from
Joshua Colp [Mon, 4 Jun 2007 17:43:21 +0000 (17:43 +0000)]
Merged revisions 67064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67064 | file | 2007-06-04 13:41:59 -0400 (Mon, 04 Jun 2007) | 2 lines

Returning a value that indicates the parking of a call was a success when it really wasn't (because the parking slot selected was in use) is the wrong thing to do. (issue #9723 reported by mdu113)

........

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

15 years agoMinor clean up. Constify a few variables and use ast_strlen_zero in a few places.
Joshua Colp [Mon, 4 Jun 2007 17:32:41 +0000 (17:32 +0000)]
Minor clean up. Constify a few variables and use ast_strlen_zero in a few places.

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

15 years agoMerged revisions 67061 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 17:12:35 +0000 (17:12 +0000)]
Merged revisions 67061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67061 | tilghman | 2007-06-04 12:11:43 -0500 (Mon, 04 Jun 2007) | 10 lines

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

........
r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines

Add revision Id tags (by request of tzafrir)

........

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

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

15 years agoMerged revisions 67026 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 16:03:19 +0000 (16:03 +0000)]
Merged revisions 67026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67026 | russell | 2007-06-04 11:02:31 -0500 (Mon, 04 Jun 2007) | 6 lines

Change the configure script to build a test program against libcurl to make
sure the results from curl-config can be used to compile successfully.  This is
intended to help prevent a situation where you are cross compiling, and the
configure script finds the curl library installed on the host.
(issue #9865, reported and patched by zandbelt)

........

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

15 years agoChange javadoc style code documentation to the same format we use elsewhere.
Russell Bryant [Mon, 4 Jun 2007 15:56:13 +0000 (15:56 +0000)]
Change javadoc style code documentation to the same format we use elsewhere.
(issue #9864, patch from snuffy)

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

15 years agoMerged revisions 67021 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 15:53:15 +0000 (15:53 +0000)]
Merged revisions 67021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67021 | tilghman | 2007-06-04 10:50:16 -0500 (Mon, 04 Jun 2007) | 2 lines

Issue 9739 - Malformed jid causes a crash

........

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

15 years agoMerged revisions 67020 via svnmerge from
Russell Bryant [Mon, 4 Jun 2007 15:50:46 +0000 (15:50 +0000)]
Merged revisions 67020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67020 | russell | 2007-06-04 10:47:40 -0500 (Mon, 04 Jun 2007) | 7 lines

Resolve a deadlock in chan_iax2.  When handling an implicit ACK to a frame that
was marked as the final transmission for a call, don't call iax2_destroy() for
that call while the global frame queue is still locked.  There is a very nice
explanation of the deadlock in the report.
(issue #9663, thorough report and patch from stevedavies, additional positive
 test reports from mihai and joff_oconnell)

........

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

15 years agoBlocked revisions 67018 via svnmerge
Russell Bryant [Mon, 4 Jun 2007 15:29:00 +0000 (15:29 +0000)]
Blocked revisions 67018 via svnmerge

........
r67018 | russell | 2007-06-04 10:28:33 -0500 (Mon, 04 Jun 2007) | 3 lines

Fix some compiler warnings in C++ modules.
(issue #9866, reported by osk, patch by Corydon76)

........

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

15 years agoFix some compiler warnings in C++ modules.
Russell Bryant [Mon, 4 Jun 2007 15:26:43 +0000 (15:26 +0000)]
Fix some compiler warnings in C++ modules.
(issue #9866, reported by osk, patch by Corydon76)

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

15 years agoFix a couple of places where "tos" was used instead of "cos".
Russell Bryant [Mon, 4 Jun 2007 15:14:52 +0000 (15:14 +0000)]
Fix a couple of places where "tos" was used instead of "cos".
(issue #9540, patch by IgorG)

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

15 years agoAdd support for autocompleting start/stop options of the mixmonitor CLI command....
Joshua Colp [Mon, 4 Jun 2007 11:48:01 +0000 (11:48 +0000)]
Add support for autocompleting start/stop options of the mixmonitor CLI command. (issue #9862 reported by eliel)

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

16 years agoast_calloc janitor (Inspired by issue 9860)
Tilghman Lesher [Sun, 3 Jun 2007 06:10:27 +0000 (06:10 +0000)]
ast_calloc janitor (Inspired by issue 9860)

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

16 years agoremove a bogus comment that came from copy/paste
Russell Bryant [Fri, 1 Jun 2007 23:39:18 +0000 (23:39 +0000)]
remove a bogus comment that came from copy/paste

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

16 years agoMerge major changes to the way device state is passed around Asterisk. The two
Russell Bryant [Fri, 1 Jun 2007 23:34:43 +0000 (23:34 +0000)]
Merge major changes to the way device state is passed around Asterisk.  The two
places that cared about device states were app_queue and the hint code in pbx.c.
The changes include converting it to use the Asterisk event system, as well as
other efficiency improvements.
 * app_queue: This module used to register a callback into devicestate.c to
   monitor device state changes.  Now, it is just a subscriber to Asterisk
   events with the type, device state.
 * pbx.c hints: Previously, the device state processing thread in devicestate.c
   would call ast_hint_state_changed() each time the state of a device changed.
   Then, that code would go looking for all the hints that monitor that device,
   and call their callbacks.  All of this blocked the device state processing
   thread.  Now, the hint code is a subscriber of Asterisk events with the
   type, device state.  Furthermore, when this code receives a device state
   change event, it queues it up to be processed by another thread so that it
   doesn't block one of the event processing threads.

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

16 years agoRemove 80 bytes in the iax2_registry struct that weren't being used
Russell Bryant [Fri, 1 Jun 2007 23:02:57 +0000 (23:02 +0000)]
Remove 80 bytes in the iax2_registry struct that weren't being used

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

16 years agoMerged revisions 66919 via svnmerge from
Tilghman Lesher [Fri, 1 Jun 2007 21:49:34 +0000 (21:49 +0000)]
Merged revisions 66919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66919 | tilghman | 2007-06-01 16:45:44 -0500 (Fri, 01 Jun 2007) | 2 lines

On some drivers, deallocating the statement handle isn't enough.  We also have to clear the cursor (nice, Oracle)

........

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

16 years agoMerged revisions 66916 via svnmerge from
Mark Michelson [Fri, 1 Jun 2007 21:33:24 +0000 (21:33 +0000)]
Merged revisions 66916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

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

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

16 years agoMerged revisions 66897 via svnmerge from
Mark Michelson [Fri, 1 Jun 2007 21:16:39 +0000 (21:16 +0000)]
Merged revisions 66897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66897 | mmichelson | 2007-06-01 16:09:30 -0500 (Fri, 01 Jun 2007) | 3 lines

Submitting a fix for voicemail with IMAP storage. Attachments with format specified as gsm were duplicated (i.e. two attachments) were left.
Thank you very much to xmarksthespot for submitting the patch that fixed this. (Issues 9787 and 8873, Reported by xmarksthespot and jerjer, patched by xmarksthespot)

........

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

16 years agoMerged revisions 66881 via svnmerge from
Russell Bryant [Fri, 1 Jun 2007 19:42:27 +0000 (19:42 +0000)]
Merged revisions 66881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66881 | russell | 2007-06-01 14:41:30 -0500 (Fri, 01 Jun 2007) | 6 lines

Changes to the way DTMF is handled in the core broke dialing in chan_skinny.
This patch makes chan_skinny usable again.  I did not end up testing this,
but there are multiple positive test reports listed in the bug report.
(issue #9596, reported by pj, testing by pj and mvanbaak, and the fix was
 written by DEA)

........

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

16 years agoMerged revisions 66879 via svnmerge from
Russell Bryant [Fri, 1 Jun 2007 19:35:41 +0000 (19:35 +0000)]
Merged revisions 66879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66879 | russell | 2007-06-01 14:35:13 -0500 (Fri, 01 Jun 2007) | 2 lines

List app_meetme as a module that app_page depends on.

........

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

16 years agoDocumentation fixes for res_config_sqlite.
Jason Parker [Fri, 1 Jun 2007 18:36:25 +0000 (18:36 +0000)]
Documentation fixes for res_config_sqlite.

Issue 9854, patch by tzafrir.

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

16 years agoAdd some more information about the SIP Disclaimer header.
Russell Bryant [Fri, 1 Jun 2007 13:48:29 +0000 (13:48 +0000)]
Add some more information about the SIP Disclaimer header.

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

16 years agoMerged revisions 66821 via svnmerge from
Tilghman Lesher [Thu, 31 May 2007 23:04:32 +0000 (23:04 +0000)]
Merged revisions 66821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66821 | tilghman | 2007-05-31 18:03:28 -0500 (Thu, 31 May 2007) | 2 lines

Issue 9850 - update preferred command line syntax

........

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

16 years agofix a typo.
Russell Bryant [Thu, 31 May 2007 21:23:55 +0000 (21:23 +0000)]
fix a typo.

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

16 years agoTo satisfy some legal concerns, add an option for chan_sip to include a
Russell Bryant [Thu, 31 May 2007 19:41:03 +0000 (19:41 +0000)]
To satisfy some legal concerns, add an option for chan_sip to include a
disclaimer along with SIP messages in the header, X-Disclaimer.  This is off by
default.  Also, the text of the disclaimer can be customized in sip.conf.

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

16 years agoMerged revisions 66775 via svnmerge from
Russell Bryant [Thu, 31 May 2007 18:43:59 +0000 (18:43 +0000)]
Merged revisions 66775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66775 | russell | 2007-05-31 13:41:58 -0500 (Thu, 31 May 2007) | 3 lines

Change a couple of header files to not use "new", which is a reserved keyword
in C++.  (issue #9830, reported by osk)

........

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

16 years agoAdd support for configuring named groups of custom call features in
Russell Bryant [Thu, 31 May 2007 18:21:47 +0000 (18:21 +0000)]
Add support for configuring named groups of custom call features in
features.conf.  This allows you to create a feature one time, and then map it
into groups for various different key mappings for the same feature, as well
as easy access control to groups of features.
(patch from bbryant)

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

16 years agoRevert changes that snuck in with revision 66724.
Russell Bryant [Thu, 31 May 2007 18:09:50 +0000 (18:09 +0000)]
Revert changes that snuck in with revision 66724.

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

16 years ago- Don't check if the list is empty needlessly
Russell Bryant [Thu, 31 May 2007 17:56:27 +0000 (17:56 +0000)]
- Don't check if the list is empty needlessly
- Don't free structures before calling load_config(), because load_config()
  already does it
- Use the existing functions for freeing the minivm structures instead of
  replicating the code
(issue #9846, patch from eliel)

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

16 years agoMerged revisions 66770 via svnmerge from
Tilghman Lesher [Thu, 31 May 2007 17:16:38 +0000 (17:16 +0000)]
Merged revisions 66770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r66770 | tilghman | 2007-05-31 12:15:09 -0500 (Thu, 31 May 2007) | 10 lines

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

........
r66744 | tilghman | 2007-05-31 10:58:45 -0500 (Thu, 31 May 2007) | 2 lines

Issue 9818 - Fix for issue 8329 breaks pbx_realtime.  Issue 8329 will remain unfixed for pbx_realtime, but only because we lack core API to do it.

........

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

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

16 years agoMerged revisions 66768 via svnmerge from
Joshua Colp [Thu, 31 May 2007 16:18:14 +0000 (16:18 +0000)]
Merged revisions 66768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r66768 | file | 2007-05-31 12:14:48 -0400 (Thu, 31 May 2007) | 10 lines

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

........
r66764 | file | 2007-05-31 12:12:39 -0400 (Thu, 31 May 2007) | 2 lines

It is now possible for this path of execution to have the frame pointer be NULL, therefore we need to check for it before trying to access it. (issue #9836 reported by barthpbx)

........

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

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

16 years agoIssue 9799 - Multirow results for func_odbc
Tilghman Lesher [Thu, 31 May 2007 15:05:56 +0000 (15:05 +0000)]
Issue 9799 - Multirow results for func_odbc

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

16 years agoFix a crash on reload by using calloc() instead of malloc() to ensure that
Russell Bryant [Thu, 31 May 2007 14:52:30 +0000 (14:52 +0000)]
Fix a crash on reload by using calloc() instead of malloc() to ensure that
data is properly initialized.
(issue #9765, reported by MatsK, patch from eliel)

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

16 years agoIssue #9842 - Doxygen updates by snuffy. Thanks!
Olle Johansson [Thu, 31 May 2007 10:26:55 +0000 (10:26 +0000)]
Issue #9842 - Doxygen updates by snuffy. Thanks!

(Committed from Media Plaza in Utrecht, Netherlands - Open Source VoIP conference)

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

16 years agoMerged revisions 66671 via svnmerge from
Mark Michelson [Wed, 30 May 2007 23:44:42 +0000 (23:44 +0000)]
Merged revisions 66671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66671 | mmichelson | 2007-05-30 18:26:39 -0500 (Wed, 30 May 2007) | 2 lines

Fixed seg-faults when recording greetings in voicemail with IMAP enabled. (Issue No. 9734, reported by xmarksthespot, patched by me)

........

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

16 years agoBlocked revisions 66637 via svnmerge
Joshua Colp [Wed, 30 May 2007 17:23:15 +0000 (17:23 +0000)]
Blocked revisions 66637 via svnmerge

........
r66637 | file | 2007-05-30 13:21:06 -0400 (Wed, 30 May 2007) | 2 lines

When calling some peer/host that may not exist/reply back... don't keep the dialog in memory for all of eternity.

........

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

16 years agoThis concludes my tweaking of things.
Joshua Colp [Wed, 30 May 2007 16:11:57 +0000 (16:11 +0000)]
This concludes my tweaking of things.

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

16 years agoBlocked revisions 66602 via svnmerge
Joshua Colp [Wed, 30 May 2007 16:10:11 +0000 (16:10 +0000)]
Blocked revisions 66602 via svnmerge

........
r66602 | file | 2007-05-30 12:06:37 -0400 (Wed, 30 May 2007) | 2 lines

Change how channel names are generated a bit. (issue #9825 reported by eldadran)

........

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

16 years agoIssue 9477 - Improve menuselect labels
Tilghman Lesher [Wed, 30 May 2007 05:17:09 +0000 (05:17 +0000)]
Issue 9477 - Improve menuselect labels

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

16 years agoMerged revisions 66538 via svnmerge from
Tilghman Lesher [Tue, 29 May 2007 21:59:21 +0000 (21:59 +0000)]
Merged revisions 66538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r66538 | tilghman | 2007-05-29 16:56:07 -0500 (Tue, 29 May 2007) | 10 lines

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

........
r66537 | tilghman | 2007-05-29 16:49:35 -0500 (Tue, 29 May 2007) | 2 lines

If the value of a variable passed to FIELDQTY is blank, then FIELDQTY should return 0, not 1.

........

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

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

16 years agoShorten description to a much more reasonable length
Tilghman Lesher [Tue, 29 May 2007 21:57:50 +0000 (21:57 +0000)]
Shorten description to a much more reasonable length

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

16 years agooops. Thanks Terry.
Olle Johansson [Tue, 29 May 2007 19:53:40 +0000 (19:53 +0000)]
oops. Thanks Terry.

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

16 years agoMerged revisions 66503 via svnmerge from
Olle Johansson [Tue, 29 May 2007 19:35:43 +0000 (19:35 +0000)]
Merged revisions 66503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66503 | oej | 2007-05-29 21:32:57 +0200 (Tue, 29 May 2007) | 2 lines

Properly handle 408 request timeout - according to the RFC, the dialog dies if a request in a dialog gets this response.

........

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

16 years agoMerged revisions 66474 via svnmerge from
Olle Johansson [Tue, 29 May 2007 19:17:49 +0000 (19:17 +0000)]
Merged revisions 66474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66474 | oej | 2007-05-29 21:02:04 +0200 (Tue, 29 May 2007) | 2 lines

Don't issue hangup on hangup on hangup on hangup (for jcmoore)

........

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

16 years agoChanged the dtmf detection to integer based goertzel algorithm.
Doug Bailey [Tue, 29 May 2007 19:00:40 +0000 (19:00 +0000)]
Changed the dtmf detection to integer based goertzel algorithm.

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

16 years agoMerged revisions 66437 via svnmerge from
Joshua Colp [Tue, 29 May 2007 16:46:49 +0000 (16:46 +0000)]
Merged revisions 66437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66437 | file | 2007-05-29 12:44:34 -0400 (Tue, 29 May 2007) | 2 lines

Handle cases where a frame may have no data. (issue #9519 reported by dmb)

........

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

16 years agoMerged revisions 66414 via svnmerge from
Olle Johansson [Tue, 29 May 2007 16:19:53 +0000 (16:19 +0000)]
Merged revisions 66414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66414 | oej | 2007-05-29 18:07:44 +0200 (Tue, 29 May 2007) | 2 lines

Don't reset hangupcause if we already have one

........

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

16 years agoMerged revisions 66404 via svnmerge from
Olle Johansson [Tue, 29 May 2007 16:17:17 +0000 (16:17 +0000)]
Merged revisions 66404 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66404 | oej | 2007-05-29 18:02:50 +0200 (Tue, 29 May 2007) | 2 lines

Tracking down hanging channels, killing them one by one. Issue #9235 and related

........

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

16 years agoMerged revisions 66398 via svnmerge from
Joshua Colp [Tue, 29 May 2007 15:44:51 +0000 (15:44 +0000)]
Merged revisions 66398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66398 | file | 2007-05-29 11:43:16 -0400 (Tue, 29 May 2007) | 2 lines

Update datastores documentation. (issue #9801 reported by mnicholson)

........

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

16 years agoMerged revisions 66363 via svnmerge from
Olle Johansson [Tue, 29 May 2007 10:02:31 +0000 (10:02 +0000)]
Merged revisions 66363 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r66363 | oej | 2007-05-29 11:41:40 +0200 (Tue, 29 May 2007) | 10 lines

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

........
r66349 | oej | 2007-05-29 09:53:14 +0200 (Tue, 29 May 2007) | 2 lines

Issue #9802 - Change inuse counter on CANCEL

........

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

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

16 years agoDon't try to unregister a peer using the sip unregister CLI command if they are not...
Joshua Colp [Mon, 28 May 2007 23:28:52 +0000 (23:28 +0000)]
Don't try to unregister a peer using the sip unregister CLI command if they are not registered. (issue #9811 reported by eliel)

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

16 years agoDue to the way stringfields work the value of the url pointer will always be non...
Joshua Colp [Mon, 28 May 2007 23:24:04 +0000 (23:24 +0000)]
Due to the way stringfields work the value of the url pointer will always be non-NULL so we have to use ast_strlen_zero to make sure it is not empty. (issue #9821 reported by pj)

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

16 years agoBlocked revisions 66312 via svnmerge
Joshua Colp [Mon, 28 May 2007 23:20:20 +0000 (23:20 +0000)]
Blocked revisions 66312 via svnmerge

........
r66312 | file | 2007-05-28 19:16:56 -0400 (Mon, 28 May 2007) | 2 lines

Make the usedistinctiveringdetection option work again. (issue #9823 reported by premeau)

........

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

16 years ago- Don't re-invent existing headers (some already existed in chan_sip)
Olle Johansson [Mon, 28 May 2007 18:50:18 +0000 (18:50 +0000)]
- Don't re-invent existing headers (some already existed in chan_sip)
- Rename command so taht module name comes first

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

16 years agoIssue 7021 - Add ICONV function for converting between character sets
Tilghman Lesher [Mon, 28 May 2007 15:59:17 +0000 (15:59 +0000)]
Issue 7021 - Add ICONV function for converting between character sets

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

16 years agoBlocked revisions 66244 via svnmerge
Jason Parker [Sun, 27 May 2007 04:15:06 +0000 (04:15 +0000)]
Blocked revisions 66244 via svnmerge

........
r66244 | qwell | 2007-05-26 23:12:37 -0500 (Sat, 26 May 2007) | 4 lines

I don't know what this was trying to do, but it's clearly incorrect.

Issues 9808 and 9809.

........

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

16 years agoUnlock the minivmlock when no configuration is found. (issue #9814 reported by eliel)
Joshua Colp [Sat, 26 May 2007 19:35:33 +0000 (19:35 +0000)]
Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel)

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

16 years agoSince this code now uses the API call for creating a detached thread, there
Russell Bryant [Sat, 26 May 2007 06:07:38 +0000 (06:07 +0000)]
Since this code now uses the API call for creating a detached thread, there
is no reason to keep a thread attribute structure on the conference structure.
(Pointed out by Tony Mountifield on the asterisk-dev list)

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

16 years agoblock change that is already here
Kevin P. Fleming [Fri, 25 May 2007 15:08:48 +0000 (15:08 +0000)]
block change that is already here

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