asterisk/asterisk.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agomore whitespace cleanup
Kevin P. Fleming [Wed, 28 Sep 2005 21:23:54 +0000 (21:23 +0000)]
more whitespace cleanup

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

14 years agowhitespace fix
Kevin P. Fleming [Wed, 28 Sep 2005 20:46:43 +0000 (20:46 +0000)]
whitespace fix

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

14 years agofix comment typo
Kevin P. Fleming [Wed, 28 Sep 2005 20:40:24 +0000 (20:40 +0000)]
fix comment typo

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

14 years agomissed a line...
Kevin P. Fleming [Wed, 28 Sep 2005 20:35:47 +0000 (20:35 +0000)]
missed a line...

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

14 years agocode cleanup
Kevin P. Fleming [Wed, 28 Sep 2005 20:34:11 +0000 (20:34 +0000)]
code cleanup

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

14 years agominor fixes
Kevin P. Fleming [Wed, 28 Sep 2005 20:26:41 +0000 (20:26 +0000)]
minor fixes

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

14 years agoclean up formatting, use the same flag bit for both GR-303 modes
Kevin P. Fleming [Wed, 28 Sep 2005 20:06:22 +0000 (20:06 +0000)]
clean up formatting, use the same flag bit for both GR-303 modes

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

14 years agomake sure to LOCAL_USER_REMOVE in all cases where the application can exit (issue...
Russell Bryant [Wed, 28 Sep 2005 19:42:36 +0000 (19:42 +0000)]
make sure to LOCAL_USER_REMOVE in all cases where the application can exit (issue #5307)

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

14 years agofix logic error that breaks queue exit (issue #5312)
Russell Bryant [Wed, 28 Sep 2005 19:33:00 +0000 (19:33 +0000)]
fix logic error that breaks queue exit (issue #5312)

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

14 years agofix variable name (issue #5302)
Russell Bryant [Wed, 28 Sep 2005 19:24:30 +0000 (19:24 +0000)]
fix variable name (issue #5302)

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

14 years agodon't declare the priority inside of the for loop so that the priority
Russell Bryant [Wed, 28 Sep 2005 19:18:48 +0000 (19:18 +0000)]
don't declare the priority inside of the for loop so that the priority
can actually be switched at each iteration (issue #5319)

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

14 years ago486 (and friends) are really BUSY (bug #5257)
Mark Spencer [Wed, 28 Sep 2005 04:08:57 +0000 (04:08 +0000)]
486 (and friends) are really BUSY (bug #5257)

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

14 years agosay minutes/seconds using existing 'say number' code for Danish (issue #5277)
Kevin P. Fleming [Tue, 27 Sep 2005 02:25:12 +0000 (02:25 +0000)]
say minutes/seconds using existing 'say number' code for Danish (issue #5277)

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

14 years agostore tag in the private structure as formatted text, instead of formatting every...
Kevin P. Fleming [Tue, 27 Sep 2005 02:12:36 +0000 (02:12 +0000)]
store tag in the private structure as formatted text, instead of formatting every time we send a packet

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

14 years agosupport optional sending of Remote-Party-ID headers (issue #2471, heavily modified...
Kevin P. Fleming [Tue, 27 Sep 2005 01:54:17 +0000 (01:54 +0000)]
support optional sending of Remote-Party-ID headers (issue #2471, heavily modified to actually work properly)

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