Tilghman Lesher
2f0b62b8d3
Bug 7388 - compatibility changes for Solaris
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 19:23:18 +00:00
Kevin P. Fleming
55247bea10
clarify documentation for 'persistentmembers' setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:19:54 +00:00
Kevin P. Fleming
ab4bdf1e3f
add documentation for peer-specific 'outboundproxy' setting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:19:27 +00:00
Olle Johansson
27aa56e14e
Don't delete scheduled item twice in sip_destroy (already fixed in svn trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 14:12:43 +00:00
Kevin P. Fleming
3d09ddb98e
ensure that two SIP channels that exist at the same moment will not have the same channel names (issue #7245 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 17:10:12 +00:00
Olle Johansson
bbcb713b68
Issue 6997 maybe, but anyway - don't retransmit responses to NON-invite requests.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 15:27:58 +00:00
Tilghman Lesher
f6b683b302
Bug 7425 - Size of buffer is passed in by len
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 15:10:06 +00:00
BJ Weschke
64def5d791
We should lock the queue before we go making changes to member interface statuses.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 11:30:17 +00:00
Joshua Colp
4564907b41
Add Venezuelan indications (issue #7402 reported by palillo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 19:25:34 +00:00
Tilghman Lesher
6d2cff5290
Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:05:23 +00:00
Olle Johansson
e5505d1baf
Issue #6820 - Possible fix (already implemented in trunk)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 10:27:44 +00:00
Joshua Colp
43ad959914
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/branches/1.2@34911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:27:44 +00:00
Tilghman Lesher
4c688bb3b3
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/branches/1.2@34875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:07:26 +00:00
Russell Bryant
1eb2822b3b
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/branches/1.2@34655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 21:03:58 +00:00
Russell Bryant
4893f1917f
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/branches/1.2@34627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 20:15:15 +00:00
Joshua Colp
7807373222
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/branches/1.2@34400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 03:37:05 +00:00
Olle Johansson
3cf57b8066
Issue 7294 - patch by phsultan - Asterisk sends Invite instead of BYE in some cases.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 14:11:22 +00:00
Kevin P. Fleming
d00c50cd14
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/branches/1.2@34274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 13:30:22 +00:00
Tilghman Lesher
2159afd1ae
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/branches/1.2@34242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 12:40:10 +00:00
Kevin P. Fleming
55ba8ef5c4
coding style cleanups on queue interface handling code that was committed for the last release
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 22:22:21 +00:00
Kevin P. Fleming
b9e587a361
use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 22:17:37 +00:00
Kevin P. Fleming
724b3d0004
clarify file headers that mention disclaimer usage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 14:07:53 +00:00
Kevin P. Fleming
2d7e3395a6
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/branches/1.2@33993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 02:20:22 +00:00
Kevin P. Fleming
5ae03d8ff8
memory allocation optimizations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 13:30:06 +00:00
Russell Bryant
4fb3d5bf31
remove duplicate mutex_unlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 12:40:40 +00:00
Russell Bryant
ec39ee2c34
fix various places where the code returns without unlocking vmlock or
...
destroying loaded configuration
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:31:19 +00:00
Russell Bryant
ecbc33eb78
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/branches/1.2@33781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:20:10 +00:00
Russell Bryant
2a72316550
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/branches/1.2@33753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 03:55:11 +00:00
Joshua Colp
d1afe5c64f
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/branches/1.2@33724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 21:34:38 +00:00
Russell Bryant
9807f83d64
fix a place where a frame would be free'd twice
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:40:11 +00:00
Kevin P. Fleming
cb1dc40802
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/branches/1.2@33638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 16:03:29 +00:00
Tilghman Lesher
070d4d3976
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/branches/1.2@33615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 15:27:18 +00:00
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