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

14 years agoFix "console" help (thanks to Andy Dvorak)
Mark Spencer [Tue, 27 Sep 2005 00:55:55 +0000 (00:55 +0000)]
Fix "console" help (thanks to Andy Dvorak)

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

14 years agoadd domains documentation and rename config option
Kevin P. Fleming [Mon, 26 Sep 2005 23:14:59 +0000 (23:14 +0000)]
add domains documentation and rename config option

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

14 years agoadd basic SIP domain support (issue #4466, with major mods)
Kevin P. Fleming [Mon, 26 Sep 2005 23:07:50 +0000 (23:07 +0000)]
add basic SIP domain support (issue #4466, with major mods)

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

14 years agomove variable declaration to the beginning of the function (issue #5299)
Russell Bryant [Mon, 26 Sep 2005 20:53:33 +0000 (20:53 +0000)]
move variable declaration to the beginning of the function (issue #5299)

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

14 years agoone more oops (when global variables need substitutions)
Kevin P. Fleming [Mon, 26 Sep 2005 19:51:58 +0000 (19:51 +0000)]
one more oops (when global variables need substitutions)

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

14 years agooops
Kevin P. Fleming [Mon, 26 Sep 2005 19:31:03 +0000 (19:31 +0000)]
oops

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

14 years agouse a more generic means to decide whether we need to provide poll/dlfcn functionalit...
Kevin P. Fleming [Mon, 26 Sep 2005 17:17:56 +0000 (17:17 +0000)]
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297)

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

14 years agominor code and stack space optimizations
Kevin P. Fleming [Mon, 26 Sep 2005 16:58:40 +0000 (16:58 +0000)]
minor code and stack space optimizations

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

14 years agoensure that if the verbose buffer is full, we send it out even if it's not complete...
Kevin P. Fleming [Mon, 26 Sep 2005 15:43:16 +0000 (15:43 +0000)]
ensure that if the verbose buffer is full, we send it out even if it's not complete (issue #5263, patch modified to actually compile)

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

14 years agohandle polarity reversal hangup indication during an incoming call that is still...
Kevin P. Fleming [Mon, 26 Sep 2005 03:14:44 +0000 (03:14 +0000)]
handle polarity reversal hangup indication during an incoming call that is still ringing (issue #5191)

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

14 years agoproperly ignore retransmitted INVITEs on long latency links (issue #3658)
Kevin P. Fleming [Mon, 26 Sep 2005 03:05:37 +0000 (03:05 +0000)]
properly ignore retransmitted INVITEs on long latency links (issue #3658)

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

14 years agominor optimizations
Kevin P. Fleming [Mon, 26 Sep 2005 03:02:06 +0000 (03:02 +0000)]
minor optimizations

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

14 years agofix minor build problem on *BSD (issue #5290)
Kevin P. Fleming [Mon, 26 Sep 2005 02:08:06 +0000 (02:08 +0000)]
fix minor build problem on *BSD (issue #5290)

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

14 years agofix some buglets in 'agents' Manager action (issue #5235)
Kevin P. Fleming [Mon, 26 Sep 2005 02:04:07 +0000 (02:04 +0000)]
fix some buglets in 'agents' Manager action (issue #5235)

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

14 years agoproperly respond to REGISTER queries (issue #5272)
Kevin P. Fleming [Mon, 26 Sep 2005 01:22:09 +0000 (01:22 +0000)]
properly respond to REGISTER queries (issue #5272)
remove unused sip_peer expiry field

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

14 years agodon't drop the caller just because it's not time to play an announcement (issue ...
Kevin P. Fleming [Mon, 26 Sep 2005 00:41:28 +0000 (00:41 +0000)]
don't drop the caller just because it's not time to play an announcement (issue #5279)

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

14 years agoclean update devicestate function, ensure that it can return AST_DEVICE_UNKNOWN when...
Kevin P. Fleming [Sun, 25 Sep 2005 21:21:47 +0000 (21:21 +0000)]
clean update devicestate function, ensure that it can return AST_DEVICE_UNKNOWN when call limits are not turned on (issue #5281)

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

14 years agosupport new version of OSP toolkit (issue #5168)
Kevin P. Fleming [Sun, 25 Sep 2005 20:50:40 +0000 (20:50 +0000)]
support new version of OSP toolkit (issue #5168)

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

14 years agoensure result buffer is initialized (issue #5285)
Kevin P. Fleming [Sun, 25 Sep 2005 20:47:00 +0000 (20:47 +0000)]
ensure result buffer is initialized (issue #5285)

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

14 years agocorrect logic errors (issue #5258)
Kevin P. Fleming [Sun, 25 Sep 2005 20:39:19 +0000 (20:39 +0000)]
correct logic errors (issue #5258)

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

14 years agocorrect sense of logic test (issue #5259)
Kevin P. Fleming [Sun, 25 Sep 2005 20:37:05 +0000 (20:37 +0000)]
correct sense of logic test (issue #5259)

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

14 years agoMake curl a function
Mark Spencer [Sun, 25 Sep 2005 19:36:48 +0000 (19:36 +0000)]
Make curl a function

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

14 years agoHandle authenticating *to* realtime peers (bug #5269)
Mark Spencer [Sun, 25 Sep 2005 19:13:54 +0000 (19:13 +0000)]
Handle authenticating *to* realtime peers (bug #5269)

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

14 years agoFix expressions on Big Endian platforms (issue #5233)
Russell Bryant [Sun, 25 Sep 2005 17:03:18 +0000 (17:03 +0000)]
Fix expressions on Big Endian platforms (issue #5233)
using bison version 1.875d, flex version 2.5.31

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

14 years agoFix manager EINTR issue (bug #5247)
Mark Spencer [Sun, 25 Sep 2005 16:58:56 +0000 (16:58 +0000)]
Fix manager EINTR issue (bug #5247)

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

14 years agoFix restart in Mac OSX (bug #5251)
Mark Spencer [Sun, 25 Sep 2005 16:52:04 +0000 (16:52 +0000)]
Fix restart in Mac OSX (bug #5251)

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

14 years agoFix meet me / local channel (bug #5274)
Mark Spencer [Sun, 25 Sep 2005 03:57:53 +0000 (03:57 +0000)]
Fix meet me / local channel (bug #5274)

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

14 years agoFix GetVar manager action result (bug #5275)
Mark Spencer [Sun, 25 Sep 2005 03:49:22 +0000 (03:49 +0000)]
Fix GetVar manager action result (bug #5275)

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

14 years agoFix CLI completion issue (bug #5041)
Mark Spencer [Sun, 25 Sep 2005 03:13:00 +0000 (03:13 +0000)]
Fix CLI completion issue (bug #5041)

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

14 years agoNull out call number on release complete when number is unallocated (bug #4633)
Mark Spencer [Sun, 25 Sep 2005 02:28:31 +0000 (02:28 +0000)]
Null out call number on release complete when number is unallocated (bug #4633)

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

14 years agofix copy-and-paste error
Kevin P. Fleming [Sat, 24 Sep 2005 22:56:41 +0000 (22:56 +0000)]
fix copy-and-paste error

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

14 years agoFix CLI memory leak (bug #5035)
Mark Spencer [Sat, 24 Sep 2005 15:25:52 +0000 (15:25 +0000)]
Fix CLI memory leak (bug #5035)

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

14 years agoFix directed pickup deadlock bug (bug #5270)
Mark Spencer [Sat, 24 Sep 2005 14:22:12 +0000 (14:22 +0000)]
Fix directed pickup deadlock bug (bug #5270)

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