Russell Bryant
0cce2fe2e9
fix another place where a frame does not get free'd
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:21:23 +00:00
Russell Bryant
dcebecb76e
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/branches/1.2@33545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:08:04 +00:00
Russell Bryant
332880b8bc
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/branches/1.2@33515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:48:41 +00:00
Russell Bryant
59224d0f9f
fix a couple places that would leak a frame
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:45:06 +00:00
Russell Bryant
33661e9258
fix two places that would cause a frame to be leaked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 20:38:39 +00:00
Russell Bryant
4003aff342
fix a case where an HTML frame would be leaked
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:08:12 +00:00
Russell Bryant
de0d5de853
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/branches/1.2@33466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 15:02:40 +00:00
Russell Bryant
9c99053126
backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 14:56:55 +00:00
Joshua Colp
9d9a6da961
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/branches/1.2@33300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:52:51 +00:00
Joshua Colp
c38c7a1f46
Remove an unneeded double lock (issue #7310 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:26:42 +00:00
Joshua Colp
5ccc5a9e53
Handle hangup during recording of screened name (issue #7304 reported by kulldominique)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 18:08:00 +00:00
Joshua Colp
43f10147fe
Add missing newlines (issue #7323 reported by darkskiez)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:31:29 +00:00
Olle Johansson
4de28aa7cc
Do not require a context on a domain= setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 15:53:28 +00:00
Kevin P. Fleming
a19de52a1e
handle out-of-memory conditions properly in ast_frisolate() (reported by Slav Kenov on asterisk-dev mailing list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 16:57:23 +00:00
Russell Bryant
8daadb91c1
fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:53:21 +00:00
Tilghman Lesher
95cd30dc01
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/branches/1.2@32605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:55:23 +00:00
Tilghman Lesher
43fa2d54ef
Bug 7268 - Callerid leaks memory on error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:02:43 +00:00
Kevin P. Fleming
f0d3be1740
clean up yesterday's security fix to not cause breakage when video mini frames are received
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 15:48:00 +00:00
Kevin P. Fleming
c515ef705c
ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 19:53:16 +00:00
Kevin P. Fleming
5684ba5966
return bridge exit logic to what it was before i broke it :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 03:43:35 +00:00
Russell Bryant
9c5890a138
when using moh files mode, don't look for a file past the number of files
...
that have been loaded, or worse, past the size of the files array
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 17:02:49 +00:00
BJ Weschke
efee6cdadf
Fix doxygen comment about AST_LIST_HEAD_INIT_NOLOCK
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 14:48:13 +00:00
Kevin P. Fleming
3feead3415
remove pointless forcing of the channel into SLINEAR mode; the write format will be set later based on the file that is chosen to be played to the channel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 21:46:50 +00:00
Kevin P. Fleming
84c0989323
handle Zap transfers behind chan_agent properly so the agent doesn't get stuck waiting for the call to hang up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 20:27:50 +00:00
Kevin P. Fleming
f963ebd1ab
remove a sample entry that never should have been added (code to support it was not merged)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 12:41:47 +00:00
Russell Bryant
71d9095626
if the connection to a FastAGI server fails because of a timeout, log a more
...
informative log message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 23:50:00 +00:00
Kevin P. Fleming
dbfbe2c679
silence a warning message that is not a warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 22:26:38 +00:00
Russell Bryant
eeb613ea3d
fix misplaced manager event (issue #6866 , flefoll)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 20:26:17 +00:00
Kevin P. Fleming
f43b8a655d
check the proper variable...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 19:18:30 +00:00
Kevin P. Fleming
c882c82377
another S/390 build fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 16:07:16 +00:00
BJ Weschke
a6a17f1789
Fix infinite loop scenario and add some sanity checking to prevent segfault on a NULL parameter coming in (which probably shouldn't happen, but just to be safe...)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 14:55:16 +00:00
BJ Weschke
a94248e7dc
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. Backported from /trunk for the "bug fix".
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 17:09:51 +00:00
BJ Weschke
f1744d3e31
Oops.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 21:22:16 +00:00
Joshua Colp
9ef31203c9
Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 20:03:11 +00:00
Russell Bryant
5e266283e9
add a missing endif from the recent Makefile change and use indentation
...
to hopefully prevent us from breaking this Makefile once again
(This nesting is no longer used in the trunk version of this Makefile)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 18:40:42 +00:00
Kevin P. Fleming
ce4e323638
don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 17:39:33 +00:00
Kevin P. Fleming
547a070805
allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 17:18:01 +00:00
Joshua Colp
b2e084ae6d
Get rid of an incorrect SIP dial string in the sample extensions.conf - I even tried variations... no go (issue #7222 reported by arkadia)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 15:27:44 +00:00
Kevin P. Fleming
6b101367b8
oops... make sure to stop processing a request once we have sent an authentication challenge (issue #7220 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 21:24:45 +00:00
Kevin P. Fleming
5ecca96df5
don't send CANCEL on a pending INVITE if we haven't received a provisional response yet... mark it pending until the first response is received (issue #7079 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 20:09:24 +00:00
Matt O'Gorman
3e830d9a85
app_meemte used the ast_max_exten instead of path_max
...
solves bug 6822
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 19:55:21 +00:00
Joshua Colp
42e50f7eae
Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 19:44:26 +00:00
Joshua Colp
63ffcdfda2
Fix deadlock caused by a race condition in the logger when reloading (issue #7195 reported and fixed by softins)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@30033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 19:14:01 +00:00
Kevin P. Fleming
e9d164d468
support video recording via AGI 'RECORD FILE' command (issue #7068 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 16:59:20 +00:00
Kevin P. Fleming
f5765a22fc
fix various bugs related to exiting from queue via keypress and moh handling (issue #6776 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 16:52:08 +00:00
Kevin P. Fleming
84790a577b
respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 16:17:26 +00:00
Kevin P. Fleming
76066c2b74
fix for non-OSP builds (issue #7217 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 12:31:45 +00:00
Kevin P. Fleming
9739139287
add an option to allow the admin to 'hide' SIP user/peer names from systems trying to 'fish' names
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 03:32:02 +00:00
Russell Bryant
6d3d5e1649
fix the sourceaddress option (issue #7213 , alphaque)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 21:44:52 +00:00
Kevin P. Fleming
d6873875cc
simplify/fix lock retry, and fix comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 18:16:40 +00:00