asterisk/asterisk.git
14 years agoMerged revisions 34911 via svnmerge from
Joshua Colp [Mon, 19 Jun 2006 20:29:08 +0000 (20:29 +0000)]
Merged revisions 34911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines

Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)

........

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

14 years agoMerged revisions 34875 via svnmerge from
Tilghman Lesher [Mon, 19 Jun 2006 18:11:04 +0000 (18:11 +0000)]
Merged revisions 34875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34875 | tilghman | 2006-06-19 13:07:26 -0500 (Mon, 19 Jun 2006) | 2 lines

Issue 7357 - txt file left behind when going to operator.  Also, fix a possible file descriptor leak.

........

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

14 years agovarious cleanups, remove support for CVS checkouts
Kevin P. Fleming [Mon, 19 Jun 2006 15:17:32 +0000 (15:17 +0000)]
various cleanups, remove support for CVS checkouts

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

14 years agocopy the definition of ast_strdupa and use it instead of strdupa to fix the
Russell Bryant [Mon, 19 Jun 2006 14:24:35 +0000 (14:24 +0000)]
copy the definition of ast_strdupa and use it instead of strdupa to fix the
build on systems that don't have it, such as mac

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

14 years agowhen we get a disconnect, we should stop the tones on te side..
Christian Richter [Mon, 19 Jun 2006 09:44:04 +0000 (09:44 +0000)]
when we get a disconnect, we should stop the tones on te side..

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

14 years agowe need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too
Christian Richter [Mon, 19 Jun 2006 07:36:18 +0000 (07:36 +0000)]
we need to send DISCONNECT on Timeout in the ALERTING/PROCEEDING cases too

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

14 years agodon't blow up in the sub Makefiles if menuselect.makeopts is not present. This
Russell Bryant [Mon, 19 Jun 2006 00:14:16 +0000 (00:14 +0000)]
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean".

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

14 years agoNo need to have debug enabled by default anymore..
North Antara [Sun, 18 Jun 2006 23:18:34 +0000 (23:18 +0000)]
No need to have debug enabled by default anymore..

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

14 years agoFinally merge chan_skinny fixes into trunk.
North Antara [Sun, 18 Jun 2006 22:36:39 +0000 (22:36 +0000)]
Finally merge chan_skinny fixes into trunk.

ready...set...GO!

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

14 years agohandle ast_calloc failure and tweak some formatting to comply with coding
Russell Bryant [Sun, 18 Jun 2006 21:45:48 +0000 (21:45 +0000)]
handle ast_calloc failure and tweak some formatting to comply with coding
guidelines (issue #7341, casper)

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

14 years agomerge changes from team/murf/AEL-trunk-fixesonly
Russell Bryant [Sun, 18 Jun 2006 21:36:24 +0000 (21:36 +0000)]
merge changes from team/murf/AEL-trunk-fixesonly
 - fix callerid matching for extensions
 - fix nested switch statements
 - fix compilation with bison 2.1a or higher
(issue #7309)

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

14 years agofix a polish voicemail bug with saying dates (issue #7389, supczinskib)
Russell Bryant [Sun, 18 Jun 2006 21:26:48 +0000 (21:26 +0000)]
fix a polish voicemail bug with saying dates (issue #7389, supczinskib)

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

14 years agobail if ast_calloc fails, this was done before but i accidently removed it when
Russell Bryant [Sun, 18 Jun 2006 21:24:35 +0000 (21:24 +0000)]
bail if ast_calloc fails, this was done before but i accidently removed it when
moving these allocations so duplicate error messages were not produced
(issue #7345)

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

14 years agoBlocked revisions 34655 via svnmerge
Russell Bryant [Sun, 18 Jun 2006 21:05:40 +0000 (21:05 +0000)]
Blocked revisions 34655 via svnmerge

........
r34655 | russell | 2006-06-18 17:03:58 -0400 (Sun, 18 Jun 2006) | 3 lines

don't set state to BUSY if the channel is already in the UP state
(issue #7376, backported from trunk)

........

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

14 years agofix various coding guidelines issues (issue #7345, with additional changes)
Russell Bryant [Sun, 18 Jun 2006 20:51:14 +0000 (20:51 +0000)]
fix various coding guidelines issues (issue #7345, with additional changes)

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

14 years agouse the CFLAGS from the main Makefile when building libdb1
Russell Bryant [Sun, 18 Jun 2006 20:41:32 +0000 (20:41 +0000)]
use the CFLAGS from the main Makefile when building libdb1
(issue #7324, with mods)

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

14 years agothere is no reason to build and link stdtime/libtime.a because we already
Russell Bryant [Sun, 18 Jun 2006 20:33:53 +0000 (20:33 +0000)]
there is no reason to build and link stdtime/libtime.a because we already
directly include stdtime/localtime.o in the OBJS for asterisk, which is the
only object file for libtime

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

14 years agoMerged revisions 34627 via svnmerge from
Russell Bryant [Sun, 18 Jun 2006 20:18:41 +0000 (20:18 +0000)]
Merged revisions 34627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34627 | russell | 2006-06-18 16:15:15 -0400 (Sun, 18 Jun 2006) | 5 lines

don't store multiple secrets delimited with semicolons for peers because this
is only valid for users. Instead, only keep the last specified secret for a
peer entry. Also, document how multiple secrets are handled in the sample
config. (Reported by PCadach on #asterisk-bugs)

........

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

14 years agoadded TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones...
Christian Richter [Sun, 18 Jun 2006 19:09:32 +0000 (19:09 +0000)]
added TONE_HANGUP, also added Tone generation by mISDN_dsp for post hangup tones, therefore the TONE_X defines are in the isdn_lib.h now. changed a REALEASE to a DISCONNECT in NT Stack, to make tones available in that state.

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

14 years agocommit russell's menuselect/buildoptions work with some changes:
Kevin P. Fleming [Sun, 18 Jun 2006 12:52:08 +0000 (12:52 +0000)]
commit russell's menuselect/buildoptions work with some changes:
  reverted per-directory .cleancount support
  added ability for 'remove_on_change' to support multiple filenames
  add 'remove_on_change' support to members, not just categories
  only do 'remove_on_change' removals if the config is actually saved
  add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear

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

14 years ago* fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
Christian Richter [Sat, 17 Jun 2006 10:37:35 +0000 (10:37 +0000)]
* fixed bchannel cleaning race condition with new bchannel state (CLEAN_REQUEST)
* added early bridge-hook, so we know if we need to generate ringing or
  can take it from the far end chan_misdn channel (if available)
* fixed the issue, that we may not activate the bchannel on PTMP,
  when we receive ALERTING/PROCEEDING/PROGRESS, only on CONNECT. There might
  be other PTMP devices and we might disturb their bchannel.

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

14 years agoremove IMAP_STORAGE from the build options list for app_voicemail since it's
Russell Bryant [Fri, 16 Jun 2006 17:53:26 +0000 (17:53 +0000)]
remove IMAP_STORAGE from the build options list for app_voicemail since it's
not in trunk yet

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

14 years agoremove prototypes for static functions and fix some potential memory leaks
Russell Bryant [Fri, 16 Jun 2006 16:58:51 +0000 (16:58 +0000)]
remove prototypes for static functions and fix some potential memory leaks

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

14 years agoremove "depend" from the "all" targets in sub Makefiles. The main Makefile
Russell Bryant [Fri, 16 Jun 2006 16:54:00 +0000 (16:54 +0000)]
remove "depend" from the "all" targets in sub Makefiles.  The main Makefile
already calls "make depend" for each of the subdirectories

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

14 years agoFix adsi target in main Makefile and check a variable properly (issue #7369 reported...
Joshua Colp [Fri, 16 Jun 2006 16:45:52 +0000 (16:45 +0000)]
Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper)

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

14 years agoHandle failure of ast_calloc when allocating interfaces in res_smdi (issue #7344...
Joshua Colp [Fri, 16 Jun 2006 16:30:42 +0000 (16:30 +0000)]
Handle failure of ast_calloc when allocating interfaces in res_smdi (issue #7344 reported by casper)

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

14 years agoAdd bulgarian indications (issue #7314 reported by KNK)
Joshua Colp [Fri, 16 Jun 2006 16:23:13 +0000 (16:23 +0000)]
Add bulgarian indications (issue #7314 reported by KNK)

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

14 years agoadd support for setting the CFLAGS for voicemail storage options in menuselect
Russell Bryant [Fri, 16 Jun 2006 16:17:43 +0000 (16:17 +0000)]
add support for setting the CFLAGS for voicemail storage options in menuselect

Thanks to kpfleming for the Makefile magic :)

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

14 years agoUpdate the RADIUS CDR module documentation (issue #7377 reported by phsultan)
Joshua Colp [Fri, 16 Jun 2006 16:16:21 +0000 (16:16 +0000)]
Update the RADIUS CDR module documentation (issue #7377 reported by phsultan)

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

14 years ago Fixed per kpfleming's suggestion to asterisk-dev.
BJ Weschke [Fri, 16 Jun 2006 12:56:03 +0000 (12:56 +0000)]
 Fixed per kpfleming's suggestion to asterisk-dev.

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

14 years ago Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local...
BJ Weschke [Fri, 16 Jun 2006 12:55:18 +0000 (12:55 +0000)]
 Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local channel that's been improperly defined.

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

14 years ago Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was...
BJ Weschke [Fri, 16 Jun 2006 12:24:14 +0000 (12:24 +0000)]
 Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)

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

14 years ago Don't ast_request a channel structure twice when a call is being forwarded. (#7362...
BJ Weschke [Fri, 16 Jun 2006 12:18:18 +0000 (12:18 +0000)]
 Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)

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

14 years agoDon't force a busy state that will break channel signalling if the channel
Olle Johansson [Fri, 16 Jun 2006 06:25:26 +0000 (06:25 +0000)]
Don't force a busy state that will break channel signalling if the channel
already is up. (Reported by Steve Davies in e-mail, waiting for 1.2 approval)

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

14 years agoMerged revisions 34400 via svnmerge from
Joshua Colp [Fri, 16 Jun 2006 03:38:24 +0000 (03:38 +0000)]
Merged revisions 34400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34400 | file | 2006-06-16 00:37:05 -0300 (Fri, 16 Jun 2006) | 2 lines

Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)

........

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

14 years agobuild menuselect objects with -Wall and remove an unused variable
Russell Bryant [Fri, 16 Jun 2006 00:14:46 +0000 (00:14 +0000)]
build menuselect objects with -Wall and remove an unused variable

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

14 years agoremove prototypes for private functions and make functions and variables not
Russell Bryant [Thu, 15 Jun 2006 23:40:55 +0000 (23:40 +0000)]
remove prototypes for private functions and make functions and variables not
used outside of this file static

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

14 years agoBlock patch for 1.2 already fixed in trunk, but in another way
Olle Johansson [Thu, 15 Jun 2006 14:14:23 +0000 (14:14 +0000)]
Block patch for 1.2 already fixed in trunk, but in another way

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

14 years agoMerged revisions 34274 via svnmerge from
Kevin P. Fleming [Thu, 15 Jun 2006 13:35:04 +0000 (13:35 +0000)]
Merged revisions 34274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34274 | kpfleming | 2006-06-15 08:30:22 -0500 (Thu, 15 Jun 2006) | 3 lines

don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object

........

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

14 years agoHoppsan!
Olle Johansson [Thu, 15 Jun 2006 13:00:55 +0000 (13:00 +0000)]
Hoppsan!

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

14 years agoMerged revisions 34242 via svnmerge from
Tilghman Lesher [Thu, 15 Jun 2006 12:41:24 +0000 (12:41 +0000)]
Merged revisions 34242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34242 | tilghman | 2006-06-15 07:40:10 -0500 (Thu, 15 Jun 2006) | 3 lines

VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).

........

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

14 years agoast_calloc() already reports OOM conditions
Tilghman Lesher [Thu, 15 Jun 2006 12:30:45 +0000 (12:30 +0000)]
ast_calloc() already reports OOM conditions

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

14 years agoast_calloc already reports out of memory conditions (issue 7343)
Tilghman Lesher [Thu, 15 Jun 2006 12:26:50 +0000 (12:26 +0000)]
ast_calloc already reports out of memory conditions (issue 7343)

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

14 years ago- Do not require a space at the end of the m= string in a T38 re-invite
Olle Johansson [Thu, 15 Jun 2006 06:35:55 +0000 (06:35 +0000)]
- Do not require a space at the end of the m= string in a T38 re-invite
  Bug reported in the t38 issue report, but by mistake ignored before commit.
  Thanks to everyone informing me about this, and Corydon for helping me sort
  out sscanf :-)

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

14 years agouse the proper named constants for checking device state, and don't treat UNKNOWN...
Kevin P. Fleming [Wed, 14 Jun 2006 23:24:26 +0000 (23:24 +0000)]
use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode

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

14 years agovarious coding style cleanup and minor fixes
Kevin P. Fleming [Wed, 14 Jun 2006 23:20:08 +0000 (23:20 +0000)]
various coding style cleanup and minor fixes

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

14 years agomake Local channel return sensible device state values
Kevin P. Fleming [Wed, 14 Jun 2006 22:39:19 +0000 (22:39 +0000)]
make Local channel return sensible device state values

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

14 years agoMerged revisions 34159-34160 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 22:35:49 +0000 (22:35 +0000)]
Merged revisions 34159-34160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34159 | kpfleming | 2006-06-14 17:17:37 -0500 (Wed, 14 Jun 2006) | 2 lines

use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names

........
r34160 | kpfleming | 2006-06-14 17:22:21 -0500 (Wed, 14 Jun 2006) | 2 lines

coding style cleanups on queue interface handling code that was committed for the last release

........

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

14 years agoAdd some debug logging
Olle Johansson [Wed, 14 Jun 2006 15:15:29 +0000 (15:15 +0000)]
Add some debug logging

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

14 years ago- Use our standard of doxygen comments, not javadoc style
Olle Johansson [Wed, 14 Jun 2006 14:46:19 +0000 (14:46 +0000)]
- Use our standard of doxygen comments, not javadoc style
- small reformatting changes

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

14 years agoMerged revisions 34087 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 14:12:56 +0000 (14:12 +0000)]
Merged revisions 34087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34087 | kpfleming | 2006-06-14 09:07:53 -0500 (Wed, 14 Jun 2006) | 2 lines

clarify file headers that mention disclaimer usage

........

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

14 years agoFormatting fixes
Olle Johansson [Wed, 14 Jun 2006 11:40:31 +0000 (11:40 +0000)]
Formatting fixes

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

14 years agoadd Grandstream to credits too
Kevin P. Fleming [Wed, 14 Jun 2006 04:03:45 +0000 (04:03 +0000)]
add Grandstream to credits too

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

14 years agomake the compiler's life easier. Thanks Kevin :)
Russell Bryant [Wed, 14 Jun 2006 03:19:47 +0000 (03:19 +0000)]
make the compiler's life easier.  Thanks Kevin :)

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

14 years agoindicate which options are just binary and don't really need a full integer
Russell Bryant [Wed, 14 Jun 2006 03:00:15 +0000 (03:00 +0000)]
indicate which options are just binary and don't really need a full integer

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

14 years agouse the proper test for compiler atomics
Kevin P. Fleming [Wed, 14 Jun 2006 02:23:29 +0000 (02:23 +0000)]
use the proper test for compiler atomics

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

14 years agoMerged revisions 33993 via svnmerge from
Kevin P. Fleming [Wed, 14 Jun 2006 02:21:47 +0000 (02:21 +0000)]
Merged revisions 33993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33993 | kpfleming | 2006-06-13 21:20:22 -0500 (Tue, 13 Jun 2006) | 2 lines

don't output 'no format found' when we _did_ find the format but couldn't open the desired file for some other reason

........

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

14 years agoAllowed proper tx/rx signal exclusivity for simplex repeater modes
Jim Dixon [Tue, 13 Jun 2006 23:46:41 +0000 (23:46 +0000)]
Allowed proper tx/rx signal exclusivity for simplex repeater modes
on 2 wire interfaces

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

14 years agouse atomic operations provided by the compiler if they are available (yay for gcc...
Kevin P. Fleming [Tue, 13 Jun 2006 21:35:29 +0000 (21:35 +0000)]
use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)

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

14 years agouse a compiler builtin (which uses processor instructions) for this operation
Kevin P. Fleming [Tue, 13 Jun 2006 20:59:15 +0000 (20:59 +0000)]
use a compiler builtin (which uses processor instructions) for this operation

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

14 years agoI am the king of typos....
Matt O'Gorman [Tue, 13 Jun 2006 19:58:39 +0000 (19:58 +0000)]
I am the king of typos....

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

14 years agoAllow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support
Joshua Colp [Tue, 13 Jun 2006 19:38:41 +0000 (19:38 +0000)]
Allow AST_FRAME_MODEM frames to be dumped, and document T.38 passthrough support

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

14 years agoadded thanks to voipsupply and steve underwood
Matt O'Gorman [Tue, 13 Jun 2006 19:22:34 +0000 (19:22 +0000)]
added thanks to voipsupply and steve underwood

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

14 years agoadds support for t38 pass through patch brought up to trunk from
Matt O'Gorman [Tue, 13 Jun 2006 18:35:53 +0000 (18:35 +0000)]
adds support for t38 pass through patch brought up to trunk from
bug 5090 by josh colp.  Thanks to everyone who help get this patch through
especially to the author Steven Underwood.

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

14 years agominor fix
Kevin P. Fleming [Tue, 13 Jun 2006 15:11:29 +0000 (15:11 +0000)]
minor fix

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

14 years agoMerged revisions 33841 via svnmerge from
Kevin P. Fleming [Tue, 13 Jun 2006 13:40:58 +0000 (13:40 +0000)]
Merged revisions 33841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33841 | kpfleming | 2006-06-13 08:30:06 -0500 (Tue, 13 Jun 2006) | 2 lines

memory allocation optimizations

........

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

14 years agoMerged revisions 33813 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 12:41:37 +0000 (12:41 +0000)]
Merged revisions 33813 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33813 | russell | 2006-06-13 08:40:40 -0400 (Tue, 13 Jun 2006) | 2 lines

remove duplicate mutex_unlock

........

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

14 years agodestroy the loaded say.conf on module unload
Russell Bryant [Tue, 13 Jun 2006 04:40:15 +0000 (04:40 +0000)]
destroy the loaded say.conf on module unload

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

14 years agofix a place where code returns without unlocking the vm users list and various
Russell Bryant [Tue, 13 Jun 2006 04:37:36 +0000 (04:37 +0000)]
fix a place where code returns without unlocking the vm users list and various
places where code returns without destroying loaded configuration

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

14 years agoBlocked revisions 33783 via svnmerge
Russell Bryant [Tue, 13 Jun 2006 04:32:45 +0000 (04:32 +0000)]
Blocked revisions 33783 via svnmerge

........
r33783 | russell | 2006-06-13 00:31:19 -0400 (Tue, 13 Jun 2006) | 3 lines

fix various places where the code returns without unlocking vmlock or
destroying loaded configuration

........

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

14 years agoMerged revisions 33781 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 04:21:10 +0000 (04:21 +0000)]
Merged revisions 33781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33781 | russell | 2006-06-13 00:20:10 -0400 (Tue, 13 Jun 2006) | 3 lines

add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list

........

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

14 years agoMerged revisions 33753 via svnmerge from
Russell Bryant [Tue, 13 Jun 2006 03:56:09 +0000 (03:56 +0000)]
Merged revisions 33753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33753 | russell | 2006-06-12 23:55:11 -0400 (Mon, 12 Jun 2006) | 5 lines

revert a change that caused more problems than it fixed and fix the real
problem in this code.  fds was declared as an array of zero size which caused
some weird problems, some of which would only be seen when compiling without
optimizations.  (fixes issues #7071, #7326, and #7305)

........

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

14 years agoMerged revisions 33724 via svnmerge from
Joshua Colp [Mon, 12 Jun 2006 21:37:29 +0000 (21:37 +0000)]
Merged revisions 33724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33724 | file | 2006-06-12 18:34:38 -0300 (Mon, 12 Jun 2006) | 2 lines

Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.

........

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

14 years agoonly set the QOS variables if the pvt has an owner so that they are not
Russell Bryant [Mon, 12 Jun 2006 21:01:48 +0000 (21:01 +0000)]
only set the QOS variables if the pvt has an owner so that they are not
created as global variables.  (The fact that these were getting created on
my system probably means that these are in the wrong place so oej, you may
want to look at this again.)

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

14 years agoMerged revisions 33693 via svnmerge from
Russell Bryant [Mon, 12 Jun 2006 20:40:56 +0000 (20:40 +0000)]
Merged revisions 33693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33693 | russell | 2006-06-12 16:40:11 -0400 (Mon, 12 Jun 2006) | 2 lines

fix a place where a frame would be free'd twice

........

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

14 years agoupdate aclocal.m4 as generated by a newer version of aclocal
Russell Bryant [Mon, 12 Jun 2006 20:36:46 +0000 (20:36 +0000)]
update aclocal.m4 as generated by a newer version of aclocal

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

14 years agobootstrap to include latest configure script change
Kevin P. Fleming [Mon, 12 Jun 2006 20:33:01 +0000 (20:33 +0000)]
bootstrap to include latest configure script change

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

14 years agoBug 7339 - check for duplication of strnlen function
Tilghman Lesher [Mon, 12 Jun 2006 20:21:04 +0000 (20:21 +0000)]
Bug 7339 - check for duplication of strnlen function

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

14 years agoFormatting fix and doxygen update
Olle Johansson [Mon, 12 Jun 2006 20:07:35 +0000 (20:07 +0000)]
Formatting fix and doxygen update

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

14 years agoFix typo (Thanks Vechers!)
Olle Johansson [Mon, 12 Jun 2006 20:01:05 +0000 (20:01 +0000)]
Fix typo (Thanks Vechers!)

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

14 years agothe menu must be redrawn after displaying the help info
Russell Bryant [Mon, 12 Jun 2006 19:26:40 +0000 (19:26 +0000)]
the menu must be redrawn after displaying the help info

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

14 years agoMerged revisions 33638 via svnmerge from
Kevin P. Fleming [Mon, 12 Jun 2006 16:07:32 +0000 (16:07 +0000)]
Merged revisions 33638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33638 | kpfleming | 2006-06-12 11:03:29 -0500 (Mon, 12 Jun 2006) | 2 lines

only allow chan_local to masquerade the outbound channel onto its owner, instead of the other way around (this will ensure that group variables on the outbound channel as preserved)

........

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

14 years agoMerged revisions 33615 via svnmerge from
Tilghman Lesher [Mon, 12 Jun 2006 15:30:32 +0000 (15:30 +0000)]
Merged revisions 33615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33615 | tilghman | 2006-06-12 10:27:18 -0500 (Mon, 12 Jun 2006) | 4 lines

Move set priority up, because at this point in the code, stdout is no longer
the console.  If we're unable to set priority, the error goes to Asterisk as
if it were an AGI command (issue 7335).

........

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

14 years ago- Remove redundant forward declaration
Olle Johansson [Mon, 12 Jun 2006 15:17:18 +0000 (15:17 +0000)]
- Remove redundant forward declaration
- Change variable name to make register_verify more readable (p -> peer not pvt in this function)
- Get Contact: header only once instead of twice
- Add some comments to register_verify

Caused by issue #7327... :-)

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

14 years agoChange a bit of logic in peer expiry back to the way it used to be
Joshua Colp [Mon, 12 Jun 2006 02:54:32 +0000 (02:54 +0000)]
Change a bit of logic in peer expiry back to the way it used to be

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

14 years agooptimize the display of the module selection menus by only clearing the screen
Russell Bryant [Sun, 11 Jun 2006 22:11:38 +0000 (22:11 +0000)]
optimize the display of the module selection menus by only clearing the screen
and starting over if a selection has changed or the menu needs to be scrolled.
For moving the cursor up and down the menu, it works a lot faster now.

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

14 years agosuppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)
Russell Bryant [Sun, 11 Jun 2006 21:42:13 +0000 (21:42 +0000)]
suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)

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

14 years agoMerged revisions 33548 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 21:23:16 +0000 (21:23 +0000)]
Merged revisions 33548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33548 | russell | 2006-06-11 17:21:23 -0400 (Sun, 11 Jun 2006) | 2 lines

fix another place where a frame does not get free'd

........

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

14 years agofix up some places where frames are not free'd and remove an unnecessary
Russell Bryant [Sun, 11 Jun 2006 21:12:56 +0000 (21:12 +0000)]
fix up some places where frames are not free'd and remove an unnecessary
unlock of the confs list where it is not possible for it to be locked

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

14 years agoBlocked revisions 33545 via svnmerge
Russell Bryant [Sun, 11 Jun 2006 21:09:08 +0000 (21:09 +0000)]
Blocked revisions 33545 via svnmerge

........
r33545 | russell | 2006-06-11 17:08:04 -0400 (Sun, 11 Jun 2006) | 4 lines

fix up five little places where frames would not be free'd and remove an
unnecessary mutex_unlock where there is no way for it to be locked at
that time

........

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

14 years agoMerged revisions 33515 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:49:16 +0000 (20:49 +0000)]
Merged revisions 33515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33515 | russell | 2006-06-11 16:48:41 -0400 (Sun, 11 Jun 2006) | 4 lines

fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not
free the frame)

........

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

14 years agoMerged revisions 33513 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:46:05 +0000 (20:46 +0000)]
Merged revisions 33513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33513 | russell | 2006-06-11 16:45:06 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a couple places that would leak a frame

........

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

14 years ago- Complete addition of forward declarations and grouping of functions
Olle Johansson [Sun, 11 Jun 2006 20:42:11 +0000 (20:42 +0000)]
- Complete addition of forward declarations and grouping of functions
- Change/add comments
- Declare internal function as static
- Remove functionname: in descriptions of functions
- Move Enums to top of file

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

14 years agoMerged revisions 33510 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:39:19 +0000 (20:39 +0000)]
Merged revisions 33510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33510 | russell | 2006-06-11 16:38:39 -0400 (Sun, 11 Jun 2006) | 2 lines

fix two places that would cause a frame to be leaked

........

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

14 years agomake latest header file changes for this file too
Kevin P. Fleming [Sun, 11 Jun 2006 15:10:26 +0000 (15:10 +0000)]
make latest header file changes for this file too

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

14 years agoMerged revisions 33480 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 15:09:06 +0000 (15:09 +0000)]
Merged revisions 33480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33480 | russell | 2006-06-11 11:08:12 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a case where an HTML frame would be leaked

........

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

14 years agoMerged revisions 33466 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 15:04:36 +0000 (15:04 +0000)]
Merged revisions 33466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33466 | russell | 2006-06-11 11:02:40 -0400 (Sun, 11 Jun 2006) | 4 lines

Free frames read from the channel when measuring noise.  This resulted in about
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications

........

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

14 years agoBlocked revisions 33449 via svnmerge
Russell Bryant [Sun, 11 Jun 2006 14:59:09 +0000 (14:59 +0000)]
Blocked revisions 33449 via svnmerge

........
r33449 | russell | 2006-06-11 10:56:55 -0400 (Sun, 11 Jun 2006) | 2 lines

backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)

........

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

14 years agodon't leak a frame when breaking out of the loop on a timeout
Russell Bryant [Sun, 11 Jun 2006 14:52:04 +0000 (14:52 +0000)]
don't leak a frame when breaking out of the loop on a timeout

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

14 years agodon't leak a frame when exiting when the user presses '#'
Russell Bryant [Sun, 11 Jun 2006 14:48:25 +0000 (14:48 +0000)]
don't leak a frame when exiting when the user presses '#'

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