asterisk/asterisk.git
14 years agodelete streamplayer with 'make clean'
Russell Bryant [Wed, 14 Sep 2005 18:47:54 +0000 (18:47 +0000)]
delete streamplayer with 'make clean'

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

14 years agouse a better name for structure element (when using named initializers)
Kevin P. Fleming [Wed, 14 Sep 2005 17:20:24 +0000 (17:20 +0000)]
use a better name for structure element (when using named initializers)

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

14 years agoslightly clear argument processing
Kevin P. Fleming [Wed, 14 Sep 2005 17:19:55 +0000 (17:19 +0000)]
slightly clear argument processing

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

14 years agodeprecate EnumLookup() application
Kevin P. Fleming [Wed, 14 Sep 2005 14:26:27 +0000 (14:26 +0000)]
deprecate EnumLookup() application

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

14 years agodon't abort Asterisk load if configuration not found (issue #5115)
Kevin P. Fleming [Wed, 14 Sep 2005 02:52:11 +0000 (02:52 +0000)]
don't abort Asterisk load if configuration not found (issue #5115)
don't register channel type until after config has been loaded

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

14 years agosupport all OSP authentication models (issue #5159)
Kevin P. Fleming [Wed, 14 Sep 2005 02:45:37 +0000 (02:45 +0000)]
support all OSP authentication models (issue #5159)

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

14 years agoensure that exten field is cleared when incoming number is not matched to an extensio...
Kevin P. Fleming [Wed, 14 Sep 2005 02:41:05 +0000 (02:41 +0000)]
ensure that exten field is cleared when incoming number is not matched to an extension (issue #5203)

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

14 years agodon't double define our own string functions on platforms that don't have them (issue...
Kevin P. Fleming [Wed, 14 Sep 2005 02:30:33 +0000 (02:30 +0000)]
don't double define our own string functions on platforms that don't have them (issue #5169)

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

14 years agomake While() able to find the matching EndWhile() for when the condition is zero...
Kevin P. Fleming [Wed, 14 Sep 2005 02:24:38 +0000 (02:24 +0000)]
make While() able to find the matching EndWhile() for when the condition is zero (issue #5145)

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

14 years agoensure that Manager hold/unhold events are generated even for non-bridged channels...
Kevin P. Fleming [Wed, 14 Sep 2005 02:18:45 +0000 (02:18 +0000)]
ensure that Manager hold/unhold events are generated even for non-bridged channels (issue #4594)

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

14 years agomake RTP handling errors less likely to crash Asterisk (issue #5172)
Kevin P. Fleming [Wed, 14 Sep 2005 02:15:14 +0000 (02:15 +0000)]
make RTP handling errors less likely to crash Asterisk (issue #5172)

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

14 years agomore documentation (issue #5174)
Kevin P. Fleming [Wed, 14 Sep 2005 02:12:37 +0000 (02:12 +0000)]
more documentation (issue #5174)

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

14 years agohandle rport/received in Via headers properly (issue #5037)
Kevin P. Fleming [Wed, 14 Sep 2005 01:53:06 +0000 (01:53 +0000)]
handle rport/received in Via headers properly (issue #5037)

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

14 years agoadd status variable output and jumping control to SendURL() (issue #4812)
Kevin P. Fleming [Wed, 14 Sep 2005 01:46:09 +0000 (01:46 +0000)]
add status variable output and jumping control to SendURL() (issue #4812)

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

14 years agoadd token format specification support (issue #5199)
Kevin P. Fleming [Wed, 14 Sep 2005 01:40:22 +0000 (01:40 +0000)]
add token format specification support (issue #5199)

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

14 years agoextensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201...
Kevin P. Fleming [Wed, 14 Sep 2005 01:36:15 +0000 (01:36 +0000)]
extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)

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

14 years agomore BSD portability fixes (issue #5155)
Kevin P. Fleming [Wed, 14 Sep 2005 01:10:20 +0000 (01:10 +0000)]
more BSD portability fixes (issue #5155)

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

14 years agoensure that agent channels don't get seized during login (issue #5020)
Kevin P. Fleming [Wed, 14 Sep 2005 00:59:51 +0000 (00:59 +0000)]
ensure that agent channels don't get seized during login (issue #5020)

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

14 years agoHandle dialog updates to to tag properly (bug #5166)
Mark Spencer [Wed, 14 Sep 2005 00:43:11 +0000 (00:43 +0000)]
Handle dialog updates to to tag properly (bug #5166)

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

14 years agoensure that the AGENTBYCALLERID_* variable is cleared when an agent logs in to a...
Kevin P. Fleming [Wed, 14 Sep 2005 00:39:05 +0000 (00:39 +0000)]
ensure that the AGENTBYCALLERID_* variable is cleared when an agent logs in to a different device (issue #5213)

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

14 years agopartial formatting cleanup
Kevin P. Fleming [Wed, 14 Sep 2005 00:28:06 +0000 (00:28 +0000)]
partial formatting cleanup

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

14 years agooutput 'our tag' in proper format
Kevin P. Fleming [Wed, 14 Sep 2005 00:27:51 +0000 (00:27 +0000)]
output 'our tag' in proper format

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

14 years agoensure that user events are identified with the correct type (issue #5200)
Russell Bryant [Tue, 13 Sep 2005 23:36:55 +0000 (23:36 +0000)]
ensure that user events are identified with the correct type (issue #5200)

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

14 years agocheck call limit in ast_pbx_start(), instead of waiting until background thread has...
Kevin P. Fleming [Tue, 13 Sep 2005 21:59:45 +0000 (21:59 +0000)]
check call limit in ast_pbx_start(), instead of waiting until background thread has been launched (needed for issue #5131)

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

14 years agoTry a more generally correct solution, for NFAS (bug #5179)
Mark Spencer [Tue, 13 Sep 2005 02:27:32 +0000 (02:27 +0000)]
Try a more generally correct solution, for NFAS (bug #5179)

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

14 years agoRestart PRI when we come out of alarm if we're not already up...
Mark Spencer [Tue, 13 Sep 2005 02:20:37 +0000 (02:20 +0000)]
Restart PRI when we come out of alarm if we're not already up...

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

14 years agodon't send a 200 ACK before a 404 on invalid subscriptions (Bug #5198)
Josh Roberson [Tue, 13 Sep 2005 01:38:00 +0000 (01:38 +0000)]
don't send a 200 ACK before a 404 on invalid subscriptions (Bug #5198)

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

14 years agoFix permissions on safe_asterisk (bug #5193)
Mark Spencer [Mon, 12 Sep 2005 04:06:52 +0000 (04:06 +0000)]
Fix permissions on safe_asterisk (bug #5193)

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

14 years agoProperly install appropriate sound files, prefix spy ones with spy- (bug #5192)
Mark Spencer [Mon, 12 Sep 2005 03:49:54 +0000 (03:49 +0000)]
Properly install appropriate sound files, prefix spy ones with spy- (bug #5192)

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

14 years agoBetter improved HF interface
Jim Dixon [Sun, 11 Sep 2005 22:08:44 +0000 (22:08 +0000)]
Better improved HF interface

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

14 years agoDon't allow callwait to happen during initial ringdown (bug #5188)
Mark Spencer [Sun, 11 Sep 2005 17:01:10 +0000 (17:01 +0000)]
Don't allow callwait to happen during initial ringdown (bug #5188)

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

14 years agoMake sure RTP timestamps are accurate on playback
Mark Spencer [Sat, 10 Sep 2005 18:46:38 +0000 (18:46 +0000)]
Make sure RTP timestamps are accurate on playback

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

14 years agoSet filaneme BEFORE we return from open_mailbox() if we don't have positive message...
Josh Roberson [Fri, 9 Sep 2005 21:13:42 +0000 (21:13 +0000)]
Set filaneme BEFORE we return from open_mailbox() if we don't have positive message count (Bug #5175)

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

14 years agoallow users of RTP to know when the peer endpoint is (apparently) behind a NAT
Kevin P. Fleming [Fri, 9 Sep 2005 19:54:34 +0000 (19:54 +0000)]
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT

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

14 years agoIncrease PRI buffers just in case
Mark Spencer [Fri, 9 Sep 2005 18:41:17 +0000 (18:41 +0000)]
Increase PRI buffers just in case

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

14 years agoFix 'w' to correctly send sending complete on PRI
Matthew Fredrickson [Fri, 9 Sep 2005 16:07:06 +0000 (16:07 +0000)]
Fix 'w' to correctly send sending complete on PRI

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

14 years agoMake lock logging reentrant when DEBUG_THREADS enabled
Mark Spencer [Fri, 9 Sep 2005 05:35:14 +0000 (05:35 +0000)]
Make lock logging reentrant when DEBUG_THREADS enabled

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

14 years agodon't use a signed buffer for data that the protocol specifies as unsigned.
Russell Bryant [Fri, 9 Sep 2005 01:07:25 +0000 (01:07 +0000)]
don't use a signed buffer for data that the protocol specifies as unsigned.
This fixes an issues with RSA authentication (issue #5148)

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

14 years agoFixed signalling problem with pciradio
Jim Dixon [Thu, 8 Sep 2005 17:29:49 +0000 (17:29 +0000)]
Fixed signalling problem with pciradio

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

14 years agoadd missing break (issue #5154)
Russell Bryant [Thu, 8 Sep 2005 15:34:38 +0000 (15:34 +0000)]
add missing break (issue #5154)

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

14 years agoadd frame type for T.38, remove some unused stuff
Kevin P. Fleming [Thu, 8 Sep 2005 03:23:38 +0000 (03:23 +0000)]
add frame type for T.38, remove some unused stuff

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

14 years agooops :-)
Kevin P. Fleming [Thu, 8 Sep 2005 02:26:35 +0000 (02:26 +0000)]
oops :-)

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

14 years agoportability fixes for NetBSD (issue #5151)
Kevin P. Fleming [Thu, 8 Sep 2005 02:24:02 +0000 (02:24 +0000)]
portability fixes for NetBSD (issue #5151)

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

14 years agomore Cygwin portability (issue #4678)
Kevin P. Fleming [Thu, 8 Sep 2005 02:21:24 +0000 (02:21 +0000)]
more Cygwin portability (issue #4678)

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

14 years agofirst set of Cygwin portability stuff (issue #4678)
Kevin P. Fleming [Thu, 8 Sep 2005 02:19:02 +0000 (02:19 +0000)]
first set of Cygwin portability stuff (issue #4678)

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

14 years agoensure that MALLOC_DEBUG and 'make dont-optimize' don't conflict (issue #4970)
Kevin P. Fleming [Thu, 8 Sep 2005 00:34:19 +0000 (00:34 +0000)]
ensure that MALLOC_DEBUG and 'make dont-optimize' don't conflict (issue #4970)

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

14 years agoinitialize these variables because they could be used uninitialized in the
Russell Bryant [Wed, 7 Sep 2005 23:29:17 +0000 (23:29 +0000)]
initialize these variables because they could be used uninitialized in the
case that the codec capabilities are 0, oops

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

14 years agodon't reject REGREL requests (issue #5152)
Kevin P. Fleming [Wed, 7 Sep 2005 23:18:39 +0000 (23:18 +0000)]
don't reject REGREL requests (issue #5152)

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

14 years agoupdate prompts to match new meetme menus
Kevin P. Fleming [Wed, 7 Sep 2005 22:25:50 +0000 (22:25 +0000)]
update prompts to match new meetme menus

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

14 years agoensure that TRANSFERSTATUS can return FAILURE (issue #5146)
Kevin P. Fleming [Wed, 7 Sep 2005 21:39:53 +0000 (21:39 +0000)]
ensure that TRANSFERSTATUS can return FAILURE (issue #5146)

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

14 years agoenable DTMF monitoring when DYNAMIC_FEATURES are specified for a brige (issue #5153)
Kevin P. Fleming [Wed, 7 Sep 2005 21:36:30 +0000 (21:36 +0000)]
enable DTMF monitoring when DYNAMIC_FEATURES are specified for a brige (issue #5153)

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

14 years agoremove useless buffer initializations (issue #5134)
Kevin P. Fleming [Wed, 7 Sep 2005 21:01:31 +0000 (21:01 +0000)]
remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)

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

14 years agoensure debug messages are only output if debug is enabled (issue #5142)
Kevin P. Fleming [Wed, 7 Sep 2005 20:54:19 +0000 (20:54 +0000)]
ensure debug messages are only output if debug is enabled (issue #5142)

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

14 years agoRevert change that removed q931_call structure too soon
Matthew Fredrickson [Wed, 7 Sep 2005 20:52:17 +0000 (20:52 +0000)]
Revert change that removed q931_call structure too soon

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

14 years agohandle no-peer-specified-in-dial-string gracefully (issue #5132)
Kevin P. Fleming [Wed, 7 Sep 2005 20:52:03 +0000 (20:52 +0000)]
handle no-peer-specified-in-dial-string gracefully (issue #5132)

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

14 years agoadd doxygen documentation (issue #5133)
Kevin P. Fleming [Wed, 7 Sep 2005 20:44:57 +0000 (20:44 +0000)]
add doxygen documentation (issue #5133)

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

14 years agoput a limit on Macro depth (to combat recursion) (issue #5114)
Kevin P. Fleming [Wed, 7 Sep 2005 20:39:20 +0000 (20:39 +0000)]
put a limit on Macro depth (to combat recursion) (issue #5114)

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

14 years agoclarify transmission failure message when RTP peer is behind NAT (issue #5136 with...
Kevin P. Fleming [Wed, 7 Sep 2005 20:33:30 +0000 (20:33 +0000)]
clarify transmission failure message when RTP peer is behind NAT (issue #5136 with mods to use flag bits instead of new variable)

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

14 years agoconvert a bunch of apps to use ast_goto_if_exists() (issue #5138)
Kevin P. Fleming [Wed, 7 Sep 2005 19:13:00 +0000 (19:13 +0000)]
convert a bunch of apps to use ast_goto_if_exists() (issue #5138)

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

14 years agofactor out INVITE response handling in its own function (issue #5127)
Kevin P. Fleming [Wed, 7 Sep 2005 19:00:31 +0000 (19:00 +0000)]
factor out INVITE response handling in its own function (issue #5127)

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

14 years agoeliminate signedness warnings (issue #5130)
Kevin P. Fleming [Wed, 7 Sep 2005 18:57:01 +0000 (18:57 +0000)]
eliminate signedness warnings (issue #5130)

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

14 years agoeliminate signedness warnings (issue #5129)
Kevin P. Fleming [Wed, 7 Sep 2005 18:55:03 +0000 (18:55 +0000)]
eliminate signedness warnings (issue #5129)

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

14 years agoadd status variable output to System() app (issue #5121)
Kevin P. Fleming [Wed, 7 Sep 2005 18:52:54 +0000 (18:52 +0000)]
add status variable output to System() app (issue #5121)

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

14 years agoremove unneeded variables (issue #5117)
Kevin P. Fleming [Wed, 7 Sep 2005 18:49:32 +0000 (18:49 +0000)]
remove unneeded variables (issue #5117)

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

14 years agoadd more options (issue #5137)
Russell Bryant [Wed, 7 Sep 2005 17:07:56 +0000 (17:07 +0000)]
add more options (issue #5137)

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

14 years agofix some race conditions
Kevin P. Fleming [Wed, 7 Sep 2005 15:32:01 +0000 (15:32 +0000)]
fix some race conditions

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

14 years agoreset channel volumes when exiting apps that use them
Kevin P. Fleming [Wed, 7 Sep 2005 14:15:37 +0000 (14:15 +0000)]
reset channel volumes when exiting apps that use them

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

14 years agoFix spelling of Accountcode. *wink*
Josh Roberson [Wed, 7 Sep 2005 04:23:15 +0000 (04:23 +0000)]
Fix spelling of Accountcode.  *wink*

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

14 years agoadd note about volume adjustments in app_meetme (new sound files are on their way)
Kevin P. Fleming [Wed, 7 Sep 2005 02:42:12 +0000 (02:42 +0000)]
add note about volume adjustments in app_meetme (new sound files are on their way)

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

14 years agore-add 'listen' volume control
Kevin P. Fleming [Wed, 7 Sep 2005 02:27:58 +0000 (02:27 +0000)]
re-add 'listen' volume control

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

14 years agoanother buglet
Kevin P. Fleming [Wed, 7 Sep 2005 01:55:29 +0000 (01:55 +0000)]
another buglet

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

14 years agoactually do issue #4170 right... it was supposed to adjust talk volume, not listen...
Kevin P. Fleming [Wed, 7 Sep 2005 01:39:11 +0000 (01:39 +0000)]
actually do issue #4170 right... it was supposed to adjust talk volume, not listen volume (sorry)

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

14 years agoadd new channel option (via ast_channel_setoption()) to let channel drivers adjust...
Kevin P. Fleming [Wed, 7 Sep 2005 01:30:01 +0000 (01:30 +0000)]
add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170, heavily modified to actually work on Zap channels)

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

14 years agoAllow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer...
Mark Spencer [Tue, 6 Sep 2005 21:04:40 +0000 (21:04 +0000)]
Allow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer or answer.

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

14 years agoDon't recreate stuff on authentication (so it works on reinvites)
Mark Spencer [Tue, 6 Sep 2005 20:03:31 +0000 (20:03 +0000)]
Don't recreate stuff on authentication (so it works on reinvites)

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

14 years agoFixed possible hangup race condition that would lead to segfualt with hangups.
Matthew Fredrickson [Tue, 6 Sep 2005 17:50:55 +0000 (17:50 +0000)]
Fixed possible hangup race condition that would lead to segfualt with hangups.

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

14 years agofix a warning on osx
Russell Bryant [Mon, 5 Sep 2005 17:46:09 +0000 (17:46 +0000)]
fix a warning on osx

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

14 years agolook in CROSS_COMPILE_TARGET for speex headers (issue #5118)
Russell Bryant [Mon, 5 Sep 2005 15:48:47 +0000 (15:48 +0000)]
look in CROSS_COMPILE_TARGET for speex headers (issue #5118)

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

14 years agorevert unnecessary change
Kevin P. Fleming [Fri, 2 Sep 2005 19:38:08 +0000 (19:38 +0000)]
revert unnecessary change

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

14 years agoensure that OSP-provided call duration limit is honored (issue #5099)
Kevin P. Fleming [Fri, 2 Sep 2005 19:32:20 +0000 (19:32 +0000)]
ensure that OSP-provided call duration limit is honored (issue #5099)

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

14 years agoeliminate compiler warning (issue #5094)
Kevin P. Fleming [Fri, 2 Sep 2005 19:29:18 +0000 (19:29 +0000)]
eliminate compiler warning (issue #5094)

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

14 years agocorrect terminology (issue #5100)
Kevin P. Fleming [Fri, 2 Sep 2005 19:27:01 +0000 (19:27 +0000)]
correct terminology (issue #5100)

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

14 years agoensure that notify message sent out have the correct state (issue #5088 with minor...
Kevin P. Fleming [Fri, 2 Sep 2005 19:24:32 +0000 (19:24 +0000)]
ensure that notify message sent out have the correct state (issue #5088 with minor mods)

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

14 years agouse unsigned char for data elements and native-signed char for strings (issue #5104)
Kevin P. Fleming [Fri, 2 Sep 2005 19:17:19 +0000 (19:17 +0000)]
use unsigned char for data elements and native-signed char for strings (issue #5104)

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

14 years agouse native-sign characters for strings (issue #5105)
Kevin P. Fleming [Fri, 2 Sep 2005 19:15:03 +0000 (19:15 +0000)]
use native-sign characters for strings (issue #5105)

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

14 years agouse matching char types for strings (issue #5106)
Kevin P. Fleming [Fri, 2 Sep 2005 19:12:35 +0000 (19:12 +0000)]
use matching char types for strings (issue #5106)

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

14 years agoFix vidupdate for chan_zap to eliminate sillyl warning
Mark Spencer [Fri, 2 Sep 2005 18:43:36 +0000 (18:43 +0000)]
Fix vidupdate for chan_zap to eliminate sillyl warning

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

14 years agofactor calling-plan-apply logic into a separate function
Kevin P. Fleming [Fri, 2 Sep 2005 18:37:53 +0000 (18:37 +0000)]
factor calling-plan-apply logic into a separate function
apply calling plan to RDNIS

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

14 years agoremove unused header and old comment
Kevin P. Fleming [Fri, 2 Sep 2005 18:07:26 +0000 (18:07 +0000)]
remove unused header and old comment

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

14 years agodoh!
Kevin P. Fleming [Fri, 2 Sep 2005 16:05:53 +0000 (16:05 +0000)]
doh!

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

14 years agomake chan_iax2 rtupdate behave the same as chan_sip
Kevin P. Fleming [Fri, 2 Sep 2005 14:19:36 +0000 (14:19 +0000)]
make chan_iax2 rtupdate behave the same as chan_sip

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

14 years agofix a couple of warnings on osx
Russell Bryant [Fri, 2 Sep 2005 11:39:24 +0000 (11:39 +0000)]
fix a couple of warnings on osx

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

14 years agoallow for custom URI options to be set (issue #4927 with mods)
Kevin P. Fleming [Thu, 1 Sep 2005 23:01:54 +0000 (23:01 +0000)]
allow for custom URI options to be set (issue #4927 with mods)

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

14 years agoallow longer 'busy' tones to be detected (issue #5085)
Kevin P. Fleming [Thu, 1 Sep 2005 22:34:24 +0000 (22:34 +0000)]
allow longer 'busy' tones to be detected (issue #5085)

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

14 years agofix stupid thinko (thanks velter!)
Kevin P. Fleming [Thu, 1 Sep 2005 22:32:29 +0000 (22:32 +0000)]
fix stupid thinko (thanks velter!)

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

14 years agovarious devicestate fixes (issue #5081, take two)
Kevin P. Fleming [Thu, 1 Sep 2005 22:28:33 +0000 (22:28 +0000)]
various devicestate fixes (issue #5081, take two)

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

14 years agodon't try to reference through pvt if it is NULL (issue #5089)
Kevin P. Fleming [Thu, 1 Sep 2005 22:11:02 +0000 (22:11 +0000)]
don't try to reference through pvt if it is NULL (issue #5089)

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

14 years agoensure variable structure is initialized before use (issue #5092)
Kevin P. Fleming [Thu, 1 Sep 2005 22:08:58 +0000 (22:08 +0000)]
ensure variable structure is initialized before use (issue #5092)

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

14 years agodon't send OSP tokens do devices that are not OSP aware (issue #5093)
Kevin P. Fleming [Thu, 1 Sep 2005 22:06:23 +0000 (22:06 +0000)]
don't send OSP tokens do devices that are not OSP aware (issue #5093)

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

14 years agoeliminate the urgent handler message, since it can causing blocking in the stdio...
Kevin P. Fleming [Thu, 1 Sep 2005 22:03:10 +0000 (22:03 +0000)]
eliminate the urgent handler message, since it can causing blocking in the stdio library (issue #5087)

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