Commit graph

8980 commits

Author SHA1 Message Date
Olle Johansson
4c07cb1c60 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
2006-06-16 06:25:26 +00:00
Joshua Colp
9ebb7c35a2 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
2006-06-16 03:38:24 +00:00
Russell Bryant
96bbc5e741 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
2006-06-16 00:14:46 +00:00
Russell Bryant
aee308b8c3 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
2006-06-15 23:40:55 +00:00
Olle Johansson
6f0f14af55 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
2006-06-15 14:14:23 +00:00
Kevin P. Fleming
b5a13cbef8 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
2006-06-15 13:35:04 +00:00
Olle Johansson
2813d15f52 Hoppsan!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 13:00:55 +00:00
Tilghman Lesher
2ee2b192e3 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
2006-06-15 12:41:24 +00:00
Tilghman Lesher
14ebe471c5 ast_calloc() already reports OOM conditions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 12:30:45 +00:00
Tilghman Lesher
f5d54051fe 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
2006-06-15 12:26:50 +00:00
Olle Johansson
83e64c7c94 - 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
2006-06-15 06:35:55 +00:00
Kevin P. Fleming
aba00b66fc 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
2006-06-14 23:24:26 +00:00
Kevin P. Fleming
7518a91032 various coding style cleanup and minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 23:20:08 +00:00
Kevin P. Fleming
794d0e4d1f make Local channel return sensible device state values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 22:39:19 +00:00
Kevin P. Fleming
11dac47877 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
2006-06-14 22:35:49 +00:00
Olle Johansson
8fd35365f5 Add some debug logging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 15:15:29 +00:00
Olle Johansson
fb8483c430 - 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
2006-06-14 14:46:19 +00:00
Kevin P. Fleming
39b9a1c945 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
2006-06-14 14:12:56 +00:00
Olle Johansson
4b6d6a1a0b Formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 11:40:31 +00:00
Kevin P. Fleming
3aa0f7897f add Grandstream to credits too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 04:03:45 +00:00
Russell Bryant
1021ef7a28 make the compiler's life easier. Thanks Kevin :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 03:19:47 +00:00
Russell Bryant
f0275eaae1 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
2006-06-14 03:00:15 +00:00
Kevin P. Fleming
cdfb60f9bc use the proper test for compiler atomics
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 02:23:29 +00:00
Kevin P. Fleming
ea90f8c468 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
2006-06-14 02:21:47 +00:00
Jim Dixon
8f77de5ebd 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
2006-06-13 23:46:41 +00:00
Kevin P. Fleming
eddf363a0e 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
2006-06-13 21:35:29 +00:00
Kevin P. Fleming
fca19e7635 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
2006-06-13 20:59:15 +00:00
Matt O'Gorman
a6d0d04141 I am the king of typos....
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 19:58:39 +00:00
Joshua Colp
5456f425c6 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
2006-06-13 19:38:41 +00:00
Matt O'Gorman
e749415c4d added thanks to voipsupply and steve underwood
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 19:22:34 +00:00
Matt O'Gorman
b22e7bf558 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
2006-06-13 18:35:53 +00:00
Kevin P. Fleming
241cd6163a minor fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 15:11:29 +00:00
Kevin P. Fleming
0af1edefb6 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
2006-06-13 13:40:58 +00:00
Russell Bryant
bcb9f8687c 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
2006-06-13 12:41:37 +00:00
Russell Bryant
883d0f7a05 destroy the loaded say.conf on module unload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:40:15 +00:00
Russell Bryant
50dff0e818 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
2006-06-13 04:37:36 +00:00
Russell Bryant
7c491057db 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
2006-06-13 04:32:45 +00:00
Russell Bryant
85560a175c 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
2006-06-13 04:21:10 +00:00
Russell Bryant
dab3e04ca5 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
2006-06-13 03:56:09 +00:00
Joshua Colp
c311827dc9 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
2006-06-12 21:37:29 +00:00
Russell Bryant
55ffe394a5 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
2006-06-12 21:01:48 +00:00
Russell Bryant
a483f6eafc 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
2006-06-12 20:40:56 +00:00
Russell Bryant
60062c3403 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
2006-06-12 20:36:46 +00:00
Kevin P. Fleming
b12ab2ad1b bootstrap to include latest configure script change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:33:01 +00:00
Tilghman Lesher
1dd48ac34a Bug 7339 - check for duplication of strnlen function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:21:04 +00:00
Olle Johansson
1ec28daa30 Formatting fix and doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:07:35 +00:00
Olle Johansson
2ab4e12549 Fix typo (Thanks Vechers!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:01:05 +00:00
Russell Bryant
306de10a44 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
2006-06-12 19:26:40 +00:00
Kevin P. Fleming
79f5f61474 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
2006-06-12 16:07:32 +00:00
Tilghman Lesher
1d8804c117 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
2006-06-12 15:30:32 +00:00