Commit graph

1828 commits

Author SHA1 Message Date
Russell Bryant
e0bd903246 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
2006-06-11 15:04:36 +00:00
Russell Bryant
558d3924ac 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
2006-06-11 14:52:04 +00:00
Russell Bryant
b4e2138311 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
2006-06-11 14:48:25 +00:00
Russell Bryant
1ab804f0ab 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
2006-06-11 14:44:58 +00:00
Kevin P. Fleming
3e41331bf3 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
2006-06-09 23:13:52 +00:00
Kevin P. Fleming
8d88bf549d 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
2006-06-09 20:40:10 +00:00
Joshua Colp
dcab298cfc 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
2006-06-09 19:05:30 +00:00
Joshua Colp
a23af6559c 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
2006-06-09 18:12:46 +00:00
Joshua Colp
e3fe7e1c08 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
2006-06-09 16:36:54 +00:00
Olle Johansson
9f5aa13142 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
2006-06-09 09:47:44 +00:00
Olle Johansson
dfaa7fd8cf Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 08:10:58 +00:00
Russell Bryant
43b82059a5 fix a typo in an option name in config parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:08:29 +00:00
Russell Bryant
f879fd2a22 simplify the loop that iterates through the categories in followme.conf and
don't try to read the general section as a followme profile


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:02:07 +00:00
Russell Bryant
89cfbf4673 fix an incorrect usage of scanf, where it should be using sscanf, instead,
which was causing asterisk to hang when loading this module
(reported by blitzrage on IRC)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:42:37 +00:00
Kevin P. Fleming
472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant
739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Russell Bryant
503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +00:00
Russell Bryant
db7ee8b54b oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 21:03:18 +00:00
Russell Bryant
004848236a move a variable declaration to the beginning of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:55:17 +00:00
Russell Bryant
6947fdbf62 use sizeof to determine the size of a buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:47:46 +00:00
Russell Bryant
1bd42310a2 use sizeof to get the size of a buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:45:26 +00:00
BJ Weschke
6dc79b1447 More updates.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:44:50 +00:00
Russell Bryant
66a782e8ce make a global list head static
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:44:10 +00:00
BJ Weschke
61cfff7b82 More cleanup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:39:11 +00:00
Russell Bryant
204ba36938 move a declaration to the beginning of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:37:51 +00:00
BJ Weschke
3c30abc476 Don't leak memory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:34:00 +00:00
Russell Bryant
aee460f50b allocate an int on the stack instead of with ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:18:01 +00:00
BJ Weschke
66e0ff5202 All better now!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:04:52 +00:00
BJ Weschke
63a271eb55 If the recorded file is found, don't actually start to play it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 17:15:16 +00:00
Tilghman Lesher
95871f201d Merged revisions 32605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32605 | tilghman | 2006-06-06 11:55:23 -0500 (Tue, 06 Jun 2006) | 2 lines

Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:59:13 +00:00
Kevin P. Fleming
e855040110 fix some compiler warnings about variables used before initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:54:52 +00:00
BJ Weschke
3d973a0686 Introducing app_followme into /trunk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 07:29:57 +00:00
Kevin P. Fleming
e856010714 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Olle Johansson
f80bde18be - Add headers to e-mail with caller ID name and number to simplify automatic parsing
- Formatting fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 08:06:02 +00:00
Olle Johansson
439e4963ab - Typo in chan_sip (: missing)
- Only print formats once in dumpchan()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 11:09:14 +00:00
Olle Johansson
11c18976fb Add formats in text form to dumpchan()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 11:00:12 +00:00
Kevin P. Fleming
998eacf17f Merged revisions 31921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31921 | kpfleming | 2006-06-03 22:43:35 -0500 (Sat, 03 Jun 2006) | 2 lines

return bridge exit logic to what it was before i broke it :-(

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 03:45:54 +00:00
Tilghman Lesher
53ca50f1c8 Two missed cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 02:18:59 +00:00
Tilghman Lesher
73a85ff250 Ooops, those characters weren't really periods (credit to John Olson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 02:17:00 +00:00
Joshua Colp
e5753b49ad Documentation changes for Qwell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 23:10:56 +00:00
Joshua Colp
a69e488812 Fix up meetme some more (thanks TonyM!!!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 22:54:58 +00:00
Joshua Colp
a74ebe5933 Make the user menu unmute/mute work again, including in combination with the 'l' option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 17:21:12 +00:00
Kevin P. Fleming
7f3cc8b886 cleanups for commit from issue #5657... set a cause code for a rejected forward request, and actually set tmp->chan to NULL when we reject the forward request
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 16:11:55 +00:00
BJ Weschke
871f08ec07 Add an option to app_dial, 'i', to instruct the application ignore any requests from peers to forward calls elsewhere. #5657 (johnlange w/some minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 15:52:32 +00:00
Kevin P. Fleming
7e84433270 officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 17:52:49 +00:00
Joshua Colp
f35b95e516 Remove ourselves from the userlist a little bit earlier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 17:33:37 +00:00
Kevin P. Fleming
18606233da fix various typos and other bits (from Ian Kinner)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 16:01:50 +00:00
Luigi Rizzo
23233bb115 remove an explicit constant;
add a comment on the need to sort patterns in the standard way.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-29 05:14:52 +00:00
BJ Weschke
295c340164 A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Further optimizations are still possible (eg - store and manage pointers to the status integer of the member record that this interface/device has a one-to-one relationship with and then go directly to those pointers to make status modifications rather than the recursive looping that goes on now) BUT first things first. :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:47:03 +00:00
Joshua Colp
8ecf6a7bb1 Merge in branch that adds new features to MeetMeAdmin. See application documentation for more details on the new options. (issue #7131 reported by dmikusa branch by jcollie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:30:40 +00:00