asterisk/asterisk.git
14 years agoFix truth of strings
Mark Spencer [Tue, 18 Oct 2005 16:51:28 +0000 (16:51 +0000)]
Fix truth of strings

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

14 years agoFix off-by-one issue with sort (bug #5459)
Mark Spencer [Tue, 18 Oct 2005 16:48:19 +0000 (16:48 +0000)]
Fix off-by-one issue with sort (bug #5459)

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

14 years agoDon't only accept AST_DEVICE_UNKNOWN when we're trying to determine if the device...
Josh Roberson [Tue, 18 Oct 2005 03:29:12 +0000 (03:29 +0000)]
Don't only accept AST_DEVICE_UNKNOWN when we're trying to determine if the device is in use.  (Bug # 5338)

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

14 years agofix build on older versions of mac osx, thanks twisted!
Russell Bryant [Tue, 18 Oct 2005 03:24:41 +0000 (03:24 +0000)]
fix build on older versions of mac osx, thanks twisted!

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

14 years agoimplement TXTCIDNAME as a dialplan function and mark the application deprecated
Russell Bryant [Tue, 18 Oct 2005 03:02:06 +0000 (03:02 +0000)]
implement TXTCIDNAME as a dialplan function and mark the application deprecated

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

14 years agoremove unnecessary config file loading
Russell Bryant [Tue, 18 Oct 2005 02:21:45 +0000 (02:21 +0000)]
remove unnecessary config file loading

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

14 years agoFix queue, iax and sip formatting issues (bug #5449)
Mark Spencer [Mon, 17 Oct 2005 22:26:33 +0000 (22:26 +0000)]
Fix queue, iax and sip formatting issues (bug #5449)

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

14 years agoclean up function to be more consistent with coding guidelines
Russell Bryant [Mon, 17 Oct 2005 17:54:32 +0000 (17:54 +0000)]
clean up function to be more consistent with coding guidelines

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

14 years agoclean up headers
Russell Bryant [Mon, 17 Oct 2005 17:54:05 +0000 (17:54 +0000)]
clean up headers

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

14 years agoHandle device state changes properly when formatting characters are present (bug...
Mark Spencer [Mon, 17 Oct 2005 15:41:55 +0000 (15:41 +0000)]
Handle device state changes properly when formatting characters are present (bug #5450, new patch)

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

14 years agocorrect behavior change introduced by issue #5448 patch
Kevin P. Fleming [Mon, 17 Oct 2005 13:53:50 +0000 (13:53 +0000)]
correct behavior change introduced by issue #5448 patch

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

14 years agoImprove config parsing performance (bug #5448)
Mark Spencer [Mon, 17 Oct 2005 03:53:27 +0000 (03:53 +0000)]
Improve config parsing performance (bug #5448)

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

14 years agominor changes and eliminate some compiler warnings
Kevin P. Fleming [Sun, 16 Oct 2005 23:26:35 +0000 (23:26 +0000)]
minor changes and eliminate some compiler warnings

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

14 years agomake ouput a little bit more informative
Russell Bryant [Sun, 16 Oct 2005 23:01:14 +0000 (23:01 +0000)]
make ouput a little bit more informative

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

14 years agoUse FILE * instead of fd for files to support buffering
Mark Spencer [Sun, 16 Oct 2005 16:12:51 +0000 (16:12 +0000)]
Use FILE * instead of fd for files to support buffering

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

14 years agoAdd walk by channel name prefixed
Mark Spencer [Sun, 16 Oct 2005 16:11:52 +0000 (16:11 +0000)]
Add walk by channel name prefixed

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

14 years agoMake alsa/oss ignore VIDUPDATE control frames
Mark Spencer [Sun, 16 Oct 2005 16:05:41 +0000 (16:05 +0000)]
Make alsa/oss ignore VIDUPDATE control frames

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

14 years agoMore utility cleanups
Mark Spencer [Sun, 16 Oct 2005 03:10:33 +0000 (03:10 +0000)]
More utility cleanups

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

14 years agoMake crypto loading optional
Mark Spencer [Sun, 16 Oct 2005 03:08:58 +0000 (03:08 +0000)]
Make crypto loading optional

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

14 years agoMake indications work more efficiently and without heavy floating point (bug #5360)
Mark Spencer [Sun, 16 Oct 2005 03:07:15 +0000 (03:07 +0000)]
Make indications work more efficiently and without heavy floating point (bug #5360)

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

14 years agoAdd muxmon application (bug #4735 with mods, thanks tony!)
Mark Spencer [Sun, 16 Oct 2005 02:59:13 +0000 (02:59 +0000)]
Add muxmon application (bug #4735 with mods, thanks tony!)

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

14 years agomove GPL/trademark licensing information into LICENSE file
Kevin P. Fleming [Sat, 15 Oct 2005 05:29:13 +0000 (05:29 +0000)]
move GPL/trademark licensing information into LICENSE file

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

14 years agomove GPL text to proper file name
Kevin P. Fleming [Sat, 15 Oct 2005 05:12:12 +0000 (05:12 +0000)]
move GPL text to proper file name

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

14 years agoFix carefulwrite and its usage within manager (bug #5355, maybe)
Mark Spencer [Fri, 14 Oct 2005 20:37:40 +0000 (20:37 +0000)]
Fix carefulwrite and its usage within manager (bug #5355, maybe)

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

14 years agoMake sure when the timeout occurs that we actually break the bridge (bug #5252)
Mark Spencer [Fri, 14 Oct 2005 17:02:20 +0000 (17:02 +0000)]
Make sure when the timeout occurs that we actually break the bridge (bug #5252)

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

14 years agofix compile error (%d changed to %n)
Kevin P. Fleming [Fri, 14 Oct 2005 05:29:41 +0000 (05:29 +0000)]
fix compile error (%d changed to %n)

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

14 years agoadd missing new line
Jeremy McNamara [Fri, 14 Oct 2005 05:19:34 +0000 (05:19 +0000)]
add missing new line

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

14 years agomake chan_sip able to deal with PBX-level call limit being reached (issue #5131)
Kevin P. Fleming [Fri, 14 Oct 2005 01:14:29 +0000 (01:14 +0000)]
make chan_sip able to deal with PBX-level call limit being reached (issue #5131)

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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