asterisk/asterisk.git
12 years agoIncorporate the ability to log output of safe_asterisk to syslog (closes issue #9882)
Tilghman Lesher [Thu, 6 Sep 2007 16:57:20 +0000 (16:57 +0000)]
Incorporate the ability to log output of safe_asterisk to syslog (closes issue #9882)

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

12 years agoPatch on 10575. Add support for unequipped CIC (UCIC) message as well as improve...
Matthew Fredrickson [Thu, 6 Sep 2007 16:38:54 +0000 (16:38 +0000)]
Patch on 10575.  Add support for unequipped CIC (UCIC) message as well as improve some of our CIC flags in chan_zap

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

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

........
r81713 | mmichelson | 2007-09-06 11:25:40 -0500 (Thu, 06 Sep 2007) | 6 lines

Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone
was ringing.

(closes issue #10655, reported by strider2k, patched by me)

........

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

12 years agovarious changes to the documentation, and redefinition of
Luigi Rizzo [Thu, 6 Sep 2007 15:43:49 +0000 (15:43 +0000)]
various changes to the documentation, and redefinition of
ao2_hash_fn and ao2_callback_fn typedefs, in preparation
to more cleanup of the _search_flags

Please do not merge this change to 1.4 yet - there are no
functional changes anyways.

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

12 years agoMerged revisions 81682 via svnmerge from
Mark Michelson [Thu, 6 Sep 2007 15:21:45 +0000 (15:21 +0000)]
Merged revisions 81682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81682 | mmichelson | 2007-09-06 10:20:36 -0500 (Thu, 06 Sep 2007) | 5 lines

Fixes a memory leak

(closes issue #10658, reported and patched by Ivan)

........

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

12 years agoMerged revisions 81650 via svnmerge from
Philippe Sultan [Thu, 6 Sep 2007 14:24:29 +0000 (14:24 +0000)]
Merged revisions 81650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81650 | phsultan | 2007-09-06 16:20:54 +0200 (Thu, 06 Sep 2007) | 3 lines

According to both RFC 3920 - section 9.1.2 - and Google's XMPP server
complaint, if set, the 'from' attribute must be set to the user's full
JID.
........

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

12 years agoNot having this epoll specific code in wait_for_answer was causing app_queue to infin...
Mark Michelson [Wed, 5 Sep 2007 21:59:52 +0000 (21:59 +0000)]
Not having this epoll specific code in wait_for_answer was causing app_queue to infinitely loop.
This makes it so it doesn't. Thanks to file for pointing out where the problem was and showing
a similar function in app_dial as an example of how to fix it.

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

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

........
r81569 | tilghman | 2007-09-05 12:18:24 -0500 (Wed, 05 Sep 2007) | 2 lines

Solaris x86 compatibility fix

........

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

12 years agoadded ZAPATELLERSTATUS to app_zapateller
Dwayne M. Hubbard [Wed, 5 Sep 2007 20:58:48 +0000 (20:58 +0000)]
added ZAPATELLERSTATUS to app_zapateller

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

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

........
r81599 | russell | 2007-09-05 15:53:41 -0500 (Wed, 05 Sep 2007) | 11 lines

Fix an issue that can occur when you do an attended transfer to parking.  If
you complete the transfer before the announcement of the parking spot finishes,
then the channel being parked will hear the remainder of the announcement.
These changes make it so that will not happen anymore.

Basically, res_features sets a flag on the channel is playing the announcement
to so that the file streaming core knows that it needs to watch out for a
channel masquerade, and if it occurs, to abort the announcement.

(closes BE-182)

........

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

12 years agoAdd two more generated files (requested by mvanbaak via irc)
Tilghman Lesher [Wed, 5 Sep 2007 16:48:43 +0000 (16:48 +0000)]
Add two more generated files (requested by mvanbaak via irc)

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

12 years agoDoxygen cleanups/fixes.
Jason Parker [Wed, 5 Sep 2007 16:31:39 +0000 (16:31 +0000)]
Doxygen cleanups/fixes.

Closes issue #10654, patch by snuffy

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

12 years agoWeird. When I merged my changes from 1.4, they merged into the wrong function.
Mark Michelson [Wed, 5 Sep 2007 15:32:58 +0000 (15:32 +0000)]
Weird. When I merged my changes from 1.4, they merged into the wrong function.
This should fix the build for trunk.

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

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

........
r81525 | mmichelson | 2007-09-05 10:19:47 -0500 (Wed, 05 Sep 2007) | 4 lines

Fixing the build...

........

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

12 years agoMerged revisions 81523 via svnmerge from
Jason Parker [Wed, 5 Sep 2007 15:16:50 +0000 (15:16 +0000)]
Merged revisions 81523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10651)
........
r81523 | qwell | 2007-09-05 10:14:30 -0500 (Wed, 05 Sep 2007) | 5 lines

Do not try to unregister a NULL channel tech.
Also changed load_module function to use defines rather than numbers for return values.

Issue 10651, patch by rbraun_proformatique, with additions by me.

........

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

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

........
r81520 | mmichelson | 2007-09-05 10:03:22 -0500 (Wed, 05 Sep 2007) | 6 lines

Reverting behavior of QUEUE_MEMBER_COUNT to only count members who are logged in
and available.

(related to issue #10652, reported by wuwu)

........

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

12 years agothis set of changes fixes issue # 10643 by keeping track of the last object defined...
Steve Murphy [Wed, 5 Sep 2007 14:47:45 +0000 (14:47 +0000)]
this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.

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

12 years agoBlocked revisions 81492 via svnmerge
Joshua Colp [Wed, 5 Sep 2007 13:13:02 +0000 (13:13 +0000)]
Blocked revisions 81492 via svnmerge

........
r81492 | file | 2007-09-05 10:11:48 -0300 (Wed, 05 Sep 2007) | 4 lines

(closes issue #10650)
Reported by: tacvbo
Only print out that the spy was removed while holding the spy lock.

........

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

12 years agoFinish up commit from revision 81452 by removing last remnants of strlcat/strlcpy...
Joshua Colp [Wed, 5 Sep 2007 00:53:14 +0000 (00:53 +0000)]
Finish up commit from revision 81452 by removing last remnants of strlcat/strlcpy checks.

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

12 years agoMerged revisions 81455 via svnmerge from
Jason Parker [Tue, 4 Sep 2007 20:59:04 +0000 (20:59 +0000)]
Merged revisions 81455 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10634)
........
r81455 | qwell | 2007-09-04 15:54:51 -0500 (Tue, 04 Sep 2007) | 4 lines

Rather than attempt to play a file, we can just check whether it exists.

Issue 10634, patch by me, testing by pabelanger, sanity checked by bweschke

........

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

12 years agoMerged revisions 81453 via svnmerge from
Jason Parker [Tue, 4 Sep 2007 19:56:46 +0000 (19:56 +0000)]
Merged revisions 81453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10644)
........
r81453 | qwell | 2007-09-04 14:56:06 -0500 (Tue, 04 Sep 2007) | 4 lines

Change default followme config file to point to the correct files.

Issue 10644, patch by pabelanger

........

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

12 years agoDon't check for and include strlcpy and strlcat in editline. We also include
Russell Bryant [Tue, 4 Sep 2007 19:51:37 +0000 (19:51 +0000)]
Don't check for and include strlcpy and strlcat in editline.  We also include
them directly in Asterisk.  For platforms that need them (like my mac), you
will get a linker error due to the functions being included twice.

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

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

........
r81448 | russell | 2007-09-04 13:37:44 -0500 (Tue, 04 Sep 2007) | 4 lines

Remove the typedefs on ao2_container and ao2_iterator.  This is simply because
we don't typedef objects anywhere else in Asterisk, so we might as well make
this follow the same convention.

........

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

12 years agologger.h depends on options.h, so go ahead and include it
Russell Bryant [Tue, 4 Sep 2007 18:02:02 +0000 (18:02 +0000)]
logger.h depends on options.h, so go ahead and include it

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

12 years agoMerged revisions 81442 via svnmerge from
Kevin P. Fleming [Tue, 4 Sep 2007 16:41:14 +0000 (16:41 +0000)]
Merged revisions 81442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81442 | kpfleming | 2007-09-04 11:40:39 -0500 (Tue, 04 Sep 2007) | 2 lines

there is no point in sending 401 Unauthorized to a UAS that sent us a properly-formatted Authentication header with the expected username and nonce but an incorrect response (which indicates the shared secret does not match)... instead, let's send 403 Forbidden so that the UAS doesn't retry with the same authentication credentials repeatedly

........

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

12 years ago(closes issue #10633)
Joshua Colp [Tue, 4 Sep 2007 14:28:13 +0000 (14:28 +0000)]
(closes issue #10633)
Reported by: pabelanger
Patches:
      extensions.ael.sample.patch uploaded by pabelanger (license 224)
Update extensions.ael.sample with voicemail and | changes.

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

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

........
r81439 | file | 2007-09-04 11:23:18 -0300 (Tue, 04 Sep 2007) | 6 lines

(closes issue #10632)
Reported by: jamesgolovich
Patches:
      asterisk-iaxfirmwareleak.diff.txt uploaded by jamesgolovich (license 176)
Fix memory leak when unloading chan_iax2. The firmware files were not being freed.

........

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

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

........
r81437 | file | 2007-09-04 10:46:23 -0300 (Tue, 04 Sep 2007) | 4 lines

(closes issue #10476)
Reported by: mdu113
Only look for the end of a digit when waiting for a digit. This in turn disables emulation in the core.

........

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

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

........
r81435 | file | 2007-09-04 10:10:56 -0300 (Tue, 04 Sep 2007) | 7 lines

(closes issue #10610)
Reported by: john
Patches:
      dns.c.patch uploaded by john (license 218)
Tested by: mvanbaak
Don't return a match if no SRV record actually exists.

........

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

12 years agoMerged revisions 81433 via svnmerge from
Russell Bryant [Mon, 3 Sep 2007 18:59:08 +0000 (18:59 +0000)]
Merged revisions 81433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81433 | russell | 2007-09-03 13:57:53 -0500 (Mon, 03 Sep 2007) | 5 lines

Remove a couple of calls to ast_string_field_free_pools() on peers in error
handling blocks in the code for building peers.  The peer object destructor
does this and doing it twice will cause a crash.
(closes issue #10625, reported by and patched by pnlarsson)

........

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

12 years agoOnce we get past the file checks, we're loading, so clear the FILEUNCHANGED flag...
Tilghman Lesher [Mon, 3 Sep 2007 18:01:58 +0000 (18:01 +0000)]
Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)

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

12 years agoMerged revisions 81415 via svnmerge from
Tilghman Lesher [Mon, 3 Sep 2007 03:01:31 +0000 (03:01 +0000)]
Merged revisions 81415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81415 | tilghman | 2007-08-31 14:16:52 -0500 (Fri, 31 Aug 2007) | 2 lines

The IF() function was not allowing true values that had embedded colons (closes issue #10613)

........

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

12 years agoWe shouldn't use a filename blindly without checking to make sure it's unused first
Tilghman Lesher [Sun, 2 Sep 2007 14:37:53 +0000 (14:37 +0000)]
We shouldn't use a filename blindly without checking to make sure it's unused first

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

12 years agoMerged revisions 81426 via svnmerge from
Mark Michelson [Sat, 1 Sep 2007 06:03:22 +0000 (06:03 +0000)]
Merged revisions 81426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81426 | mmichelson | 2007-09-01 01:02:06 -0500 (Sat, 01 Sep 2007) | 4 lines

Making match_by_addr into ao2_match_by_addr and making it available
everywhere since it could be a handy callback to have

........

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

12 years agoMerged revisions 81418 via svnmerge from
Russell Bryant [Fri, 31 Aug 2007 21:29:25 +0000 (21:29 +0000)]
Merged revisions 81418 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81418 | russell | 2007-08-31 16:27:49 -0500 (Fri, 31 Aug 2007) | 2 lines

Remove references to a debugging parameter that does not exist

........

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

12 years agoMerged revisions 81416 via svnmerge from
Mark Michelson [Fri, 31 Aug 2007 19:50:26 +0000 (19:50 +0000)]
Merged revisions 81416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81416 | mmichelson | 2007-08-31 14:48:55 -0500 (Fri, 31 Aug 2007) | 6 lines

Fixed broken behavior of a reload on realtime queues. Prior to this patch, if a reload was issued and
a realtime queue had callers waiting in it, then the queue would be removed from the queue list, but it would
not actually be freed (in fact, a debug message warning about a memory leak would come up). With this patch,
reloads do not touch realtime queues at all.

........

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

12 years agoMerged revisions 81412 via svnmerge from
Jason Parker [Fri, 31 Aug 2007 18:46:02 +0000 (18:46 +0000)]
Merged revisions 81412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10621)
........
r81412 | qwell | 2007-08-31 13:44:44 -0500 (Fri, 31 Aug 2007) | 4 lines

Re-order dial options to be in line with the existing alpha order.

Issue 10621, initial patch by junky

........

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

12 years agoMerged revisions 81410 via svnmerge from
Philippe Sultan [Fri, 31 Aug 2007 17:43:50 +0000 (17:43 +0000)]
Merged revisions 81410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81410 | phsultan | 2007-08-31 19:38:26 +0200 (Fri, 31 Aug 2007) | 3 lines

Make the 'gtalk show channels' CLI command available.

Closes issue 10548, reported by keepitcool.
........

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

12 years agoMerged revisions 81405 via svnmerge from
Kevin P. Fleming [Fri, 31 Aug 2007 15:58:31 +0000 (15:58 +0000)]
Merged revisions 81405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81405 | kpfleming | 2007-08-31 10:51:45 -0500 (Fri, 31 Aug 2007) | 2 lines

add missing "transcoder show" (and deprecated "show transcoder") CLI commands that were in 1.2 but never added to 1.4

........

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

12 years agoMerged revisions 81406 via svnmerge from
Joshua Colp [Fri, 31 Aug 2007 15:54:32 +0000 (15:54 +0000)]
Merged revisions 81406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81406 | file | 2007-08-31 12:53:16 -0300 (Fri, 31 Aug 2007) | 2 lines

Make it the engine's responsible to check for the presence of results.

........

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

12 years agoMerged revisions 81403 via svnmerge from
Joshua Colp [Fri, 31 Aug 2007 14:40:21 +0000 (14:40 +0000)]
Merged revisions 81403 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81403 | file | 2007-08-31 11:38:59 -0300 (Fri, 31 Aug 2007) | 4 lines

(closes issue #10618)
Reported by: dimas
Don't pass through the stopped sounds frame.... just drop it.

........

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

12 years agoMerged revisions 81401 via svnmerge from
Joshua Colp [Thu, 30 Aug 2007 23:55:39 +0000 (23:55 +0000)]
Merged revisions 81401 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81401 | file | 2007-08-30 20:53:41 -0300 (Thu, 30 Aug 2007) | 4 lines

(closes issue #10009)
Reported by: dimas
Don't output a bridge failed warning message if it failed because one of the channels was part of the masquerade process. That is perfectly normal.

........

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

12 years agoAdd new queryable fields from zaptel to 'zap show status'
Tilghman Lesher [Thu, 30 Aug 2007 23:52:32 +0000 (23:52 +0000)]
Add new queryable fields from zaptel to 'zap show status'

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

12 years agoMerged revisions 81397 via svnmerge from
Mark Michelson [Thu, 30 Aug 2007 22:08:51 +0000 (22:08 +0000)]
Merged revisions 81397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81397 | mmichelson | 2007-08-30 17:05:56 -0500 (Thu, 30 Aug 2007) | 7 lines

Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the
streaming functions will report it. Secondly, not all non-zero returns from play_file mean that the announce file
wasn't found. Positive return values simply mean that a digit was pressed (most likely to skip through the announcement).

(closes issue #10612, reported and patched by dimas)

........

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

12 years agoMerged revisions 81395 via svnmerge from
Joshua Colp [Thu, 30 Aug 2007 21:25:52 +0000 (21:25 +0000)]
Merged revisions 81395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81395 | file | 2007-08-30 18:23:50 -0300 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10514)
Reported by: casper
Patches:
      chan_sip.c.80129.diff uploaded by casper (license 55)
Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible for it to ever be that value.

........

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

12 years ago(closes issue #10565)
Joshua Colp [Thu, 30 Aug 2007 21:17:21 +0000 (21:17 +0000)]
(closes issue #10565)
Reported by: tootai
Make sure the external IP address has the standard SIP port set for when the user does not specify the port in the externip setting.

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

12 years agoMerged revisions 81392 via svnmerge from
Steve Murphy [Thu, 30 Aug 2007 21:16:20 +0000 (21:16 +0000)]
Merged revisions 81392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81392 | murf | 2007-08-30 15:11:48 -0600 (Thu, 30 Aug 2007) | 1 line

via issue 10599, where 'CDR already initialized' messages are being generated. Since all channels will have an init'd CDR attached at creation time, this message is now particularly useless. Removed.
........

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

12 years ago(closes issue #10336)
Joshua Colp [Thu, 30 Aug 2007 20:55:19 +0000 (20:55 +0000)]
(closes issue #10336)
Reported by: junky
Patches:
      minivm_output2.diff uploaded by junky (license 177)
Change console output of minivm show stats to be more simple for external parsing.

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

12 years agoA schedule id of 0 is not possible and is used to flag that we want to add a new...
Tilghman Lesher [Thu, 30 Aug 2007 20:31:45 +0000 (20:31 +0000)]
A schedule id of 0 is not possible and is used to flag that we want to add a new item

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

12 years agoChange wording as requested by Kevin
Tilghman Lesher [Thu, 30 Aug 2007 19:43:36 +0000 (19:43 +0000)]
Change wording as requested by Kevin

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

12 years agoAdded note to sample queues.conf file to line up with most recent change regarding...
Mark Michelson [Thu, 30 Aug 2007 18:52:44 +0000 (18:52 +0000)]
Added note to sample queues.conf file to line up with most recent change regarding setinterfacevar.
MEMBERREALTIME indicates whether a member is realtime.

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

12 years agoAlways force reread of the config when we're rotating the log file (closes issue...
Tilghman Lesher [Thu, 30 Aug 2007 17:51:46 +0000 (17:51 +0000)]
Always force reread of the config when we're rotating the log file (closes issue #10598)

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

12 years agoMerged revisions 81383 via svnmerge from
Russell Bryant [Thu, 30 Aug 2007 15:40:18 +0000 (15:40 +0000)]
Merged revisions 81383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81383 | russell | 2007-08-30 10:38:29 -0500 (Thu, 30 Aug 2007) | 3 lines

Add missing checks for the PTRACING define.
(closes issue #10559, paravoid)

........

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

12 years agoMerged revisions 81381 via svnmerge from
Mark Michelson [Thu, 30 Aug 2007 15:36:43 +0000 (15:36 +0000)]
Merged revisions 81381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81381 | mmichelson | 2007-08-30 10:35:51 -0500 (Thu, 30 Aug 2007) | 3 lines

Changed some manager event messages to reflect whether a queue member is a realtime member or not

........

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

12 years agoMerged revisions 81379 via svnmerge from
Russell Bryant [Thu, 30 Aug 2007 15:34:18 +0000 (15:34 +0000)]
Merged revisions 81379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81379 | russell | 2007-08-30 10:33:48 -0500 (Thu, 30 Aug 2007) | 3 lines

Fix a typo, update a reload command, and remove an unused configuration file.
(closes issue #10606, casper)

........

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

12 years agoAdd ReadExten app and VALID_EXTEN function (closes issue #10082)
Tilghman Lesher [Thu, 30 Aug 2007 15:24:54 +0000 (15:24 +0000)]
Add ReadExten app and VALID_EXTEN function (closes issue #10082)

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

12 years agoBlocked revisions 81375 via svnmerge
Joshua Colp [Thu, 30 Aug 2007 14:55:25 +0000 (14:55 +0000)]
Blocked revisions 81375 via svnmerge

........
r81375 | file | 2007-08-30 11:53:43 -0300 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10603)
Reported by: jmls
Patches:
      pbx.diff uploaded by jmls (license 141)
Backport changes from 81372. Add REASON dialplan variable for when an originated call fails and the failed extension is executed.

........

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

12 years agoMerged revisions 81373 via svnmerge from
Christian Richter [Thu, 30 Aug 2007 14:54:30 +0000 (14:54 +0000)]
Merged revisions 81373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81373 | crichter | 2007-08-30 16:43:33 +0200 (Do, 30 Aug 2007) | 1 line

Fixed some warnings.
........

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

12 years ago(closes issue #10603)
Joshua Colp [Thu, 30 Aug 2007 14:42:41 +0000 (14:42 +0000)]
(closes issue #10603)
Reported by: jmls
Patches:
      pbx.diff uploaded by jmls (license 141)
Add REASON dialplan variable for when an originated call fails and the failed extension is executed.

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

12 years agoMerged revisions 81369 via svnmerge from
Joshua Colp [Thu, 30 Aug 2007 14:26:05 +0000 (14:26 +0000)]
Merged revisions 81369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81369 | file | 2007-08-30 11:23:40 -0300 (Thu, 30 Aug 2007) | 4 lines

(issue #10599)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

........

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

12 years agoMerged revisions 81367 via svnmerge from
Christian Richter [Thu, 30 Aug 2007 08:50:44 +0000 (08:50 +0000)]
Merged revisions 81367 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81367 | crichter | 2007-08-30 10:31:59 +0200 (Do, 30 Aug 2007) | 11 lines

Fixed a severe issue where a misdn_read would lock the channel, but read would
not return because it blocks. later chan_misdn would try to queue a frame like
a AST_CONTROL_ANSWER which could result in a deadlock situation. misdn_read
will now not block forever anymore, and we don't queue the ANSWER frame at all
when we already was called with misdn_answer -> answer would be called twice.

Also we don't explicitly send a RELEASE_COMPLETE on receiption of a RELEASE
anymore, because mISDN does that for us, this resulted in a problem on some
switches, which would block our port after some calls for a short while.

........

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

12 years agoAdded the MEMBERREALTIME variable when using setinterfacevar in queues.conf
Mark Michelson [Wed, 29 Aug 2007 22:05:37 +0000 (22:05 +0000)]
Added the MEMBERREALTIME variable when using setinterfacevar in queues.conf

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

12 years agoMake the event header file work under C++.
Joshua Colp [Wed, 29 Aug 2007 21:55:15 +0000 (21:55 +0000)]
Make the event header file work under C++.

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

12 years agoinit newer so compile won't complain.
Steve Murphy [Wed, 29 Aug 2007 21:30:26 +0000 (21:30 +0000)]
init newer so compile won't complain.

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

12 years agomake trunk build again. murf will have to review this to see if it was the right...
Russell Bryant [Wed, 29 Aug 2007 21:25:07 +0000 (21:25 +0000)]
make trunk build again.  murf will have to review this to see if it was the right fix, as it is related to his last change.

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

12 years agoThis code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn...
Steve Murphy [Wed, 29 Aug 2007 20:55:40 +0000 (20:55 +0000)]
This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly.  Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.

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

12 years agoTry to clarify the rules on changing ast_event and ast_event_ie
Russell Bryant [Wed, 29 Aug 2007 19:41:16 +0000 (19:41 +0000)]
Try to clarify the rules on changing ast_event and ast_event_ie

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

12 years agoFix parenthesis from my last commit
Russell Bryant [Wed, 29 Aug 2007 19:33:57 +0000 (19:33 +0000)]
Fix parenthesis from my last commit

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

12 years agoChange pointer aritmetic on void * to char *
Russell Bryant [Wed, 29 Aug 2007 18:33:31 +0000 (18:33 +0000)]
Change pointer aritmetic on void * to char *

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

12 years agothere is not actually code that sends these over the network in trunk yet
Russell Bryant [Wed, 29 Aug 2007 18:27:48 +0000 (18:27 +0000)]
there is not actually code that sends these over the network in trunk yet

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

12 years agoMerged revisions 81349 via svnmerge from
Mark Michelson [Wed, 29 Aug 2007 16:39:40 +0000 (16:39 +0000)]
Merged revisions 81349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81349 | mmichelson | 2007-08-29 11:35:29 -0500 (Wed, 29 Aug 2007) | 12 lines

This patch, in essence, will correctly pause a realtime queue member and reflect those
changes in the realtime engine.

(issue #10424, reported by irroot, patch by me)

This patch creates a new function called update_realtime_member_field, which is a generic
function which will allow any one field of a realtime queue member to be updated. This patch
only uses this function to update the paused status of a queue member, but it lays the foundation
for persisting the state of a realtime member the same way that static members' state is maintained
when using the persistentmembers setting

........

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

12 years agoReturn ast_event_get_ie_raw to using an iterator and fix logic in ast_event_iterator_...
Joshua Colp [Wed, 29 Aug 2007 16:25:30 +0000 (16:25 +0000)]
Return ast_event_get_ie_raw to using an iterator and fix logic in ast_event_iterator_next.

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

12 years agoMerged revisions 81346 via svnmerge from
Mark Michelson [Wed, 29 Aug 2007 16:09:02 +0000 (16:09 +0000)]
Merged revisions 81346 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81346 | mmichelson | 2007-08-29 11:08:09 -0500 (Wed, 29 Aug 2007) | 3 lines

Changed some tabs to spaces

........

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

12 years agoThis concludes bringing trunk back to a working state.
Joshua Colp [Wed, 29 Aug 2007 16:07:35 +0000 (16:07 +0000)]
This concludes bringing trunk back to a working state.

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

12 years agoTo keep others happy... revert part of my additions so trunk works.
Joshua Colp [Wed, 29 Aug 2007 16:03:51 +0000 (16:03 +0000)]
To keep others happy... revert part of my additions so trunk works.

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

12 years agoMerged revisions 81342 via svnmerge from
Russell Bryant [Wed, 29 Aug 2007 15:59:10 +0000 (15:59 +0000)]
Merged revisions 81342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81342 | russell | 2007-08-29 10:57:29 -0500 (Wed, 29 Aug 2007) | 3 lines

If chan_h323 is not being built, don't use g++ to do the final link of Asterisk.
(in response to a question on the asterisk-dev list)

........

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

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

........
r81340 | mmichelson | 2007-08-29 10:52:42 -0500 (Wed, 29 Aug 2007) | 8 lines

This fix creates a more accurate way of detecting whether realtime members were deleted.
(closes issue 10541, reported by Alric, patched by me)

The REALLY nice things about this patch is that queue members now have a "realtime" field
which will be true if the member is a realtime member. This means we can check this value
prior to certain processing if it should ONLY be done for realtime members.

........

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

12 years agoChanged one too many variable settings in issue #9315 (closes issue #10592)
Tilghman Lesher [Wed, 29 Aug 2007 15:21:10 +0000 (15:21 +0000)]
Changed one too many variable settings in issue #9315 (closes issue #10592)

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

12 years agoAdd API calls for iterating through an event. This should allow events to have multip...
Joshua Colp [Wed, 29 Aug 2007 15:19:11 +0000 (15:19 +0000)]
Add API calls for iterating through an event. This should allow events to have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one).

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

12 years agoChanging a NOTICE to a DEBUG.
Mark Michelson [Wed, 29 Aug 2007 14:19:33 +0000 (14:19 +0000)]
Changing a NOTICE to a DEBUG.

(closes issue #10591, reported and patched by junky, with small modification by me)

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

12 years agoMerged revisions 81331 via svnmerge from
Joshua Colp [Wed, 29 Aug 2007 14:16:07 +0000 (14:16 +0000)]
Merged revisions 81331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81331 | file | 2007-08-29 11:13:55 -0300 (Wed, 29 Aug 2007) | 4 lines

(closes issue #9690)
Reported by: mattv
Make rtp timeouts work even if two RTP streams are directly bridged in the RTP stack.

........

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

12 years agoAdd inline function for signed linear subtraction.
Joshua Colp [Wed, 29 Aug 2007 02:21:08 +0000 (02:21 +0000)]
Add inline function for signed linear subtraction.

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

12 years agoMerged revisions 81291 via svnmerge from
Russell Bryant [Tue, 28 Aug 2007 21:39:36 +0000 (21:39 +0000)]
Merged revisions 81291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81291 | russell | 2007-08-28 16:38:26 -0500 (Tue, 28 Aug 2007) | 3 lines

Change the message about receiving a mini-frame before the first full voice
frame to a DEBUG message.

........

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

12 years agoAdd some read/write locking magic to make logger reload operate again.
Joshua Colp [Tue, 28 Aug 2007 21:35:20 +0000 (21:35 +0000)]
Add some read/write locking magic to make logger reload operate again.

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

12 years agoSupport better rotation of log files to be more like system logging (closes issue...
Tilghman Lesher [Tue, 28 Aug 2007 20:03:48 +0000 (20:03 +0000)]
Support better rotation of log files to be more like system logging (closes issue #10398)

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

12 years agoChange the audiohook lock and unlock wrappers to macros instead of inline
Russell Bryant [Tue, 28 Aug 2007 19:12:53 +0000 (19:12 +0000)]
Change the audiohook lock and unlock wrappers to macros instead of inline
functions.  As inline functions, the lock debug information will show that
these are always locked in audiohooks.h instead of the file where the lock was
actually acquired.

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

12 years agoAdd proper channel locking around the uses of datastore_add and _find. There
Russell Bryant [Tue, 28 Aug 2007 18:41:18 +0000 (18:41 +0000)]
Add proper channel locking around the uses of datastore_add and _find.  There
are still more places in the tree that I have not yet changed if someone wants
to go through and find the places they are used without the channel locked.

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

12 years ago* Constify the uid field of channel datastores
Russell Bryant [Tue, 28 Aug 2007 18:32:56 +0000 (18:32 +0000)]
* Constify the uid field of channel datastores
* Convert some spaces to tabs in func_volume
* Add a note in channel.h making it clear that none of the datastore API calls
  lock the channel they are given, so the channel should be locked before
  calling the functions that take a channel argument.

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

12 years ago(closes issue #7852)
Russell Bryant [Tue, 28 Aug 2007 16:28:26 +0000 (16:28 +0000)]
(closes issue #7852)
Reported by: nic_bellamy
Patches:
      2006-10-03_svn_44249_voicemail_lockmode_v3.patch uploaded by nic_bellamy (license 213)

Add support for configurable file locking methods.  The default is "lockfile",
which is the old behavior.  There is an additional option, "flock", which is
intended for use in situations where the lockfile method will not work, such as
with SMB/CIFS mounts.

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

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

........
r81226 | russell | 2007-08-28 10:41:15 -0500 (Tue, 28 Aug 2007) | 2 lines

Add Russian tones.  (closes issue #7953, hanabana)

........

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

12 years ago(closes issue #10579)
Joshua Colp [Tue, 28 Aug 2007 14:37:09 +0000 (14:37 +0000)]
(closes issue #10579)
Reported by: ornati
Make sure the called channel during the attended transfer process becomes associated with the calling channel so that the ast_waitfor_* call works properly under epoll.

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

12 years agoMerged revisions 81189 via svnmerge from
Mark Michelson [Tue, 28 Aug 2007 14:12:55 +0000 (14:12 +0000)]
Merged revisions 81189 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81189 | mmichelson | 2007-08-28 09:12:14 -0500 (Tue, 28 Aug 2007) | 5 lines

Fixes a forwarding problem when using res_config_mysql

(closes issue #10573, reported by chrisvaughan, patch suggested by chrisvaughan as well)

........

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

12 years agoMerged revisions 81158 via svnmerge from
Mark Michelson [Mon, 27 Aug 2007 22:41:00 +0000 (22:41 +0000)]
Merged revisions 81158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81158 | mmichelson | 2007-08-27 17:40:19 -0500 (Mon, 27 Aug 2007) | 5 lines

Resolve a potential deadlock. In this case, a single queue is locked, then the queue list. In changethread(), the queue list is
locked, and then each individual queue is locked. Under the right circumstances, this could deadlock. As such, I have unlocked
the individual queue before locking the queue list, and then locked the queue back after the queue list is unlocked.

........

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

12 years agoMerged revisions 81120 via svnmerge from
Mark Michelson [Mon, 27 Aug 2007 21:09:37 +0000 (21:09 +0000)]
Merged revisions 81120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81120 | mmichelson | 2007-08-27 16:08:48 -0500 (Mon, 27 Aug 2007) | 7 lines

DTMF begin frames should be ignored so that when an agent acks a call with the '#' key,
he doesn't cause a queue's announce file to be interrupted. Also went ahead and did the
same for the '*' key and for ending a call.

(closes issue #10528, reported by deskhack, patched by me)

........

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

12 years agoEnhance Pickup to do native pickupgroup pickup when no arguments are specified (close...
Tilghman Lesher [Mon, 27 Aug 2007 20:55:36 +0000 (20:55 +0000)]
Enhance Pickup to do native pickupgroup pickup when no arguments are specified (closes issue #10404)

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

12 years agoThis should have been trunk only, I guess. oh well ... it's harmless.
Russell Bryant [Mon, 27 Aug 2007 17:44:24 +0000 (17:44 +0000)]
This should have been trunk only, I guess.  oh well ... it's harmless.

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

........
r81065 | russell | 2007-08-27 11:38:33 -0500 (Mon, 27 Aug 2007) | 1 line

explicity define a variable as a boolean
........

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

12 years agoMerged revisions 81074 via svnmerge from
Russell Bryant [Mon, 27 Aug 2007 17:28:14 +0000 (17:28 +0000)]
Merged revisions 81074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81074 | russell | 2007-08-27 12:27:48 -0500 (Mon, 27 Aug 2007) | 3 lines

Add a \todo to note that this module leaks most of the memory it allocates on
unload and should be fixed (when I'm not in the middle of something else ...).

........

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

12 years agoMerged revisions 81042 via svnmerge from
Russell Bryant [Mon, 27 Aug 2007 16:16:56 +0000 (16:16 +0000)]
Merged revisions 81042 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81042 | russell | 2007-08-27 11:16:25 -0500 (Mon, 27 Aug 2007) | 11 lines

(closes issue #10419)
Reported by: mustardman
Patches:
      asterisk-mohposition.diff.txt uploaded by jamesgolovich (license 176)

This patch fixes a few problems with music on hold.
 * Fix issues with starting at the beginning of a file when it shouldn't.
 * Fix the inuse counter to be decremented even if the class had not been
   set to be deleted when not in use anymore
 * Don't arbitrarily limit the number of MOH files to 255

........

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

12 years agoMerged revisions 81012 via svnmerge from
Joshua Colp [Mon, 27 Aug 2007 15:03:41 +0000 (15:03 +0000)]
Merged revisions 81012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81012 | file | 2007-08-27 12:01:59 -0300 (Mon, 27 Aug 2007) | 6 lines

(closes issue #10561)
Reported by: jesselang
Patches:
      chan_sip-ChannelReload-20080825.patch uploaded by jesselang (license 202)
Remove an extra \r\n to make the ChannelReload event conform with every other event.

........

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

12 years agoMerged revisions 81010 via svnmerge from
Mark Michelson [Mon, 27 Aug 2007 14:56:50 +0000 (14:56 +0000)]
Merged revisions 81010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81010 | mmichelson | 2007-08-27 09:55:44 -0500 (Mon, 27 Aug 2007) | 3 lines

Found a case where the queue's membercount is off. It does not take into account dynamic members on a reload.

........

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