asterisk/asterisk.git
17 years agosupport sending text through agent channels (issue #5295)
Kevin P. Fleming [Fri, 14 Oct 2005 00:46:13 +0000 (00:46 +0000)]
support sending text through agent channels (issue #5295)

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

17 years agoinitialize variable
Kevin P. Fleming [Fri, 14 Oct 2005 00:45:38 +0000 (00:45 +0000)]
initialize variable

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

17 years agoDon't wait for channels to answer before moving on!
Mark Spencer [Fri, 14 Oct 2005 00:23:47 +0000 (00:23 +0000)]
Don't wait for channels to answer before moving on!

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

17 years agoensure Dial() options are sorted in help output (issue #5386)
Kevin P. Fleming [Fri, 14 Oct 2005 00:11:50 +0000 (00:11 +0000)]
ensure Dial() options are sorted in help output (issue #5386)

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

17 years agoensure that message envelopes are retrieved from ODBC storage when advanced options...
Kevin P. Fleming [Fri, 14 Oct 2005 00:08:24 +0000 (00:08 +0000)]
ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393)

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

17 years agoadd "hello-world" prompt, courtesy of Jared Smith :)
Russell Bryant [Fri, 14 Oct 2005 00:07:14 +0000 (00:07 +0000)]
add "hello-world" prompt, courtesy of Jared Smith :)

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

17 years agouse existing sample size in frame instead of recalculating it (issue #5390)
Kevin P. Fleming [Fri, 14 Oct 2005 00:03:41 +0000 (00:03 +0000)]
use existing sample size in frame instead of recalculating it (issue #5390)

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

17 years agoensure that parking context/extension (and other settings) are properly updated on...
Kevin P. Fleming [Thu, 13 Oct 2005 23:58:33 +0000 (23:58 +0000)]
ensure that parking context/extension (and other settings) are properly updated on reload (issue #5401)

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

17 years agomake DISA() use 'i' extension if it exists (issue #5439 with mods)
Kevin P. Fleming [Thu, 13 Oct 2005 23:52:42 +0000 (23:52 +0000)]
make DISA() use 'i' extension if it exists (issue #5439 with mods)

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

17 years agodon't force CLID to be a phone-number-looking-thingie (issue #5325)
Kevin P. Fleming [Thu, 13 Oct 2005 23:48:12 +0000 (23:48 +0000)]
don't force CLID to be a phone-number-looking-thingie (issue #5325)

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

17 years agouse English states in 'show hints' CLI command
Kevin P. Fleming [Thu, 13 Oct 2005 23:35:57 +0000 (23:35 +0000)]
use English states in 'show hints' CLI command

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

17 years agodon't try to send events to dead sessions
Kevin P. Fleming [Thu, 13 Oct 2005 23:29:24 +0000 (23:29 +0000)]
don't try to send events to dead sessions

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

17 years agodocument that CLID matching is not available for realtime extensions
Kevin P. Fleming [Thu, 13 Oct 2005 23:19:37 +0000 (23:19 +0000)]
document that CLID matching is not available for realtime extensions

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

17 years agoremove unused variable
Kevin P. Fleming [Thu, 13 Oct 2005 23:15:30 +0000 (23:15 +0000)]
remove unused variable

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

17 years agoadd auto-monitor support (issue #5411)
Kevin P. Fleming [Thu, 13 Oct 2005 23:14:19 +0000 (23:14 +0000)]
add auto-monitor support (issue #5411)

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

17 years agoFix the ordering of the sscanfs for SDP parsing (bug #AT&T)
Mark Spencer [Thu, 13 Oct 2005 22:56:53 +0000 (22:56 +0000)]
Fix the ordering of the sscanfs for SDP parsing (bug #AT&T)

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

17 years agoensure that priorityjumping option returns to its default during reload if it is...
Kevin P. Fleming [Thu, 13 Oct 2005 22:55:28 +0000 (22:55 +0000)]
ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf

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

17 years agoFix naming on realtime peers (bug #5421)
Mark Spencer [Thu, 13 Oct 2005 22:48:11 +0000 (22:48 +0000)]
Fix naming on realtime peers (bug #5421)

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

17 years agoupdate docs to reflect that priority jumping only occurs when the global
Russell Bryant [Thu, 13 Oct 2005 22:43:46 +0000 (22:43 +0000)]
update docs to reflect that priority jumping only occurs when the global
option is enabled

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

17 years agoFix crash in chanspy (bug #5332)
Mark Spencer [Thu, 13 Oct 2005 22:10:16 +0000 (22:10 +0000)]
Fix crash in chanspy (bug #5332)

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

17 years agoclean up pedantic mode tag handling (issue #5125)
Kevin P. Fleming [Thu, 13 Oct 2005 22:03:53 +0000 (22:03 +0000)]
clean up pedantic mode tag handling (issue #5125)

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

17 years agoproperly display connected channel name in 'agents' manager action for non-callback...
Kevin P. Fleming [Thu, 13 Oct 2005 21:59:25 +0000 (21:59 +0000)]
properly display connected channel name in 'agents' manager action for non-callback agents (issue #5235)

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

17 years agoremove unused manager header (issue #5438)
Russell Bryant [Thu, 13 Oct 2005 21:20:53 +0000 (21:20 +0000)]
remove unused manager header (issue #5438)

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

17 years agoDisplay proper error for matching domain registers (bug #5412)
Mark Spencer [Thu, 13 Oct 2005 20:43:33 +0000 (20:43 +0000)]
Display proper error for matching domain registers (bug #5412)

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

17 years agoallow manager getvar action to retrieve global variables as well as
Russell Bryant [Thu, 13 Oct 2005 20:30:39 +0000 (20:30 +0000)]
allow manager getvar action to retrieve global variables as well as
channel variables (issue #5429)

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

17 years agore-bind the socket if the bindaddr option is changed during reload (issue #5435)
Russell Bryant [Thu, 13 Oct 2005 20:17:21 +0000 (20:17 +0000)]
re-bind the socket if the bindaddr option is changed during reload (issue #5435)

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

17 years agoLog timeouts in queues when the call timeout is set from the dialplan (Bug #5422)
Josh Roberson [Thu, 13 Oct 2005 20:16:50 +0000 (20:16 +0000)]
Log timeouts in queues when the call timeout is set from the dialplan (Bug #5422)

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

17 years agosend "100 Trying" when we receive PROCEEDING, unless "183 Session Progress" has alrea...
Kevin P. Fleming [Thu, 13 Oct 2005 20:04:38 +0000 (20:04 +0000)]
send "100 Trying" when we receive PROCEEDING, unless "183 Session Progress" has already been sent

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

17 years agoFix call timeouts with rtp bridge etc (bug #5252)
Mark Spencer [Thu, 13 Oct 2005 18:27:54 +0000 (18:27 +0000)]
Fix call timeouts with rtp bridge etc (bug #5252)

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

17 years agofix typo in function name (issue #5437)
Russell Bryant [Thu, 13 Oct 2005 18:01:31 +0000 (18:01 +0000)]
fix typo in function name (issue #5437)

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

17 years agoFix seg in chan_agent (bug #5402)
Mark Spencer [Thu, 13 Oct 2005 16:29:49 +0000 (16:29 +0000)]
Fix seg in chan_agent (bug #5402)

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

17 years agoFix ael if, while, else (bug #5370)
Mark Spencer [Thu, 13 Oct 2005 15:36:29 +0000 (15:36 +0000)]
Fix ael if, while, else (bug #5370)

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

17 years agomake new app conform to coding guidelines :-(
Kevin P. Fleming [Thu, 13 Oct 2005 13:14:03 +0000 (13:14 +0000)]
make new app conform to coding guidelines :-(

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

17 years agoMake sure paging can be duplex if necessary
Mark Spencer [Thu, 13 Oct 2005 05:37:49 +0000 (05:37 +0000)]
Make sure paging can be duplex if necessary

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

17 years agoFix "bug" of not being able to page multiple phones
Mark Spencer [Wed, 12 Oct 2005 22:56:53 +0000 (22:56 +0000)]
Fix "bug" of not being able to page multiple phones

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

17 years agofix some formatting and add some comments (issue #5403)
Russell Bryant [Wed, 12 Oct 2005 20:45:18 +0000 (20:45 +0000)]
fix some formatting and add some comments (issue #5403)

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

17 years agoBack out improper freeing of variables
Mark Spencer [Wed, 12 Oct 2005 20:18:13 +0000 (20:18 +0000)]
Back out improper freeing of variables

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

17 years agoFix "screen" for network numbers (bug #5432)
Mark Spencer [Wed, 12 Oct 2005 14:40:04 +0000 (14:40 +0000)]
Fix "screen" for network numbers (bug #5432)

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

17 years agoDo *not* default to a max number of registration attempts
Mark Spencer [Wed, 12 Oct 2005 05:43:21 +0000 (05:43 +0000)]
Do *not* default to a max number of registration attempts

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

17 years agoDon't override calling presentation if *name* is present (bug #5405)
Mark Spencer [Wed, 12 Oct 2005 05:12:43 +0000 (05:12 +0000)]
Don't override calling presentation if *name* is present (bug #5405)

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

17 years agoHandle yet some SIP contact issue nuances and exceptions (bug #5289 with mods and...
Mark Spencer [Wed, 12 Oct 2005 04:59:58 +0000 (04:59 +0000)]
Handle yet some SIP contact issue nuances and exceptions (bug #5289 with mods and rant)

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

17 years agoFix noncecount update (bug #5308, redone fix)
Mark Spencer [Wed, 12 Oct 2005 04:35:10 +0000 (04:35 +0000)]
Fix noncecount update (bug #5308, redone fix)

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

17 years agofinish commit bug 5427 (sip.conf.sample deserves to be updated too)
Josh Roberson [Wed, 12 Oct 2005 01:46:42 +0000 (01:46 +0000)]
finish commit bug 5427 (sip.conf.sample deserves to be updated too)

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

17 years agoprovide the correct string to evaluate with the given regex, instead of the
Russell Bryant [Wed, 12 Oct 2005 01:09:04 +0000 (01:09 +0000)]
provide the correct string to evaluate with the given regex, instead of the
entire string provided as input to the REGEX function..  Also, use the
provided buffer to store the result.

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

17 years agoFix directed pickup to a call that is up (bug #5425 with mods)
Mark Spencer [Tue, 11 Oct 2005 21:08:26 +0000 (21:08 +0000)]
Fix directed pickup to a call that is up (bug #5425 with mods)

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

17 years agoallow semicolons to be escaped in call files (issue #5407)
Russell Bryant [Tue, 11 Oct 2005 20:52:37 +0000 (20:52 +0000)]
allow semicolons to be escaped in call files (issue #5407)

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

17 years agoFix memory leak in outbound calls (bug #5406, with mods)
Mark Spencer [Tue, 11 Oct 2005 20:44:23 +0000 (20:44 +0000)]
Fix memory leak in outbound calls (bug #5406, with mods)

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

17 years agofix command listing for top level CLI commands (issue #5416)
Russell Bryant [Tue, 11 Oct 2005 20:20:40 +0000 (20:20 +0000)]
fix command listing for top level CLI commands (issue #5416)

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

17 years agocapitalize dialplan function
Russell Bryant [Tue, 11 Oct 2005 03:49:15 +0000 (03:49 +0000)]
capitalize dialplan function

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

17 years agoMerge ChangeLog from the v1-0 branch and begin a major feature addition list
Russell Bryant [Mon, 10 Oct 2005 04:14:59 +0000 (04:14 +0000)]
Merge ChangeLog from the v1-0 branch and begin a major feature addition list
for 1.2.  I know this list is very incomplete so anyone that would like to help
add stuff, please contact me.  (No, 1.0.10 hasn't been released.  That is going
to come out with 1.2).

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

17 years agofix a typo, oops!
Russell Bryant [Sat, 8 Oct 2005 17:08:44 +0000 (17:08 +0000)]
fix a typo, oops!

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

17 years agodon't check 'acknowledged' for setting lastdisc, since it's guaranteed to be zero...
Kevin P. Fleming [Wed, 5 Oct 2005 21:27:38 +0000 (21:27 +0000)]
don't check 'acknowledged' for setting lastdisc, since it's guaranteed to be zero at this point (issue #5254)

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

17 years agoproperly report hangupcause when ast_request() fails for the last (or only) target...
Kevin P. Fleming [Wed, 5 Oct 2005 21:18:28 +0000 (21:18 +0000)]
properly report hangupcause when ast_request() fails for the last (or only) target of a dial operation (issue #5394, different fix)

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

17 years agocorrect variable header documentation (issue #5397)
Kevin P. Fleming [Wed, 5 Oct 2005 21:12:57 +0000 (21:12 +0000)]
correct variable header documentation (issue #5397)

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

17 years agoclean up some poorly constructed code (issue #5399, with mod to include header file...
Kevin P. Fleming [Wed, 5 Oct 2005 21:11:17 +0000 (21:11 +0000)]
clean up some poorly constructed code (issue #5399, with mod to include header file for ast_copy_string())

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

17 years agofix authentication header extra space (issue #5329)
Kevin P. Fleming [Wed, 5 Oct 2005 01:40:01 +0000 (01:40 +0000)]
fix authentication header extra space (issue #5329)

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

17 years agoadd VMCOUNT() function to replace HasVoicemail/HasNewVoicemail apps (issue #5335)
Kevin P. Fleming [Wed, 5 Oct 2005 01:37:48 +0000 (01:37 +0000)]
add VMCOUNT() function to replace HasVoicemail/HasNewVoicemail apps (issue #5335)

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

17 years agofix timer T1 handling (issue #5330)
Kevin P. Fleming [Wed, 5 Oct 2005 01:31:29 +0000 (01:31 +0000)]
fix timer T1 handling (issue #5330)

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

17 years agoensure that the correct flags are always copied from peers/users to private structure...
Kevin P. Fleming [Wed, 5 Oct 2005 01:29:02 +0000 (01:29 +0000)]
ensure that the correct flags are always copied from peers/users to private structures (so RPID sending will work properly, issue #5322)

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

17 years agoensure that Remote-Party-ID is sent even on secondary INVITEs within a dialog (issue...
Kevin P. Fleming [Wed, 5 Oct 2005 00:42:09 +0000 (00:42 +0000)]
ensure that Remote-Party-ID is sent even on secondary INVITEs within a dialog (issue #5322)

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

17 years agodon't twiddle memory that doesn't belong to us (issue #5348)
Kevin P. Fleming [Wed, 5 Oct 2005 00:28:04 +0000 (00:28 +0000)]
don't twiddle memory that doesn't belong to us (issue #5348)

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

17 years agouse thread ID instead of process ID in logger messages (issue #5349)
Kevin P. Fleming [Wed, 5 Oct 2005 00:21:56 +0000 (00:21 +0000)]
use thread ID instead of process ID in logger messages (issue #5349)

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

17 years agocorrect cygwin detection (issue #5328)
Kevin P. Fleming [Wed, 5 Oct 2005 00:17:57 +0000 (00:17 +0000)]
correct cygwin detection (issue #5328)
handle parallel make better (issue #5328)

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

17 years agoremove unused config option (issue #5358)
Kevin P. Fleming [Wed, 5 Oct 2005 00:05:13 +0000 (00:05 +0000)]
remove unused config option (issue #5358)

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

17 years agohandle peer matching for subscriptions by name instead of IP address (issue #5103)
Kevin P. Fleming [Tue, 4 Oct 2005 23:54:04 +0000 (23:54 +0000)]
handle peer matching for subscriptions by name instead of IP address (issue #5103)

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

17 years agofix various state-related bugs (issue #5369, with mod to return AST_DEVICE_INUSE)
Kevin P. Fleming [Tue, 4 Oct 2005 23:38:09 +0000 (23:38 +0000)]
fix various state-related bugs (issue #5369, with mod to return AST_DEVICE_INUSE)

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

17 years agosupport call duration limits on inbound OSP calls (issue #5346)
Kevin P. Fleming [Tue, 4 Oct 2005 23:28:57 +0000 (23:28 +0000)]
support call duration limits on inbound OSP calls (issue #5346)

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

17 years agomake sample config files easier to ready (issue #5371)
Kevin P. Fleming [Tue, 4 Oct 2005 22:51:59 +0000 (22:51 +0000)]
make sample config files easier to ready (issue #5371)

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

17 years agofix memory leak and unload problems (issue #5380)
Kevin P. Fleming [Tue, 4 Oct 2005 22:44:15 +0000 (22:44 +0000)]
fix memory leak and unload problems (issue #5380)

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

17 years agogenerate fewer 'stale nonce' messages (issue #5381)
Kevin P. Fleming [Tue, 4 Oct 2005 22:42:34 +0000 (22:42 +0000)]
generate fewer 'stale nonce' messages (issue #5381)

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

17 years agotruncate last 200ms of DTMF-terminated recording to eliminate inband DTMF (issue...
Kevin P. Fleming [Tue, 4 Oct 2005 22:35:43 +0000 (22:35 +0000)]
truncate last 200ms of DTMF-terminated recording to eliminate inband DTMF (issue #5383)

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

17 years agoallow write timeout to be set on a per-user basis in AMI (issue #5352)
Kevin P. Fleming [Tue, 4 Oct 2005 22:25:15 +0000 (22:25 +0000)]
allow write timeout to be set on a per-user basis in AMI (issue #5352)

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

17 years agoallow manager actions to properly close the session again (issue #5350)
Kevin P. Fleming [Tue, 4 Oct 2005 22:15:28 +0000 (22:15 +0000)]
allow manager actions to properly close the session again (issue #5350)

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

17 years agodon't destroy calls when re-INVITE messages ask for things we can't do (issue #5384)
Kevin P. Fleming [Tue, 4 Oct 2005 22:09:23 +0000 (22:09 +0000)]
don't destroy calls when re-INVITE messages ask for things we can't do (issue #5384)

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

17 years agoupdate sample configuration to reflect new options (issue #5357)
Russell Bryant [Tue, 4 Oct 2005 19:05:40 +0000 (19:05 +0000)]
update sample configuration to reflect new options (issue #5357)

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

17 years agoIf you're hanging up channels, be sure we clean it up...
Mark Spencer [Tue, 4 Oct 2005 17:41:30 +0000 (17:41 +0000)]
If you're hanging up channels, be sure we clean it up...

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

17 years agoRewrite of PRI progress and message handling. Fixes bugs #5266 and #4468
Matthew Fredrickson [Tue, 4 Oct 2005 17:00:01 +0000 (17:00 +0000)]
Rewrite of PRI progress and message handling.  Fixes bugs #5266 and #4468
(Early media related digit passing and passing early media progress between
channels)

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

17 years agofix 'invalid command' logic
Kevin P. Fleming [Mon, 3 Oct 2005 21:01:29 +0000 (21:01 +0000)]
fix 'invalid command' logic

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

17 years agodon't build manager event output until it is needed
Kevin P. Fleming [Mon, 3 Oct 2005 19:40:03 +0000 (19:40 +0000)]
don't build manager event output until it is needed

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

17 years agoadd ast_build_string_va(), which accepts a varargs list directly
Kevin P. Fleming [Sat, 1 Oct 2005 15:41:27 +0000 (15:41 +0000)]
add ast_build_string_va(), which accepts a varargs list directly
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite()

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

17 years agoclarify option description (issue #5351)
Russell Bryant [Sat, 1 Oct 2005 01:24:15 +0000 (01:24 +0000)]
clarify option description (issue #5351)

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

17 years agodon't take session lock in astman_send_error() and astman_send_response(), since...
Kevin P. Fleming [Fri, 30 Sep 2005 23:52:04 +0000 (23:52 +0000)]
don't take session lock in astman_send_error() and astman_send_response(), since it is no longer needed
don't build authority string and event string for every session in manager_event(), do it only once

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

17 years agotell the user about invalid/unknown commands before sending queued events
Kevin P. Fleming [Fri, 30 Sep 2005 23:44:12 +0000 (23:44 +0000)]
tell the user about invalid/unknown commands before sending queued events
s->challenge does not need to be protected by the lock, since only process_message() (and functions it calls) ever use it, and process_message() is a blocking operation by definition

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

17 years agoensure structure has enough space for embedded string
Kevin P. Fleming [Fri, 30 Sep 2005 16:49:23 +0000 (16:49 +0000)]
ensure structure has enough space for embedded string

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

17 years agoproperly clear out manager header structure between actions
Kevin P. Fleming [Fri, 30 Sep 2005 16:27:14 +0000 (16:27 +0000)]
properly clear out manager header structure between actions

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

17 years agosupport a 'post install' script for local modifications after installation
Kevin P. Fleming [Fri, 30 Sep 2005 14:48:41 +0000 (14:48 +0000)]
support a 'post install' script for local modifications after installation

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

17 years agofix queues properly (issue #5300, take two)
Kevin P. Fleming [Fri, 30 Sep 2005 14:01:56 +0000 (14:01 +0000)]
fix queues properly (issue #5300, take two)

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

17 years agoFix manager bug (can't destroy a session while a thread is using it!)
Mark Spencer [Thu, 29 Sep 2005 20:37:01 +0000 (20:37 +0000)]
Fix manager bug (can't destroy a session while a thread is using it!)

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

17 years agoensure that peer codec preferences take precedence over global preferences
Kevin P. Fleming [Thu, 29 Sep 2005 17:41:00 +0000 (17:41 +0000)]
ensure that peer codec preferences take precedence over global preferences
clean and simplify SDP-building code

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

17 years agocode cleanups
Kevin P. Fleming [Thu, 29 Sep 2005 17:40:24 +0000 (17:40 +0000)]
code cleanups

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

17 years agore-factor variable/function name parsing, and add substring support to function resul...
Kevin P. Fleming [Thu, 29 Sep 2005 04:39:14 +0000 (04:39 +0000)]
re-factor variable/function name parsing, and add substring support to function results (issue #5284)

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

17 years agoPrint anomlies at free / show memory allocations time
Mark Spencer [Thu, 29 Sep 2005 04:34:11 +0000 (04:34 +0000)]
Print anomlies at free / show memory allocations time

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

17 years agoensure that app_queue won't crash if no members are defined via Realtime (issue ...
Kevin P. Fleming [Thu, 29 Sep 2005 04:12:08 +0000 (04:12 +0000)]
ensure that app_queue won't crash if no members are defined via Realtime (issue #5300)

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

17 years agoensure scheduling priority is inherited into new threads (issue #5293)
Kevin P. Fleming [Thu, 29 Sep 2005 04:08:18 +0000 (04:08 +0000)]
ensure scheduling priority is inherited into new threads (issue #5293)

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

17 years agoallow some more paths to be overridden on the command line (issue #5292)
Kevin P. Fleming [Thu, 29 Sep 2005 04:06:15 +0000 (04:06 +0000)]
allow some more paths to be overridden on the command line (issue #5292)

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

17 years agosupport both regular and Feature Group D dialing syntax on EM_WINK trunks (issue...
Kevin P. Fleming [Thu, 29 Sep 2005 03:25:25 +0000 (03:25 +0000)]
support both regular and Feature Group D dialing syntax on EM_WINK trunks (issue #5323)

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

17 years agodon't replace CLID/CNAM when RPID is being generated (issue #5301)
Kevin P. Fleming [Thu, 29 Sep 2005 03:12:46 +0000 (03:12 +0000)]
don't replace CLID/CNAM when RPID is being generated (issue #5301)

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

17 years agoinstall 'rasterisk' symlink and update process name when used remotely (issue #5318...
Kevin P. Fleming [Thu, 29 Sep 2005 02:38:24 +0000 (02:38 +0000)]
install 'rasterisk' symlink and update process name when used remotely (issue #5318 with minor mod)

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

17 years agoRemove possibility of manager deadlocks from manager actions
Mark Spencer [Wed, 28 Sep 2005 23:10:14 +0000 (23:10 +0000)]
Remove possibility of manager deadlocks from manager actions

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

17 years agomore whitespace fixes
Kevin P. Fleming [Wed, 28 Sep 2005 21:29:40 +0000 (21:29 +0000)]
more whitespace fixes

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