asterisk/asterisk.git
14 years agoclean up code, fix a few bugs
Kevin P. Fleming [Wed, 24 Aug 2005 23:10:55 +0000 (23:10 +0000)]
clean up code, fix a few bugs

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

14 years agoclear out memory allocated by LOCAL_USER_ADD/LOCAL_USER_ACF_ADD
Kevin P. Fleming [Wed, 24 Aug 2005 23:10:24 +0000 (23:10 +0000)]
clear out memory allocated by LOCAL_USER_ADD/LOCAL_USER_ACF_ADD

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

14 years agomake AST_LIST_REMOVE_HEAD safer to use
Kevin P. Fleming [Wed, 24 Aug 2005 23:10:06 +0000 (23:10 +0000)]
make AST_LIST_REMOVE_HEAD safer to use

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

14 years agofix build for OpenBSD (bug #5019)
Russell Bryant [Wed, 24 Aug 2005 17:23:44 +0000 (17:23 +0000)]
fix build for OpenBSD (bug #5019)

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

14 years agoprotocol upgrades
Kevin P. Fleming [Wed, 24 Aug 2005 14:24:55 +0000 (14:24 +0000)]
protocol upgrades
shorter timeout during wait() calls
log channel name in all log messages

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

14 years agohandle whitepace around expression
Kevin P. Fleming [Tue, 23 Aug 2005 22:03:24 +0000 (22:03 +0000)]
handle whitepace around expression

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

14 years agodon't reset sipdebug to zero during reload (issue #5000)
Kevin P. Fleming [Tue, 23 Aug 2005 17:59:26 +0000 (17:59 +0000)]
don't reset sipdebug to zero during reload (issue #5000)

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

14 years agomake the warning message be LOG_WARNING (issue #4960)
Kevin P. Fleming [Tue, 23 Aug 2005 17:55:59 +0000 (17:55 +0000)]
make the warning message be LOG_WARNING (issue #4960)

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

14 years agoensure buffer is adequately sized for frames with lots of elements (issue #4974)
Kevin P. Fleming [Tue, 23 Aug 2005 17:38:58 +0000 (17:38 +0000)]
ensure buffer is adequately sized for frames with lots of elements (issue #4974)
various minor formatting/cleanup changes

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

14 years agoallow more adjustability in peer qualification system (issue #4192 with mods)
Kevin P. Fleming [Tue, 23 Aug 2005 17:11:44 +0000 (17:11 +0000)]
allow more adjustability in peer qualification system (issue #4192 with mods)

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

14 years agoadd counter to 'show formats' (issue #5001)
Kevin P. Fleming [Tue, 23 Aug 2005 15:43:47 +0000 (15:43 +0000)]
add counter to 'show formats' (issue #5001)

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

14 years agoadd count to 'show keys' (issue #5002)
Kevin P. Fleming [Tue, 23 Aug 2005 15:41:17 +0000 (15:41 +0000)]
add count to 'show keys' (issue #5002)

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

14 years agofix build on FreeBSD (issue #5003)
Kevin P. Fleming [Tue, 23 Aug 2005 15:36:01 +0000 (15:36 +0000)]
fix build on FreeBSD (issue #5003)

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

14 years agoformatting fixes and compile fix for FreeBSD (issue #5004)
Kevin P. Fleming [Tue, 23 Aug 2005 15:33:27 +0000 (15:33 +0000)]
formatting fixes and compile fix for FreeBSD (issue #5004)

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

14 years agofix buglets in new authentication code (issue #4860)
Kevin P. Fleming [Tue, 23 Aug 2005 15:21:48 +0000 (15:21 +0000)]
fix buglets in new authentication code (issue #4860)

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

14 years agomake MALLOC_DEBUG build work properly (issue #4970 with additional changes)
Kevin P. Fleming [Tue, 23 Aug 2005 15:08:55 +0000 (15:08 +0000)]
make MALLOC_DEBUG build work properly (issue #4970 with additional changes)

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

14 years agoshow global vmexten in 'sip show settings' (issue #5005)
Kevin P. Fleming [Tue, 23 Aug 2005 14:41:51 +0000 (14:41 +0000)]
show global vmexten in 'sip show settings' (issue #5005)

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

14 years agoensure that features are not duplicated during reload (issue #3764, take two)
Kevin P. Fleming [Tue, 23 Aug 2005 14:40:03 +0000 (14:40 +0000)]
ensure that features are not duplicated during reload (issue #3764, take two)

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

14 years agoadd indications for es (bug #4939)
Russell Bryant [Tue, 23 Aug 2005 12:38:48 +0000 (12:38 +0000)]
add indications for es (bug #4939)

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

14 years agodon't require 'make samples' to require code to be built (issue #4997)
Kevin P. Fleming [Tue, 23 Aug 2005 02:30:30 +0000 (02:30 +0000)]
don't require 'make samples' to require code to be built (issue #4997)

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

14 years agoadd ability to map feature sequences to applications (issue #3764)
Kevin P. Fleming [Tue, 23 Aug 2005 02:22:33 +0000 (02:22 +0000)]
add ability to map feature sequences to applications (issue #3764)

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

14 years agodo expensive 'next message number' calculation before playing sounds (issue #4955)
Kevin P. Fleming [Tue, 23 Aug 2005 02:01:37 +0000 (02:01 +0000)]
do expensive 'next message number' calculation before playing sounds (issue #4955)

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

14 years agouse memmove() when memory regions might overlap (issue #4957)
Kevin P. Fleming [Tue, 23 Aug 2005 01:52:38 +0000 (01:52 +0000)]
use memmove() when memory regions might overlap (issue #4957)

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

14 years agohandle on-/off-hold properly with RTP reinvited streams (issue #3974)
Kevin P. Fleming [Tue, 23 Aug 2005 01:50:11 +0000 (01:50 +0000)]
handle on-/off-hold properly with RTP reinvited streams (issue #3974)

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

14 years agoadd 'sip show settings' CLI command (issue #4806)
Kevin P. Fleming [Tue, 23 Aug 2005 01:44:28 +0000 (01:44 +0000)]
add 'sip show settings' CLI command (issue #4806)

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

14 years agodon't try to change run priority, EUID or EGID on restart if they were already set...
Kevin P. Fleming [Tue, 23 Aug 2005 01:37:26 +0000 (01:37 +0000)]
don't try to change run priority, EUID or EGID on restart if they were already set (issue #4734 with minor mods)

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

14 years agomake sure realtime/high scheduling priority is relinquished before executing an AGI...
Kevin P. Fleming [Tue, 23 Aug 2005 01:30:22 +0000 (01:30 +0000)]
make sure realtime/high scheduling priority is relinquished before executing an AGI script (issue #4930)

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

14 years agoreverse commit due to lack of disclaimer
Kevin P. Fleming [Tue, 23 Aug 2005 01:09:49 +0000 (01:09 +0000)]
reverse commit due to lack of disclaimer

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

14 years agomake Record() properly timeout even if no input is received from the channel (issue...
Kevin P. Fleming [Tue, 23 Aug 2005 01:08:07 +0000 (01:08 +0000)]
make Record() properly timeout even if no input is received from the channel (issue #4899)

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

14 years agosupport configurable Message-Account value in NOTIFY messages (issue #4801)
Kevin P. Fleming [Tue, 23 Aug 2005 00:50:38 +0000 (00:50 +0000)]
support configurable Message-Account value in NOTIFY messages (issue #4801)

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

14 years agomake SIGURG handler message more obvious (issue #4878)
Kevin P. Fleming [Mon, 22 Aug 2005 23:06:14 +0000 (23:06 +0000)]
make SIGURG handler message more obvious (issue #4878)

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

14 years agoallow custom dialplan functions to be called from AGI (issue #4855)
Kevin P. Fleming [Mon, 22 Aug 2005 23:00:23 +0000 (23:00 +0000)]
allow custom dialplan functions to be called from AGI (issue #4855)

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

14 years agoadd preliminary support for SIP timers (issue #4359)
Kevin P. Fleming [Mon, 22 Aug 2005 22:55:06 +0000 (22:55 +0000)]
add preliminary support for SIP timers (issue #4359)

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

14 years agomake pager messages configurable (issue #4829)
Kevin P. Fleming [Mon, 22 Aug 2005 22:43:47 +0000 (22:43 +0000)]
make pager messages configurable (issue #4829)

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

14 years agoadd CONTROL STREAM FILE AGI command (issue #4738)
Kevin P. Fleming [Mon, 22 Aug 2005 21:59:24 +0000 (21:59 +0000)]
add CONTROL STREAM FILE AGI command (issue #4738)

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

14 years agoadd text status variable output to SendText() application (issue #4808)
Kevin P. Fleming [Mon, 22 Aug 2005 21:55:46 +0000 (21:55 +0000)]
add text status variable output to SendText() application (issue #4808)

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

14 years agoadd a LOG_DTMF logging channel and send all bridged DTMF events out that channel...
Kevin P. Fleming [Mon, 22 Aug 2005 21:19:59 +0000 (21:19 +0000)]
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835)

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

14 years agoadd SIPCHANINFO function to retrieve information about the current connected SIP...
Kevin P. Fleming [Mon, 22 Aug 2005 21:13:37 +0000 (21:13 +0000)]
add SIPCHANINFO function to retrieve information about the current connected SIP endpoint (issue #4698)

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

14 years agoadd file to ignore list
Kevin P. Fleming [Mon, 22 Aug 2005 20:53:53 +0000 (20:53 +0000)]
add file to ignore list

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

14 years agoadd status output to Transfer() application (issue #4810, with mods)
Kevin P. Fleming [Mon, 22 Aug 2005 20:53:38 +0000 (20:53 +0000)]
add status output to Transfer() application (issue #4810, with mods)

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

14 years agohandle BYE instead of CANCEL from callers (issue #4994)
Kevin P. Fleming [Mon, 22 Aug 2005 19:47:00 +0000 (19:47 +0000)]
handle BYE instead of CANCEL from callers (issue #4994)

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

14 years agosupport new format for musiconhold.conf (issue #4908)
Kevin P. Fleming [Mon, 22 Aug 2005 19:29:29 +0000 (19:29 +0000)]
support new format for musiconhold.conf (issue #4908)
support non-SLINEAR moh streams (issue #4908)
add external app to feed TCP stream into Asterisk for moh (issue #4908)

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

14 years agoadd 'restart' character to ast_control_playback function and ControlPlayback() applic...
Kevin P. Fleming [Mon, 22 Aug 2005 19:06:42 +0000 (19:06 +0000)]
add 'restart' character to ast_control_playback function and ControlPlayback() application (issue #4693)
rework app_controlplayback.c to take into account all Asterisk 1.2 coding style requirements

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

14 years agoadd count to 'show functions' CLI command (issue #4991)
Kevin P. Fleming [Mon, 22 Aug 2005 18:47:19 +0000 (18:47 +0000)]
add count to 'show functions' CLI command (issue #4991)

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

14 years agoadd count of files used to build Asterisk/modules (issue #4992 with text mod)
Kevin P. Fleming [Mon, 22 Aug 2005 18:45:41 +0000 (18:45 +0000)]
add count of files used to build Asterisk/modules (issue #4992 with text mod)

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

14 years agomake 'show modules like' not case sensitive (issue #4990)
Kevin P. Fleming [Mon, 22 Aug 2005 18:43:32 +0000 (18:43 +0000)]
make 'show modules like' not case sensitive (issue #4990)

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

14 years agoAdded support for Yaesu FT-897 HF/VHF/UHF radio and other improvements
Jim Dixon [Mon, 22 Aug 2005 02:38:37 +0000 (02:38 +0000)]
Added support for Yaesu FT-897 HF/VHF/UHF radio and other improvements

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

14 years agoDocument AGI SIGHUP changes
Mark Spencer [Sun, 21 Aug 2005 16:54:43 +0000 (16:54 +0000)]
Document AGI SIGHUP changes

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

14 years agoFix IAX2 Provisioning
Mark Spencer [Fri, 19 Aug 2005 20:04:58 +0000 (20:04 +0000)]
Fix IAX2 Provisioning

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

14 years agofix execiftime and include some code cleanup while we're at it (bug #4380)
Russell Bryant [Fri, 19 Aug 2005 07:12:53 +0000 (07:12 +0000)]
fix execiftime and include some code cleanup while we're at it (bug #4380)

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

14 years agoFix language in d-channel (bug #4979)
Mark Spencer [Fri, 19 Aug 2005 04:23:23 +0000 (04:23 +0000)]
Fix language in d-channel (bug #4979)

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

14 years agoprotect PRI-specific code with ifdefs
Kevin P. Fleming [Wed, 17 Aug 2005 17:52:14 +0000 (17:52 +0000)]
protect PRI-specific code with ifdefs

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

14 years agoFix password change bug (bug #4976)
Mark Spencer [Wed, 17 Aug 2005 15:49:34 +0000 (15:49 +0000)]
Fix password change bug (bug #4976)

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

14 years agotemporarily revert aggressive native bridge attempts
Kevin P. Fleming [Tue, 16 Aug 2005 20:37:27 +0000 (20:37 +0000)]
temporarily revert aggressive native bridge attempts

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

14 years agoDon't catch digits from zaptel during overlap dialing
Matthew Fredrickson [Tue, 16 Aug 2005 16:12:22 +0000 (16:12 +0000)]
Don't catch digits from zaptel during overlap dialing

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

14 years agoAllow Asterisk to start even when eventlog is turned off (bug #4938)
Mark Spencer [Mon, 15 Aug 2005 19:35:25 +0000 (19:35 +0000)]
Allow Asterisk to start even when eventlog is turned off (bug #4938)

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

14 years agoFix description text for IF function. (Bug #4966)
Josh Roberson [Mon, 15 Aug 2005 17:06:30 +0000 (17:06 +0000)]
Fix description text for IF function. (Bug #4966)

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

14 years agoFix PRI against masquerade
Mark Spencer [Mon, 15 Aug 2005 14:57:58 +0000 (14:57 +0000)]
Fix PRI against masquerade

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

14 years agoFix usage text for AGI recieve text (bug #4948)
Josh Roberson [Mon, 15 Aug 2005 02:45:34 +0000 (02:45 +0000)]
Fix usage text for AGI recieve text (bug #4948)

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

14 years agoFix misspelling of "Launching" in pbx.c (Bug #<4964)
Josh Roberson [Mon, 15 Aug 2005 01:56:40 +0000 (01:56 +0000)]
Fix misspelling of "Launching" in pbx.c  (Bug #<4964)

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

14 years agoReorder dnsmgr to before other modules (bug #4927)
Mark Spencer [Sun, 14 Aug 2005 23:47:40 +0000 (23:47 +0000)]
Reorder dnsmgr to before other modules (bug #4927)

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

14 years ago/ fixed bug introduced during bridge code cleanups
Ben Kramer [Sun, 14 Aug 2005 22:56:34 +0000 (22:56 +0000)]
/ fixed bug introduced during bridge code cleanups

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

14 years agoFix build on OpenBSD (bug #4951)
Mark Spencer [Sun, 14 Aug 2005 03:16:06 +0000 (03:16 +0000)]
Fix build on OpenBSD (bug #4951)

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

14 years agoMake sure "now" is initialized (bug #4961)
Mark Spencer [Sun, 14 Aug 2005 03:08:08 +0000 (03:08 +0000)]
Make sure "now" is initialized (bug #4961)

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

14 years agoWhe make_valgrind_happy, initialize dns to 0 before passing to res_ninit (bug #4959)
Mark Spencer [Sun, 14 Aug 2005 02:23:33 +0000 (02:23 +0000)]
Whe make_valgrind_happy, initialize dns to 0 before passing to res_ninit (bug #4959)

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

14 years agoBuild safe_asterisk script substituting the proper path in (bug #4952, patch not...
Mark Spencer [Sun, 14 Aug 2005 02:19:16 +0000 (02:19 +0000)]
Build safe_asterisk script substituting the proper path in (bug #4952, patch not used)

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

14 years agoFix cli matchstr initialization (bug #4958)
Mark Spencer [Sun, 14 Aug 2005 01:48:14 +0000 (01:48 +0000)]
Fix cli matchstr initialization (bug #4958)

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

15 years agoFix accidental RTCP/RTP linkage
Mark Spencer [Fri, 12 Aug 2005 18:59:43 +0000 (18:59 +0000)]
Fix accidental RTCP/RTP linkage

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

15 years agoFix CLI formatting typo (bug #4945)
Mark Spencer [Fri, 12 Aug 2005 18:29:41 +0000 (18:29 +0000)]
Fix CLI formatting typo (bug #4945)

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

15 years agofix bug
Kevin P. Fleming [Thu, 11 Aug 2005 18:34:03 +0000 (18:34 +0000)]
fix bug

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

15 years agoExtend enum buffer sizes (bug #4943)
Mark Spencer [Thu, 11 Aug 2005 18:05:25 +0000 (18:05 +0000)]
Extend enum buffer sizes (bug #4943)

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

15 years agoFix potential deadlock in asterisk
Mark Spencer [Thu, 11 Aug 2005 16:43:36 +0000 (16:43 +0000)]
Fix potential deadlock in asterisk

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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