asterisk/asterisk.git
14 years agoBuild dependencies first
Mark Spencer [Thu, 11 Aug 2005 15:47:41 +0000 (15:47 +0000)]
Build dependencies first

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

14 years agoFix acl compile on solaris (bug #4932)
Mark Spencer [Thu, 11 Aug 2005 05:39:09 +0000 (05:39 +0000)]
Fix acl compile on solaris (bug #4932)

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

14 years agocorrect error Makefile
Kevin P. Fleming [Wed, 10 Aug 2005 23:25:55 +0000 (23:25 +0000)]
correct error Makefile

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

14 years agoadd ExternalIVR() application
Kevin P. Fleming [Wed, 10 Aug 2005 23:24:39 +0000 (23:24 +0000)]
add ExternalIVR() application

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

14 years agofix a little oopsie
Russell Bryant [Tue, 9 Aug 2005 19:31:54 +0000 (19:31 +0000)]
fix a little oopsie

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

14 years agoCentralize and fix tos for IAX (bug #4850 inspired)
Mark Spencer [Tue, 9 Aug 2005 16:41:28 +0000 (16:41 +0000)]
Centralize and fix tos for IAX (bug #4850 inspired)

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

14 years agoAllow ToS to be set in hex (bug #4923)
Mark Spencer [Tue, 9 Aug 2005 16:20:32 +0000 (16:20 +0000)]
Allow ToS to be set in hex (bug #4923)

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

14 years agoeliminate compiler warnings when DEBUG_THREADS is enabled
Kevin P. Fleming [Tue, 9 Aug 2005 15:37:33 +0000 (15:37 +0000)]
eliminate compiler warnings when DEBUG_THREADS is enabled

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

14 years agobridging code cleanups:
Kevin P. Fleming [Tue, 9 Aug 2005 01:59:59 +0000 (01:59 +0000)]
bridging code cleanups:
code style, formatting
use enum/symbolic constants for return codes
efficiency improvements
(zaptel) only disable DTMF detection once per bridge, not every frame
(zaptel) ensure VPM DTMF detector is turned off during native bridge

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

14 years agoDon't wait longer than our timeout for something to happen (bug #4653)
Mark Spencer [Mon, 8 Aug 2005 06:54:36 +0000 (06:54 +0000)]
Don't wait longer than our timeout for something to happen (bug #4653)

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

14 years agoShow callerid in meetme show list (bug #4851 with mods)
Mark Spencer [Mon, 8 Aug 2005 02:32:37 +0000 (02:32 +0000)]
Show callerid in meetme show list (bug #4851 with mods)

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

14 years agoBetter alignment/truncation of show channels output (bug #4741 with extensive mods)
Mark Spencer [Mon, 8 Aug 2005 01:45:29 +0000 (01:45 +0000)]
Better alignment/truncation of show channels output (bug #4741 with extensive mods)

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

14 years agomore pointer signedness fixes for gcc4 warnings
Russell Bryant [Mon, 8 Aug 2005 01:16:44 +0000 (01:16 +0000)]
more pointer signedness fixes for gcc4 warnings

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

14 years agoBe consistent with User/Username (bug #4916)
Mark Spencer [Mon, 8 Aug 2005 00:15:37 +0000 (00:15 +0000)]
Be consistent with User/Username (bug #4916)

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

14 years agoMerge steve's busy detect stuff (bug #4830)
Mark Spencer [Mon, 8 Aug 2005 00:08:48 +0000 (00:08 +0000)]
Merge steve's busy detect stuff (bug #4830)

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

14 years agoFix poll error condition causing memory corruption (bug #4915)
Mark Spencer [Sun, 7 Aug 2005 22:59:04 +0000 (22:59 +0000)]
Fix poll error condition causing memory corruption (bug #4915)

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

14 years agoFix lookup to use proper API call...
Mark Spencer [Sun, 7 Aug 2005 22:32:30 +0000 (22:32 +0000)]
Fix lookup to use proper API call...

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

14 years agoDefault paths properly when building for solaris (bug #4902)
Mark Spencer [Sun, 7 Aug 2005 14:59:41 +0000 (14:59 +0000)]
Default paths properly when building for solaris (bug #4902)

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

14 years agoAllow enumlookup to return a status variable (bug #4788)
Mark Spencer [Sun, 7 Aug 2005 14:45:31 +0000 (14:45 +0000)]
Allow enumlookup to return a status variable (bug #4788)

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

14 years agoDon't record all calls as abandoned (bug #4575) (fixes damage inadvertently added...
Mark Spencer [Sun, 7 Aug 2005 14:11:48 +0000 (14:11 +0000)]
Don't record all calls as abandoned (bug #4575) (fixes damage inadvertently added by bug #4644)

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

14 years agomore fixes for gcc4 warnings ...
Russell Bryant [Sun, 7 Aug 2005 06:47:20 +0000 (06:47 +0000)]
more fixes for gcc4 warnings ...

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

14 years agomore fixes for gcc4 warnings
Russell Bryant [Sun, 7 Aug 2005 06:34:26 +0000 (06:34 +0000)]
more fixes for gcc4 warnings

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

14 years agoRevert improperly applied patch from bug #4771
Mark Spencer [Sun, 7 Aug 2005 04:56:39 +0000 (04:56 +0000)]
Revert improperly applied patch from bug #4771

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

14 years agoremove some sillyness
Russell Bryant [Sat, 6 Aug 2005 17:09:18 +0000 (17:09 +0000)]
remove some sillyness

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

14 years agoProperly handle | within ()'s when doing app arg parsing... (bug #4911)
Mark Spencer [Sat, 6 Aug 2005 16:52:56 +0000 (16:52 +0000)]
Properly handle | within ()'s when doing app arg parsing... (bug #4911)

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

14 years agoFix timestamp + trunking (bug #4891)
Mark Spencer [Sat, 6 Aug 2005 14:53:14 +0000 (14:53 +0000)]
Fix timestamp + trunking (bug #4891)

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

14 years agoformatting fixes
Russell Bryant [Sat, 6 Aug 2005 06:40:05 +0000 (06:40 +0000)]
formatting fixes

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

14 years agoFix newline issue (bug #4632)
Mark Spencer [Fri, 5 Aug 2005 21:44:19 +0000 (21:44 +0000)]
Fix newline issue (bug #4632)

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

14 years agofix a bunch of gcc4 warnings realted to pointer signedness
Russell Bryant [Fri, 5 Aug 2005 16:29:30 +0000 (16:29 +0000)]
fix a bunch of gcc4 warnings realted to pointer signedness

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

14 years agofix seg fault if no variable is specified (bug #4907)
Russell Bryant [Fri, 5 Aug 2005 15:19:51 +0000 (15:19 +0000)]
fix seg fault if no variable is specified (bug #4907)

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

14 years agofix seg fault
Russell Bryant [Fri, 5 Aug 2005 07:03:35 +0000 (07:03 +0000)]
fix seg fault

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

14 years agoensure that strings.h has va_list defined (bug #4900)
Russell Bryant [Thu, 4 Aug 2005 20:13:55 +0000 (20:13 +0000)]
ensure that strings.h has va_list defined (bug #4900)

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

14 years agothere is no reason to check the channeltype of the channel calling SIPAddHeader
Russell Bryant [Thu, 4 Aug 2005 20:03:45 +0000 (20:03 +0000)]
there is no reason to check the channeltype of the channel calling SIPAddHeader
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug #4896)

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

14 years ago'outgress' should be 'egress'
Russell Bryant [Thu, 4 Aug 2005 17:33:21 +0000 (17:33 +0000)]
'outgress' should be 'egress'

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

14 years agoonly check for an existing cdr when about to set an arbitrary cdr variable (bug ...
Russell Bryant [Wed, 3 Aug 2005 21:34:48 +0000 (21:34 +0000)]
only check for an existing cdr when about to set an arbitrary cdr variable (bug #4848)

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

14 years agoBe sure not to leak frames in certain cases
Mark Spencer [Wed, 3 Aug 2005 20:17:53 +0000 (20:17 +0000)]
Be sure not to leak frames in certain cases

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

14 years agoFix documentation of overridecontext (bug #4379)
Mark Spencer [Wed, 3 Aug 2005 19:58:34 +0000 (19:58 +0000)]
Fix documentation of overridecontext (bug #4379)

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

14 years agoRemove queue/session co-locking until deadlocks are properly resolved
Mark Spencer [Wed, 3 Aug 2005 18:25:23 +0000 (18:25 +0000)]
Remove queue/session co-locking until deadlocks are properly resolved

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

14 years agoAdd extra aliases from RFC4028 and RFC3841 (bug #4889)
Mark Spencer [Wed, 3 Aug 2005 18:05:40 +0000 (18:05 +0000)]
Add extra aliases from RFC4028 and RFC3841 (bug #4889)

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

14 years agoFix solaris vasprintf (don't free the memory, duh) (bug #4890)
Mark Spencer [Wed, 3 Aug 2005 17:36:46 +0000 (17:36 +0000)]
Fix solaris vasprintf (don't free the memory, duh) (bug #4890)

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

14 years agoImprove RTP comments (bug #4792 with mods)
Mark Spencer [Wed, 3 Aug 2005 05:00:42 +0000 (05:00 +0000)]
Improve RTP comments (bug #4792 with mods)

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

14 years agoFix some astmm formatting and path issues (bug #4753)
Mark Spencer [Wed, 3 Aug 2005 04:50:09 +0000 (04:50 +0000)]
Fix some astmm formatting and path issues (bug #4753)

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

14 years agoFix timestamp issue with features (bug #4760 with mods)
Mark Spencer [Wed, 3 Aug 2005 04:42:59 +0000 (04:42 +0000)]
Fix timestamp issue with features (bug #4760 with mods)

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

14 years agoRevert a portion of oej's patch...
Mark Spencer [Wed, 3 Aug 2005 04:32:09 +0000 (04:32 +0000)]
Revert a portion of oej's patch...

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

14 years agoDon't ignore ACk packets (bug #4861)
Mark Spencer [Wed, 3 Aug 2005 04:26:10 +0000 (04:26 +0000)]
Don't ignore ACk packets (bug #4861)

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

14 years agoFix issue with say digit str (bug #4883)
Mark Spencer [Wed, 3 Aug 2005 04:23:58 +0000 (04:23 +0000)]
Fix issue with say digit str (bug #4883)

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

14 years agoFix sighup with AGI (bug #4854)
Mark Spencer [Wed, 3 Aug 2005 04:17:12 +0000 (04:17 +0000)]
Fix sighup with AGI (bug #4854)

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

14 years agoMove to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with...
Mark Spencer [Wed, 3 Aug 2005 04:11:52 +0000 (04:11 +0000)]
Move to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with changes)

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

14 years agoReduce number of calls to get method (bug #4863)
Mark Spencer [Wed, 3 Aug 2005 03:50:53 +0000 (03:50 +0000)]
Reduce number of calls to get method (bug #4863)

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

14 years agoFix voicemail crash (bug #4800)
Mark Spencer [Wed, 3 Aug 2005 02:45:30 +0000 (02:45 +0000)]
Fix voicemail crash (bug #4800)

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

14 years agoFix qop syntax (bug #4822)
Mark Spencer [Wed, 3 Aug 2005 02:34:57 +0000 (02:34 +0000)]
Fix qop syntax (bug #4822)

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

14 years agoFix AEL max character bug (bug #4837)
Mark Spencer [Wed, 3 Aug 2005 02:26:19 +0000 (02:26 +0000)]
Fix AEL max character bug (bug #4837)

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

14 years agoFix vasnprintf emulation (bug #4882)
Mark Spencer [Wed, 3 Aug 2005 02:07:25 +0000 (02:07 +0000)]
Fix vasnprintf emulation (bug #4882)

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

14 years agoRemove from maekfile, too
Mark Spencer [Tue, 2 Aug 2005 11:57:29 +0000 (11:57 +0000)]
Remove from maekfile, too

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

14 years agoThis script is now useless...
Mark Spencer [Tue, 2 Aug 2005 11:57:06 +0000 (11:57 +0000)]
This script is now useless...

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

14 years agoFix newsignal/newcontrol compile issue. Bug #4867
Jeremy McNamara [Tue, 2 Aug 2005 03:25:28 +0000 (03:25 +0000)]
Fix newsignal/newcontrol compile issue. Bug #4867

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

14 years agofix warning (bug #4807)
Russell Bryant [Mon, 1 Aug 2005 15:01:11 +0000 (15:01 +0000)]
fix warning (bug #4807)

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

14 years agoadd info on asterisk.ctl (bug #4864)
Russell Bryant [Mon, 1 Aug 2005 14:55:06 +0000 (14:55 +0000)]
add info on asterisk.ctl (bug #4864)

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

14 years agomake sure that iaxs gets initialized (bug #4856)
Russell Bryant [Mon, 1 Aug 2005 14:46:14 +0000 (14:46 +0000)]
make sure that iaxs gets initialized (bug #4856)

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

14 years agoMake sure we don't close a mailbox if we didn't open one (bug #4800)
Mark Spencer [Mon, 1 Aug 2005 11:09:03 +0000 (11:09 +0000)]
Make sure we don't close a mailbox if we didn't open one (bug #4800)

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

14 years agoMinor voicemail fixup (related to 4800, but not the fix yet)
Mark Spencer [Mon, 1 Aug 2005 11:03:09 +0000 (11:03 +0000)]
Minor voicemail fixup (related to 4800, but not the fix yet)

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

14 years agoAdd periodic announcement (bug #4677 with mods)
Mark Spencer [Sun, 31 Jul 2005 22:07:58 +0000 (22:07 +0000)]
Add periodic announcement (bug #4677 with mods)

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

14 years agoFix monitoring when channel redirected (bug #3809, patch redone)
Mark Spencer [Sun, 31 Jul 2005 21:27:21 +0000 (21:27 +0000)]
Fix monitoring when channel redirected (bug #3809, patch redone)

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

14 years agofix netbsd compilation issue
Russell Bryant [Sat, 30 Jul 2005 19:12:30 +0000 (19:12 +0000)]
fix netbsd compilation issue

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

14 years agomake GROUP set group@categroy instead of category@group
Russell Bryant [Thu, 28 Jul 2005 21:16:02 +0000 (21:16 +0000)]
make GROUP set group@categroy instead of category@group
ensure that GROUP_COUNT still returns "0", even if no group was found

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

14 years agoFix music on hold leak (bug #4842)
Mark Spencer [Thu, 28 Jul 2005 18:37:55 +0000 (18:37 +0000)]
Fix music on hold leak (bug #4842)

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

14 years agoDon't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)
Mark Spencer [Thu, 28 Jul 2005 18:24:04 +0000 (18:24 +0000)]
Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)

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

14 years agoRemove per-context maxmsg which should never have made it in (bug #4843)
Mark Spencer [Thu, 28 Jul 2005 18:14:13 +0000 (18:14 +0000)]
Remove per-context maxmsg which should never have made it in (bug #4843)

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

14 years agoremove useless call to time() and an extra variable when we can just use the
Russell Bryant [Wed, 27 Jul 2005 23:05:52 +0000 (23:05 +0000)]
remove useless call to time() and an extra variable when we can just use the
one we already have

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

14 years agothe time must be initialized for the 'n' option to actually work (bug #4834)
Russell Bryant [Wed, 27 Jul 2005 22:55:48 +0000 (22:55 +0000)]
the time must be initialized for the 'n' option to actually work (bug #4834)

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

14 years agodon't crash if no group is specified (bug #4836)
Russell Bryant [Wed, 27 Jul 2005 22:43:18 +0000 (22:43 +0000)]
don't crash if no group is specified (bug #4836)

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

14 years agofix warning
Russell Bryant [Wed, 27 Jul 2005 22:19:49 +0000 (22:19 +0000)]
fix warning

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

14 years agouse Set instead of SetVar in the sample so that we don't get warnings when
Russell Bryant [Wed, 27 Jul 2005 05:45:52 +0000 (05:45 +0000)]
use Set instead of SetVar in the sample so that we don't get warnings when
running the demo :-)

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

14 years agoStomp on deadlock. Bug #4555
Jeremy McNamara [Wed, 27 Jul 2005 04:45:11 +0000 (04:45 +0000)]
Stomp on deadlock. Bug #4555

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

14 years agoone-way-audio problem on multihomed host with bind to secondary address. Bug #4505
Jeremy McNamara [Wed, 27 Jul 2005 04:39:53 +0000 (04:39 +0000)]
one-way-audio problem on multihomed host with bind to secondary address. Bug #4505

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

14 years agoand now we know why #define-ing constants and trying to keep them in sequence is...
Kevin P. Fleming [Wed, 27 Jul 2005 02:17:06 +0000 (02:17 +0000)]
and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...

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

14 years agofix breakage that was causing PUBLISH to be sent instead of CANCEL
Kevin P. Fleming [Wed, 27 Jul 2005 00:58:54 +0000 (00:58 +0000)]
fix breakage that was causing PUBLISH to be sent instead of CANCEL

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

14 years agoadd a few const's
Kevin P. Fleming [Wed, 27 Jul 2005 00:32:37 +0000 (00:32 +0000)]
add a few const's

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

14 years agoenhance SIP_PEER function to return additional items (bug #4816)
Kevin P. Fleming [Tue, 26 Jul 2005 22:13:31 +0000 (22:13 +0000)]
enhance SIP_PEER function to return additional items (bug #4816)

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

14 years agoadditional documentation of options (bug #4811)
Kevin P. Fleming [Tue, 26 Jul 2005 22:05:50 +0000 (22:05 +0000)]
additional documentation of options (bug #4811)

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

14 years agowarn users about voicemail menu structure change
Kevin P. Fleming [Tue, 26 Jul 2005 21:57:32 +0000 (21:57 +0000)]
warn users about voicemail menu structure change

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

14 years agomake queue and interface name matching case-insensitive (bug #4815)
Kevin P. Fleming [Tue, 26 Jul 2005 21:53:56 +0000 (21:53 +0000)]
make queue and interface name matching case-insensitive (bug #4815)

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

14 years agocorrect comment
Kevin P. Fleming [Tue, 26 Jul 2005 21:49:07 +0000 (21:49 +0000)]
correct comment

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

14 years agoadd a global option to disable priority jumping in applications (when they get update...
Kevin P. Fleming [Tue, 26 Jul 2005 16:29:56 +0000 (16:29 +0000)]
add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled

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

14 years agofix build issue for FreeBSD (bug #4802)
Russell Bryant [Tue, 26 Jul 2005 14:40:41 +0000 (14:40 +0000)]
fix build issue for FreeBSD (bug #4802)

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

14 years agoclean up SIP response and pedantic REGISTER matching (bug #3663)
Kevin P. Fleming [Mon, 25 Jul 2005 23:26:47 +0000 (23:26 +0000)]
clean up SIP response and pedantic REGISTER matching (bug #3663)

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

14 years agoadd explanatory comment about timestamp compensation (bug #4763)
Kevin P. Fleming [Mon, 25 Jul 2005 23:13:20 +0000 (23:13 +0000)]
add explanatory comment about timestamp compensation (bug #4763)

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

14 years agoprocess asterisk.conf in a single pass, instead of twice (bug #4689)
Kevin P. Fleming [Mon, 25 Jul 2005 23:09:13 +0000 (23:09 +0000)]
process asterisk.conf in a single pass, instead of twice (bug #4689)

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

14 years agodon't set the event mask if the given eventmask was not valid
Russell Bryant [Mon, 25 Jul 2005 23:01:39 +0000 (23:01 +0000)]
don't set the event mask if the given eventmask was not valid

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

14 years agomake sure a reponse is sent when setting the EventMask to on (bug #4799)
Russell Bryant [Mon, 25 Jul 2005 22:58:34 +0000 (22:58 +0000)]
make sure a reponse is sent when setting the EventMask to on (bug #4799)

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

14 years agouse CDR API calls instead of re-implementing them (bug #4726)
Kevin P. Fleming [Mon, 25 Jul 2005 22:56:18 +0000 (22:56 +0000)]
use CDR API calls instead of re-implementing them (bug #4726)

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

14 years agomore extensive documentation (bug #4444)
Kevin P. Fleming [Mon, 25 Jul 2005 22:52:25 +0000 (22:52 +0000)]
more extensive documentation (bug #4444)

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

14 years agoadd some basic documentation about asterisk.conf (bug #4758, rewritten)
Kevin P. Fleming [Mon, 25 Jul 2005 22:38:54 +0000 (22:38 +0000)]
add some basic documentation about asterisk.conf (bug #4758, rewritten)

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

14 years agoallow longer file version strings (bug #4765)
Kevin P. Fleming [Mon, 25 Jul 2005 22:19:13 +0000 (22:19 +0000)]
allow longer file version strings (bug #4765)

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

14 years agoset the 'number complete' bit properly (bug #4771)
Kevin P. Fleming [Mon, 25 Jul 2005 22:16:35 +0000 (22:16 +0000)]
set the 'number complete' bit properly (bug #4771)

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

14 years agoformatting cleanups (bug #4782)
Kevin P. Fleming [Mon, 25 Jul 2005 22:13:32 +0000 (22:13 +0000)]
formatting cleanups (bug #4782)
fill out some Manager events with additional headers (bug #4782)
re-word some log messages to be clearer (bug #4782)

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

14 years agoadd dedicated function for adding Content-Length header (bug #4795)
Kevin P. Fleming [Mon, 25 Jul 2005 21:58:32 +0000 (21:58 +0000)]
add dedicated function for adding Content-Length header (bug #4795)
use ast_build_string to build large text bodies (bug #4795)

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

14 years agoremove the need to have the BUSYDETECT routine defined in the CFLAGS unless
Russell Bryant [Mon, 25 Jul 2005 21:57:14 +0000 (21:57 +0000)]
remove the need to have the BUSYDETECT routine defined in the CFLAGS unless
you want to use one other than the default

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

14 years ago_really_ rewrite get_in_brackets to do the right thing (including skipping escaped...
Kevin P. Fleming [Mon, 25 Jul 2005 21:40:17 +0000 (21:40 +0000)]
_really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)

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

14 years agoformatting and callingpres support (bug #4787)
Russell Bryant [Mon, 25 Jul 2005 20:04:46 +0000 (20:04 +0000)]
formatting and callingpres support (bug #4787)

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