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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoFix cut/paste error (bug #5282)
Mark Spencer [Sat, 24 Sep 2005 14:19:59 +0000 (14:19 +0000)]
Fix cut/paste error (bug #5282)

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

17 years agoDon't crash on recursive show extension foo@bar...
Mark Spencer [Sat, 24 Sep 2005 14:19:00 +0000 (14:19 +0000)]
Don't crash on recursive show extension foo@bar...

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

17 years agoAdded support for iaxrpt gui client
Jim Dixon [Fri, 23 Sep 2005 03:07:06 +0000 (03:07 +0000)]
Added support for iaxrpt gui client

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

17 years agomove process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_c...
Russell Bryant [Fri, 23 Sep 2005 02:57:14 +0000 (02:57 +0000)]
move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
clean up some formatting
remove some commented out reference code
move unload_module in pbx_ael down to be with the rest of the standard module functions

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

17 years agoUse Goto instead of GotoIf when jumping over the else block (issue #4660)
Russell Bryant [Fri, 23 Sep 2005 02:53:53 +0000 (02:53 +0000)]
Use Goto instead of GotoIf when jumping over the else block (issue #4660)

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

17 years agofix some gcc4 pointer signedness warnings and clean up some formatting
Russell Bryant [Fri, 23 Sep 2005 02:40:38 +0000 (02:40 +0000)]
fix some gcc4 pointer signedness warnings and clean up some formatting

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

17 years agoiax2 parser cleanups
Mark Spencer [Wed, 21 Sep 2005 12:47:03 +0000 (12:47 +0000)]
iax2 parser cleanups

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

17 years agodon't remove the ast_expr .c files when building testexpr2 since they are
Russell Bryant [Mon, 19 Sep 2005 12:41:32 +0000 (12:41 +0000)]
don't remove the ast_expr .c files when building testexpr2 since they are
now directly included in the tree

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

17 years agofix ENUMLOOKUP examples (issue #5244)
Russell Bryant [Sun, 18 Sep 2005 22:13:44 +0000 (22:13 +0000)]
fix ENUMLOOKUP examples (issue #5244)

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

17 years agoadd missing newline (issue #5243)
Russell Bryant [Sun, 18 Sep 2005 22:10:35 +0000 (22:10 +0000)]
add missing newline (issue #5243)

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

17 years agoclean up singular vs. plural output for the 'show dialplan' CLI command
Russell Bryant [Fri, 16 Sep 2005 18:11:00 +0000 (18:11 +0000)]
clean up singular vs. plural output for the 'show dialplan' CLI command

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

17 years agoadd Pickup() application (issue #4865)
Kevin P. Fleming [Thu, 15 Sep 2005 20:28:23 +0000 (20:28 +0000)]
add Pickup() application (issue #4865)

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

17 years agook wtf, no compiler error here
Jeremy McNamara [Thu, 15 Sep 2005 17:08:52 +0000 (17:08 +0000)]
ok wtf, no compiler error here

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

17 years agoI swore this compiled. Honest, officer
Jeremy McNamara [Thu, 15 Sep 2005 16:58:02 +0000 (16:58 +0000)]
I swore this compiled. Honest, officer

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

17 years agoadd API for searching active channels by context/exten
Kevin P. Fleming [Thu, 15 Sep 2005 16:34:39 +0000 (16:34 +0000)]
add API for searching active channels by context/exten

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

17 years agomore license/copyright header updates (thanks Ian!)
Kevin P. Fleming [Thu, 15 Sep 2005 15:44:26 +0000 (15:44 +0000)]
more license/copyright header updates (thanks Ian!)

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