asterisk/asterisk.git
18 years agoUpdate sample configuration to show fax detect has to be enabled
Mark Spencer [Mon, 7 Jun 2004 23:38:58 +0000 (23:38 +0000)]
Update sample configuration to show fax detect has to be enabled

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

18 years agoMake faxdetect configurable and turn OFF by default
Mark Spencer [Mon, 7 Jun 2004 23:38:39 +0000 (23:38 +0000)]
Make faxdetect configurable and turn OFF by default

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

18 years agoSimplify trunk transmission path and remove potential race (bug #1802)
Mark Spencer [Mon, 7 Jun 2004 19:48:53 +0000 (19:48 +0000)]
Simplify trunk transmission path and remove potential race (bug #1802)

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

18 years agoZapras fix for BSD (bug #1801)
Mark Spencer [Mon, 7 Jun 2004 19:12:14 +0000 (19:12 +0000)]
Zapras fix for BSD (bug #1801)

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

18 years agofix res_monitor bug
Anthony Minessale II [Mon, 7 Jun 2004 16:51:21 +0000 (16:51 +0000)]
fix res_monitor bug

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

18 years agoMore GR-303 protocol fixes
Mark Spencer [Mon, 7 Jun 2004 15:57:18 +0000 (15:57 +0000)]
More GR-303 protocol fixes

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

18 years agoFix tiny typo
Mark Spencer [Mon, 7 Jun 2004 14:49:25 +0000 (14:49 +0000)]
Fix tiny typo

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

18 years agoInitial, incomplete support for D-channel backup
Mark Spencer [Mon, 7 Jun 2004 03:39:18 +0000 (03:39 +0000)]
Initial, incomplete support for D-channel backup

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

18 years agoUpdate IAXY firmware to version 16 (provides better timestamps)
Mark Spencer [Mon, 7 Jun 2004 02:55:31 +0000 (02:55 +0000)]
Update IAXY firmware to version 16 (provides better timestamps)

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

18 years agoHandle bearer failures cleanly (still need d-channel backup)
Mark Spencer [Sun, 6 Jun 2004 23:26:29 +0000 (23:26 +0000)]
Handle bearer failures cleanly (still need d-channel backup)

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

18 years agoHandle multiple span memberships properly
Mark Spencer [Sun, 6 Jun 2004 22:51:37 +0000 (22:51 +0000)]
Handle multiple span memberships properly

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

18 years agoMust call spanstat before checking number of channels (bug #1796)
Mark Spencer [Sun, 6 Jun 2004 22:22:48 +0000 (22:22 +0000)]
Must call spanstat before checking number of channels (bug #1796)

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

18 years agoFix small arrangement issue
Mark Spencer [Sun, 6 Jun 2004 20:47:51 +0000 (20:47 +0000)]
Fix small arrangement issue

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

18 years agoClearly label EAGAIN as being the UDP checksum error that it is
Mark Spencer [Sun, 6 Jun 2004 17:44:47 +0000 (17:44 +0000)]
Clearly label EAGAIN as being the UDP checksum error that it is

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

18 years agoCan't use the same buffer to snprintf that we're grabbing
Mark Spencer [Sun, 6 Jun 2004 17:36:57 +0000 (17:36 +0000)]
Can't use the same buffer to snprintf that we're grabbing

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

18 years agoDon't require "c" before CRV syntax
Mark Spencer [Sun, 6 Jun 2004 08:52:24 +0000 (08:52 +0000)]
Don't require "c" before CRV syntax

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

18 years agoTry to parse callerid properly on /dev/phone (bug #1788)
Mark Spencer [Sun, 6 Jun 2004 07:01:37 +0000 (07:01 +0000)]
Try to parse callerid properly on /dev/phone (bug #1788)

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

18 years agoSmall fixup for non-PRI build
Mark Spencer [Sun, 6 Jun 2004 03:32:55 +0000 (03:32 +0000)]
Small fixup for non-PRI build

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

18 years agofix D() issue with to short of a duration
Anthony Minessale II [Sun, 6 Jun 2004 02:30:10 +0000 (02:30 +0000)]
fix D() issue with to short of a duration

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

18 years agoAdd bi-directional GR-303 support
Mark Spencer [Sun, 6 Jun 2004 01:54:22 +0000 (01:54 +0000)]
Add bi-directional GR-303 support

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

18 years agoFix voicemail.conf typo (bug #1794)
Mark Spencer [Sat, 5 Jun 2004 23:00:16 +0000 (23:00 +0000)]
Fix voicemail.conf typo (bug #1794)

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

18 years agoAdd ${AVAILORIGCHAN} with original channel name (bug #1793)
Mark Spencer [Sat, 5 Jun 2004 18:42:59 +0000 (18:42 +0000)]
Add ${AVAILORIGCHAN} with original channel name (bug #1793)

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

18 years agoMore small fixes
Mark Spencer [Sat, 5 Jun 2004 07:07:12 +0000 (07:07 +0000)]
More small fixes

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

18 years agoMinor cleanups
Mark Spencer [Sat, 5 Jun 2004 07:01:23 +0000 (07:01 +0000)]
Minor cleanups

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

18 years agoAdd support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work
Mark Spencer [Sat, 5 Jun 2004 06:54:52 +0000 (06:54 +0000)]
Add support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work

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

18 years agoCleanup some formatting in app_agi.c
James Golovich [Fri, 4 Jun 2004 19:01:07 +0000 (19:01 +0000)]
Cleanup some formatting in app_agi.c

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

18 years agoIAX2 fixup, fix res_monitor sillyseg
Mark Spencer [Fri, 4 Jun 2004 18:30:35 +0000 (18:30 +0000)]
IAX2 fixup, fix res_monitor sillyseg

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

18 years agoEnhancements for zaptel+bsd (bug #1781)
Mark Spencer [Fri, 4 Jun 2004 15:44:14 +0000 (15:44 +0000)]
Enhancements for zaptel+bsd (bug #1781)

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

18 years agoGet rid of small copmile warning
Mark Spencer [Thu, 3 Jun 2004 23:44:43 +0000 (23:44 +0000)]
Get rid of small copmile warning

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

18 years agoFix handling when MONITOR_EXEC is unspecified
Mark Spencer [Thu, 3 Jun 2004 23:16:55 +0000 (23:16 +0000)]
Fix handling when MONITOR_EXEC is unspecified

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

18 years agoMake sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)
Mark Spencer [Thu, 3 Jun 2004 22:40:13 +0000 (22:40 +0000)]
Make sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)

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

18 years agoMerge agent callback login/logoff events and logging (bug #1775)
Mark Spencer [Thu, 3 Jun 2004 17:33:35 +0000 (17:33 +0000)]
Merge agent callback login/logoff events and logging (bug #1775)

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

18 years agoInitialize frame for playtones just in case
Mark Spencer [Thu, 3 Jun 2004 17:06:33 +0000 (17:06 +0000)]
Initialize frame for playtones just in case

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

18 years agoMake monitor merge application settable via variable, allow setting of variables...
Mark Spencer [Thu, 3 Jun 2004 15:42:36 +0000 (15:42 +0000)]
Make monitor merge application settable via variable, allow setting of variables via manager interface, allow mix flag to be set via manager (bug #1268)

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

18 years agoWOrk on the proper pointer (bug #1773)
Mark Spencer [Wed, 2 Jun 2004 23:27:50 +0000 (23:27 +0000)]
WOrk on the proper pointer (bug #1773)

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

18 years agoAdd information for IAX on Free World Dialup
Mark Spencer [Wed, 2 Jun 2004 23:19:36 +0000 (23:19 +0000)]
Add information for IAX on Free World Dialup

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

18 years agoAdd 'ListCommands' manager command
James Golovich [Wed, 2 Jun 2004 22:30:42 +0000 (22:30 +0000)]
Add 'ListCommands' manager command

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

18 years agoLock while installign generator
Mark Spencer [Wed, 2 Jun 2004 20:18:18 +0000 (20:18 +0000)]
Lock while installign generator

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

18 years agoAdd description to manager_action structure, and add some comments.
James Golovich [Wed, 2 Jun 2004 20:08:08 +0000 (20:08 +0000)]
Add description to manager_action structure, and add some comments.
Add ast_manager_register2 which adds description as an additional arg
Rework how events are added so they get ordered alphabetically
Add 'show manager command <commandname>' (with tab completion) to
view info on each command

Added descriptions to 'Ping' and 'Originate' but they kinda suck, so we
need other people to come up with good descriptions for each of the
manager commands.

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

18 years agoFix app_read to return string even if not # terminated (bug #1769)
Mark Spencer [Wed, 2 Jun 2004 18:15:24 +0000 (18:15 +0000)]
Fix app_read to return string even if not # terminated (bug #1769)

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

18 years agoUse pseudo channel instead of just /dev/zap/pseudo, now with proper protections ...
Mark Spencer [Wed, 2 Jun 2004 16:57:14 +0000 (16:57 +0000)]
Use pseudo channel instead of just /dev/zap/pseudo, now with proper protections (bug #1766)

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

18 years agoAllocate pseudo channel if it's not explicitly listed
Mark Spencer [Wed, 2 Jun 2004 16:35:06 +0000 (16:35 +0000)]
Allocate pseudo channel if it's not explicitly listed

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

18 years agoCode formatting fixes in chan_zap.c
James Golovich [Wed, 2 Jun 2004 16:13:25 +0000 (16:13 +0000)]
Code formatting fixes in chan_zap.c

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

18 years agoPlay acknowledgement in all cases (bug #1767)
Mark Spencer [Wed, 2 Jun 2004 00:03:49 +0000 (00:03 +0000)]
Play acknowledgement in all cases (bug #1767)

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

18 years agoOops slightly premature
Mark Spencer [Tue, 1 Jun 2004 22:54:18 +0000 (22:54 +0000)]
Oops slightly premature

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

18 years agoUse pseudo channel (but real channel) instead of just directly opening /dev/zap/pseud...
Mark Spencer [Tue, 1 Jun 2004 22:53:52 +0000 (22:53 +0000)]
Use pseudo channel (but real channel) instead of just directly opening /dev/zap/pseudo to enable future meetme enhancements (bug #1766)

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

18 years agoVoicemail fixes (bug #1758)
Mark Spencer [Tue, 1 Jun 2004 19:38:06 +0000 (19:38 +0000)]
Voicemail fixes (bug #1758)

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

18 years agoallow multiple exit characters on control_streamfile, allow '1' to skip envelope
Mark Spencer [Tue, 1 Jun 2004 18:50:18 +0000 (18:50 +0000)]
allow multiple exit characters on control_streamfile, allow '1' to skip envelope

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

18 years agoOnly call the update once
Mark Spencer [Mon, 31 May 2004 23:44:04 +0000 (23:44 +0000)]
Only call the update once

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

18 years agoMore BSD compile fixes (bugs #1754 and #1756)
Mark Spencer [Mon, 31 May 2004 19:40:23 +0000 (19:40 +0000)]
More BSD compile fixes (bugs #1754 and #1756)

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

18 years agoFix compile warning on FreeBSD (bug #1755)
Mark Spencer [Mon, 31 May 2004 17:01:32 +0000 (17:01 +0000)]
Fix compile warning on FreeBSD (bug #1755)

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

18 years agoAdd missing strings include for BSD
Mark Spencer [Mon, 31 May 2004 16:51:28 +0000 (16:51 +0000)]
Add missing strings include for BSD

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

18 years agoTrivial removal of unused variable when not on linux (bug #1753)
Mark Spencer [Mon, 31 May 2004 16:43:35 +0000 (16:43 +0000)]
Trivial removal of unused variable when not on linux (bug #1753)

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

18 years agoComplete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in...
Jim Dixon [Mon, 31 May 2004 16:04:10 +0000 (16:04 +0000)]
Complete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in chan_zap (to allow pseudo-channels to work properly (finally!)) and in dsp.c to allow for super-relaxed DTMF decoding which radio systems need to function properly.

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

18 years agomake sending indications more robust and proper
Jeremy McNamara [Mon, 31 May 2004 02:49:53 +0000 (02:49 +0000)]
make sending indications more robust and proper

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

18 years agoFix lag in diverging clocks (bug #1696)
Mark Spencer [Sun, 30 May 2004 22:22:49 +0000 (22:22 +0000)]
Fix lag in diverging clocks (bug #1696)

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

18 years agoUpdate queue member after end of call (bug #1727)
Mark Spencer [Sun, 30 May 2004 22:10:09 +0000 (22:10 +0000)]
Update queue member after end of call (bug #1727)

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

18 years agoTake member as argument, not lpeer
Mark Spencer [Sun, 30 May 2004 20:43:55 +0000 (20:43 +0000)]
Take member as argument, not lpeer

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

18 years agoFix formatting issues
Mark Spencer [Sun, 30 May 2004 20:38:05 +0000 (20:38 +0000)]
Fix formatting issues

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

18 years agoMinor RTP video fixes, be more careful about closing fd's in meetme (bug #1743)
Mark Spencer [Sun, 30 May 2004 20:24:48 +0000 (20:24 +0000)]
Minor RTP video fixes, be more careful about closing fd's in meetme (bug #1743)

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

18 years agoFixed annoying SIP 'NOTIFY' messages printed on console every n seconds from some...
Jim Dixon [Sun, 30 May 2004 20:03:39 +0000 (20:03 +0000)]
Fixed annoying SIP 'NOTIFY' messages printed on console every n seconds from some SIP peers. Also fixed problem where 'INFO' was not being responded to if in 'ignore' state.

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

18 years agoAllow variable substitution in from string (bug #1741)
Mark Spencer [Sun, 30 May 2004 03:03:19 +0000 (03:03 +0000)]
Allow variable substitution in from string (bug #1741)

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

18 years agoInitialize secrets properly (bug #1748)
Mark Spencer [Sat, 29 May 2004 23:40:22 +0000 (23:40 +0000)]
Initialize secrets properly (bug #1748)

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

18 years agosaw this in valgrind (-tony)
Anthony Minessale II [Sat, 29 May 2004 03:40:35 +0000 (03:40 +0000)]
saw this in valgrind (-tony)

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

18 years agoUse ast_strlen_zero in res_musiconhold.c
James Golovich [Fri, 28 May 2004 19:44:33 +0000 (19:44 +0000)]
Use ast_strlen_zero in res_musiconhold.c

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

18 years agoHopefully last ast_strlen_zero fix in cli.c
James Golovich [Fri, 28 May 2004 19:23:30 +0000 (19:23 +0000)]
Hopefully last ast_strlen_zero fix in cli.c

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

18 years agoUse ast_strlen_zero in privacy.c
James Golovich [Fri, 28 May 2004 19:20:29 +0000 (19:20 +0000)]
Use ast_strlen_zero in privacy.c

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

18 years agoUse ast_strlen_zero in db.c and some optimizations. Lets store the return value...
James Golovich [Fri, 28 May 2004 18:56:23 +0000 (18:56 +0000)]
Use ast_strlen_zero in db.c and some optimizations.  Lets store the return value of strlen and use that rather than using strlen every time, and snprintf returns the length of the string

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

18 years agoReally don't authenticate if we're not supposed to authenticate (bug #1738)
Mark Spencer [Fri, 28 May 2004 15:47:57 +0000 (15:47 +0000)]
Really don't authenticate if we're not supposed to authenticate (bug #1738)

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

18 years agoRinging and progress are not identical
Mark Spencer [Fri, 28 May 2004 02:02:33 +0000 (02:02 +0000)]
Ringing and progress are not identical

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

18 years agoMinor reinvite typo
Mark Spencer [Fri, 28 May 2004 00:52:45 +0000 (00:52 +0000)]
Minor reinvite typo

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

18 years agoOnly print PRI messages when in verbose mode (bug #1732)
Mark Spencer [Thu, 27 May 2004 22:38:13 +0000 (22:38 +0000)]
Only print PRI messages when in verbose mode (bug #1732)

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

18 years agoMerge connor's exit context patch (#1737)
Mark Spencer [Thu, 27 May 2004 22:35:47 +0000 (22:35 +0000)]
Merge connor's exit context patch (#1737)

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

18 years agoMerge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout
Mark Spencer [Thu, 27 May 2004 22:12:55 +0000 (22:12 +0000)]
Merge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout

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

18 years agoFix gross oversights in original ACL patch
Mark Spencer [Thu, 27 May 2004 21:31:25 +0000 (21:31 +0000)]
Fix gross oversights in original ACL patch

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

18 years agoAdd ACL copy routines (bug #1733)
Mark Spencer [Thu, 27 May 2004 20:53:02 +0000 (20:53 +0000)]
Add ACL copy routines (bug #1733)

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

18 years agoUnlock PRI lock, fix variable pasing
Mark Spencer [Thu, 27 May 2004 16:50:07 +0000 (16:50 +0000)]
Unlock PRI lock, fix variable pasing

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

18 years agoDon't count as outgoing until we actually send the new INVITE
Mark Spencer [Thu, 27 May 2004 16:14:46 +0000 (16:14 +0000)]
Don't count as outgoing until we actually send the new INVITE

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

18 years agoMeetme fixes (bug #1729)
Mark Spencer [Thu, 27 May 2004 14:35:26 +0000 (14:35 +0000)]
Meetme fixes (bug #1729)

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

18 years agoDoc fix for controlplayback, get rid of 500ms wait in rtp.c (bug #1589)
Mark Spencer [Thu, 27 May 2004 05:06:32 +0000 (05:06 +0000)]
Doc fix for controlplayback, get rid of 500ms wait in rtp.c (bug #1589)

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

18 years agoMake RTP handle codecs (first pass)
Mark Spencer [Thu, 27 May 2004 04:18:46 +0000 (04:18 +0000)]
Make RTP handle codecs (first pass)

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

18 years agoMore formatting fixes
James Golovich [Thu, 27 May 2004 00:07:18 +0000 (00:07 +0000)]
More formatting fixes

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

18 years agoenhance control_playback to have an app (app_controlplayback) and to allow pause...
Anthony Minessale II [Wed, 26 May 2004 23:56:41 +0000 (23:56 +0000)]
enhance control_playback to have an app (app_controlplayback) and to allow pause (inherited by app_voicemail)

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

18 years agoPerform proper heap bounds checking on skinny messages (bug #1726)
Mark Spencer [Wed, 26 May 2004 23:15:23 +0000 (23:15 +0000)]
Perform proper heap bounds checking on skinny messages (bug #1726)

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

18 years agoCancel destroy request on new invite, merge bkw's control playback changes
Mark Spencer [Wed, 26 May 2004 22:18:59 +0000 (22:18 +0000)]
Cancel destroy request on new invite, merge bkw's control playback changes

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

18 years agooopsie
Jeremy McNamara [Wed, 26 May 2004 19:41:58 +0000 (19:41 +0000)]
oopsie

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

18 years agoUse ast_strlen_zero in manager.c
James Golovich [Wed, 26 May 2004 19:30:12 +0000 (19:30 +0000)]
Use ast_strlen_zero in manager.c

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

18 years agoexplain a proper upgrade sequence (lowering the signal-to-noise ratio again)
Jeremy McNamara [Wed, 26 May 2004 19:28:14 +0000 (19:28 +0000)]
explain a proper upgrade sequence (lowering the signal-to-noise ratio again)

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

18 years agoFix comment in pbx.c
James Golovich [Wed, 26 May 2004 19:24:47 +0000 (19:24 +0000)]
Fix comment in pbx.c

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

18 years agoproperly clean capabilites from the endpoint
Jeremy McNamara [Wed, 26 May 2004 19:14:51 +0000 (19:14 +0000)]
properly clean capabilites from the endpoint

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

18 years agoCancel self destruct on provisional responses too (bug #1722)
Mark Spencer [Wed, 26 May 2004 18:46:36 +0000 (18:46 +0000)]
Cancel self destruct on provisional responses too (bug #1722)

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

18 years agoAdd controlplayback app
Mark Spencer [Wed, 26 May 2004 18:38:10 +0000 (18:38 +0000)]
Add controlplayback app

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

18 years agoFormatting fixes
James Golovich [Wed, 26 May 2004 16:51:25 +0000 (16:51 +0000)]
Formatting fixes

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

18 years agoadd ast_control_streamfile api call
Anthony Minessale II [Wed, 26 May 2004 15:22:54 +0000 (15:22 +0000)]
add ast_control_streamfile api call

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

18 years agocleaned up locking, more logging on locks, still havent worked out why
Ben Kramer [Wed, 26 May 2004 01:29:29 +0000 (01:29 +0000)]
cleaned up locking, more logging on locks, still havent worked out why
locks become screwed if a call isnt Answered before a Dial.

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

18 years agoIt's angler's first patch!
Mark Spencer [Tue, 25 May 2004 15:53:28 +0000 (15:53 +0000)]
It's angler's first patch!

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

18 years agoFix record option to take from the right channel
Mark Spencer [Tue, 25 May 2004 15:37:30 +0000 (15:37 +0000)]
Fix record option to take from the right channel

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

18 years agoHandle debugging of unknown IE's properly
Mark Spencer [Tue, 25 May 2004 15:16:45 +0000 (15:16 +0000)]
Handle debugging of unknown IE's properly

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

18 years agoMake sure transmitted timestamps are solid on trunks (bug #1713)
Mark Spencer [Tue, 25 May 2004 13:57:57 +0000 (13:57 +0000)]
Make sure transmitted timestamps are solid on trunks (bug #1713)

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

18 years agoMerge useragent patch (bug #712)
Mark Spencer [Tue, 25 May 2004 05:36:49 +0000 (05:36 +0000)]
Merge useragent patch (bug #712)

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