asterisk/asterisk.git
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

14 years agodon't leak a frame when breaking out of the main loop of this app
Russell Bryant [Sun, 11 Jun 2006 14:44:58 +0000 (14:44 +0000)]
don't leak a frame when breaking out of the main loop of this app

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

14 years agodon't use ast_copy_string when building for an external tool
Russell Bryant [Sat, 10 Jun 2006 04:41:34 +0000 (04:41 +0000)]
don't use ast_copy_string when building for an external tool

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

14 years agodon't redefine PATH_MAX
Russell Bryant [Sat, 10 Jun 2006 04:38:04 +0000 (04:38 +0000)]
don't redefine PATH_MAX

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

14 years agoconvert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
Russell Bryant [Sat, 10 Jun 2006 04:34:48 +0000 (04:34 +0000)]
convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX

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

14 years agoget rid of some more compiler warnings (thanks tholo for making me fix the lpc10...
Kevin P. Fleming [Fri, 9 Jun 2006 23:13:52 +0000 (23:13 +0000)]
get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)

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

14 years agoIssue #7325 - Parse string after URI decoding (casper)
Olle Johansson [Fri, 9 Jun 2006 21:32:48 +0000 (21:32 +0000)]
Issue #7325 - Parse string after URI decoding (casper)

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

14 years agoAdd RTP QoS report variables to doc. Catch it in the "h" extension, store it in the CDR
Olle Johansson [Fri, 9 Jun 2006 21:30:31 +0000 (21:30 +0000)]
Add RTP QoS report variables to doc. Catch it in the "h" extension, store it in the CDR
or in a database or... whatever you want to.

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

14 years agoStore RTCP reports in channel variables and SIP history
Olle Johansson [Fri, 9 Jun 2006 21:28:52 +0000 (21:28 +0000)]
Store RTCP reports in channel variables and SIP history

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

14 years ago- RTP debug message formatting
Olle Johansson [Fri, 9 Jun 2006 21:09:42 +0000 (21:09 +0000)]
- RTP debug message formatting
- Add rtcp report to SIP history

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

14 years agothere is no reason to define our own 'maximum path length' when the POSIX headers...
Kevin P. Fleming [Fri, 9 Jun 2006 20:40:10 +0000 (20:40 +0000)]
there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us

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

14 years agovarious minor portability fixes (mostly from tholo for OpenBSD)
Kevin P. Fleming [Fri, 9 Jun 2006 20:26:25 +0000 (20:26 +0000)]
various minor portability fixes (mostly from tholo for OpenBSD)

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

14 years agoMove payloadtype back home to rtp.c
Olle Johansson [Fri, 9 Jun 2006 20:13:47 +0000 (20:13 +0000)]
Move payloadtype back home to rtp.c

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

14 years agoAnother try at hanging up the transferer channel after the masq
Olle Johansson [Fri, 9 Jun 2006 20:09:55 +0000 (20:09 +0000)]
Another try at hanging up the transferer channel after the masq

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

14 years agoDon't double check existence of a variable (issue #7300 reported by foamdino)
Joshua Colp [Fri, 9 Jun 2006 19:05:30 +0000 (19:05 +0000)]
Don't double check existence of a variable (issue #7300 reported by foamdino)

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

14 years agoBlocked revisions 33300 via svnmerge
Joshua Colp [Fri, 9 Jun 2006 18:54:01 +0000 (18:54 +0000)]
Blocked revisions 33300 via svnmerge

........
r33300 | file | 2006-06-09 15:52:51 -0300 (Fri, 09 Jun 2006) | 2 lines

Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)

........

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

14 years agooops moved block without renaming a variable correctly.
Matt O'Gorman [Fri, 9 Jun 2006 18:37:26 +0000 (18:37 +0000)]
oops moved block without renaming a variable correctly.

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

14 years agoMerged revisions 33297 via svnmerge from
Joshua Colp [Fri, 9 Jun 2006 18:29:58 +0000 (18:29 +0000)]
Merged revisions 33297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33297 | file | 2006-06-09 15:26:42 -0300 (Fri, 09 Jun 2006) | 2 lines

Remove an unneeded double lock (issue #7310 reported by arkadia)

........

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

14 years agoWait until we have the lock before getting the pvt structure pointer (issue #7313...
Joshua Colp [Fri, 9 Jun 2006 18:20:28 +0000 (18:20 +0000)]
Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)

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

14 years agoMerged revisions 33294 via svnmerge from
Joshua Colp [Fri, 9 Jun 2006 18:12:46 +0000 (18:12 +0000)]
Merged revisions 33294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines

Handle hangup during recording of screened name (issue #7304 reported by kulldominique)

........

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

14 years agoAdd more missing newlines (issue #7323 reported by darkskiez)
Joshua Colp [Fri, 9 Jun 2006 16:36:54 +0000 (16:36 +0000)]
Add more missing newlines (issue #7323 reported by darkskiez)

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

14 years agoBlocked revisions 33264 via svnmerge
Joshua Colp [Fri, 9 Jun 2006 16:33:34 +0000 (16:33 +0000)]
Blocked revisions 33264 via svnmerge

........
r33264 | file | 2006-06-09 13:31:29 -0300 (Fri, 09 Jun 2006) | 2 lines

Add missing newlines (issue #7323 reported by darkskiez)

........

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

14 years agoconvert one of my linked lists to ast_linklist
Matt O'Gorman [Fri, 9 Jun 2006 16:08:33 +0000 (16:08 +0000)]
convert one of my linked lists to ast_linklist

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

14 years agoDon't force context for domain= setting (imported from 1.2)
Olle Johansson [Fri, 9 Jun 2006 15:57:28 +0000 (15:57 +0000)]
Don't force context for domain= setting (imported from 1.2)

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

14 years agoRemove the return value from functions that return something that is never checked...
Olle Johansson [Fri, 9 Jun 2006 13:35:41 +0000 (13:35 +0000)]
Remove the return value from functions that return something that is never checked anywhere.

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

14 years agowhen we don't want the call we need to release_complete it.. ignoring it breaks the...
Christian Richter [Fri, 9 Jun 2006 10:31:30 +0000 (10:31 +0000)]
when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..

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

14 years agoRename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
Olle Johansson [Fri, 9 Jun 2006 09:47:44 +0000 (09:47 +0000)]
Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.

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