]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
19 years agofix a race condition that caused asterisk to log a *ton* of warnings on mac
Russell Bryant [Mon, 3 Jul 2006 05:12:03 +0000 (05:12 +0000)] 
fix a race condition that caused asterisk to log a *ton* of warnings on mac
osx about poll returning an error because the polled file descriptor was bad.

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

19 years agouse ast_set_callerid to be more consistent and to make sure that the
Russell Bryant [Mon, 3 Jul 2006 04:19:09 +0000 (04:19 +0000)] 
use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)

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

19 years agofix the build with BUSYDETECT_TONEONLY defined (issue #7414)
Russell Bryant [Mon, 3 Jul 2006 03:23:36 +0000 (03:23 +0000)] 
fix the build with BUSYDETECT_TONEONLY defined (issue #7414)

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

19 years agoBug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.
Tilghman Lesher [Fri, 30 Jun 2006 14:05:53 +0000 (14:05 +0000)] 
Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.

Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.

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

19 years agoBug 7388 - compatibility changes for Solaris
Tilghman Lesher [Thu, 29 Jun 2006 19:23:18 +0000 (19:23 +0000)] 
Bug 7388 - compatibility changes for Solaris

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

19 years agoclarify documentation for 'persistentmembers' setting
Kevin P. Fleming [Thu, 29 Jun 2006 07:19:54 +0000 (07:19 +0000)] 
clarify documentation for 'persistentmembers' setting

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

19 years agoadd documentation for peer-specific 'outboundproxy' setting
Kevin P. Fleming [Thu, 29 Jun 2006 07:19:27 +0000 (07:19 +0000)] 
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

19 years agoDon't delete scheduled item twice in sip_destroy (already fixed in svn trunk)
Olle Johansson [Wed, 28 Jun 2006 14:12:43 +0000 (14:12 +0000)] 
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

19 years agoensure that two SIP channels that exist at the same moment will not have the same...
Kevin P. Fleming [Mon, 26 Jun 2006 17:10:12 +0000 (17:10 +0000)] 
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

19 years agoIssue 6997 maybe, but anyway - don't retransmit responses to NON-invite requests.
Olle Johansson [Mon, 26 Jun 2006 15:27:58 +0000 (15:27 +0000)] 
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

19 years agoBug 7425 - Size of buffer is passed in by len
Tilghman Lesher [Sun, 25 Jun 2006 15:10:06 +0000 (15:10 +0000)] 
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

19 years ago We should lock the queue before we go making changes to member interface statuses.
BJ Weschke [Fri, 23 Jun 2006 11:30:17 +0000 (11:30 +0000)] 
 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

19 years agoAdd Venezuelan indications (issue #7402 reported by palillo)
Joshua Colp [Wed, 21 Jun 2006 19:25:34 +0000 (19:25 +0000)] 
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

19 years agoBug 7398 - Solaris puts its zoneinfo files in a nonstandard place
Tilghman Lesher [Tue, 20 Jun 2006 15:05:23 +0000 (15:05 +0000)] 
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

19 years agoIssue #6820 - Possible fix (already implemented in trunk)
Olle Johansson [Tue, 20 Jun 2006 10:27:44 +0000 (10:27 +0000)] 
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

19 years agoCall reset_user_pw upon changing the password using externpass (issue #7395 reported...
Joshua Colp [Mon, 19 Jun 2006 20:27:44 +0000 (20:27 +0000)] 
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

19 years agoIssue 7357 - txt file left behind when going to operator. Also, fix a possible file...
Tilghman Lesher [Mon, 19 Jun 2006 18:07:26 +0000 (18:07 +0000)] 
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

19 years agodon't set state to BUSY if the channel is already in the UP state
Russell Bryant [Sun, 18 Jun 2006 21:03:58 +0000 (21:03 +0000)] 
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

19 years agodon't store multiple secrets delimited with semicolons for peers because this
Russell Bryant [Sun, 18 Jun 2006 20:15:15 +0000 (20:15 +0000)] 
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

19 years agoZero out a declared structure so as to not crash if it contains invalid data (reporte...
Joshua Colp [Fri, 16 Jun 2006 03:37:05 +0000 (03:37 +0000)] 
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

19 years agoIssue 7294 - patch by phsultan - Asterisk sends Invite instead of BYE in some cases.
Olle Johansson [Thu, 15 Jun 2006 14:11:22 +0000 (14:11 +0000)] 
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

19 years agodon't use prefixed structure names for internal structures
Kevin P. Fleming [Thu, 15 Jun 2006 13:30:22 +0000 (13:30 +0000)] 
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

19 years agoVoicemailMain exits on any key, when the language is set to Italian, instead of
Tilghman Lesher [Thu, 15 Jun 2006 12:40:10 +0000 (12:40 +0000)] 
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

19 years agocoding style cleanups on queue interface handling code that was committed for the...
Kevin P. Fleming [Wed, 14 Jun 2006 22:22:21 +0000 (22:22 +0000)] 
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

19 years agouse existing dial string parser for strings supplied to iax2_devicestate, because...
Kevin P. Fleming [Wed, 14 Jun 2006 22:17:37 +0000 (22:17 +0000)] 
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

19 years agoclarify file headers that mention disclaimer usage
Kevin P. Fleming [Wed, 14 Jun 2006 14:07:53 +0000 (14:07 +0000)] 
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

19 years agodon't output 'no format found' when we _did_ find the format but couldn't open the...
Kevin P. Fleming [Wed, 14 Jun 2006 02:20:22 +0000 (02:20 +0000)] 
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

19 years agomemory allocation optimizations
Kevin P. Fleming [Tue, 13 Jun 2006 13:30:06 +0000 (13:30 +0000)] 
memory allocation optimizations

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

19 years agoremove duplicate mutex_unlock
Russell Bryant [Tue, 13 Jun 2006 12:40:40 +0000 (12:40 +0000)] 
remove duplicate mutex_unlock

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

19 years agofix various places where the code returns without unlocking vmlock or
Russell Bryant [Tue, 13 Jun 2006 04:31:19 +0000 (04:31 +0000)] 
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

19 years agoadd a missing close of an open fd, destroy of open config, and removal of the
Russell Bryant [Tue, 13 Jun 2006 04:20:10 +0000 (04:20 +0000)] 
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

19 years agorevert a change that caused more problems than it fixed and fix the real
Russell Bryant [Tue, 13 Jun 2006 03:55:11 +0000 (03:55 +0000)] 
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

19 years agoGreatly simply the mixmonitor thread, and move channel reference directly to spy...
Joshua Colp [Mon, 12 Jun 2006 21:34:38 +0000 (21:34 +0000)] 
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

19 years agofix a place where a frame would be free'd twice
Russell Bryant [Mon, 12 Jun 2006 20:40:11 +0000 (20:40 +0000)] 
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

19 years agoonly allow chan_local to masquerade the outbound channel onto its owner, instead...
Kevin P. Fleming [Mon, 12 Jun 2006 16:03:29 +0000 (16:03 +0000)] 
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

19 years agoMove set priority up, because at this point in the code, stdout is no longer
Tilghman Lesher [Mon, 12 Jun 2006 15:27:18 +0000 (15:27 +0000)] 
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

19 years agofix another place where a frame does not get free'd
Russell Bryant [Sun, 11 Jun 2006 21:21:23 +0000 (21:21 +0000)] 
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

19 years agofix up five little places where frames would not be free'd and remove an
Russell Bryant [Sun, 11 Jun 2006 21:08:04 +0000 (21:08 +0000)] 
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

19 years agofix a place that would leak a frame (all of these fixes are in applications
Russell Bryant [Sun, 11 Jun 2006 20:48:41 +0000 (20:48 +0000)] 
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

19 years agofix a couple places that would leak a frame
Russell Bryant [Sun, 11 Jun 2006 20:45:06 +0000 (20:45 +0000)] 
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

19 years agofix two places that would cause a frame to be leaked
Russell Bryant [Sun, 11 Jun 2006 20:38:39 +0000 (20:38 +0000)] 
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

19 years agofix a case where an HTML frame would be leaked
Russell Bryant [Sun, 11 Jun 2006 15:08:12 +0000 (15:08 +0000)] 
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

19 years agoFree frames read from the channel when measuring noise. This resulted in about
Russell Bryant [Sun, 11 Jun 2006 15:02:40 +0000 (15:02 +0000)] 
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

19 years agobackport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
Russell Bryant [Sun, 11 Jun 2006 14:56:55 +0000 (14:56 +0000)] 
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

19 years agoAllow the format outputted by meetme list to be used for meetme commands (like kick...
Joshua Colp [Fri, 9 Jun 2006 18:52:51 +0000 (18:52 +0000)] 
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

19 years agoRemove an unneeded double lock (issue #7310 reported by arkadia)
Joshua Colp [Fri, 9 Jun 2006 18:26:42 +0000 (18:26 +0000)] 
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

19 years agoHandle hangup during recording of screened name (issue #7304 reported by kulldominique)
Joshua Colp [Fri, 9 Jun 2006 18:08:00 +0000 (18:08 +0000)] 
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

19 years agoAdd missing newlines (issue #7323 reported by darkskiez)
Joshua Colp [Fri, 9 Jun 2006 16:31:29 +0000 (16:31 +0000)] 
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

19 years agoDo not require a context on a domain= setting
Olle Johansson [Fri, 9 Jun 2006 15:53:28 +0000 (15:53 +0000)] 
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

19 years agohandle out-of-memory conditions properly in ast_frisolate() (reported by Slav Kenov...
Kevin P. Fleming [Thu, 8 Jun 2006 16:57:23 +0000 (16:57 +0000)] 
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

19 years agofix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)
Russell Bryant [Wed, 7 Jun 2006 17:53:21 +0000 (17:53 +0000)] 
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

19 years agoBug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail...
Tilghman Lesher [Tue, 6 Jun 2006 16:55:23 +0000 (16:55 +0000)] 
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

19 years agoBug 7268 - Callerid leaks memory on error
Tilghman Lesher [Tue, 6 Jun 2006 16:02:43 +0000 (16:02 +0000)] 
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

19 years agoclean up yesterday's security fix to not cause breakage when video mini frames are...
Kevin P. Fleming [Tue, 6 Jun 2006 15:48:00 +0000 (15:48 +0000)] 
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

19 years agoensure that the received number of bytes is included in all IAX2 incoming frame analy...
Kevin P. Fleming [Mon, 5 Jun 2006 19:53:16 +0000 (19:53 +0000)] 
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

19 years agoreturn bridge exit logic to what it was before i broke it :-(
Kevin P. Fleming [Sun, 4 Jun 2006 03:43:35 +0000 (03:43 +0000)] 
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

19 years agowhen using moh files mode, don't look for a file past the number of files
Russell Bryant [Sat, 3 Jun 2006 17:02:49 +0000 (17:02 +0000)] 
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

19 years ago Fix doxygen comment about AST_LIST_HEAD_INIT_NOLOCK
BJ Weschke [Sat, 3 Jun 2006 14:48:13 +0000 (14:48 +0000)] 
 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

19 years agoremove pointless forcing of the channel into SLINEAR mode; the write format will...
Kevin P. Fleming [Thu, 1 Jun 2006 21:46:50 +0000 (21:46 +0000)] 
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

19 years agohandle Zap transfers behind chan_agent properly so the agent doesn't get stuck waitin...
Kevin P. Fleming [Thu, 1 Jun 2006 20:27:50 +0000 (20:27 +0000)] 
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

19 years agoremove a sample entry that never should have been added (code to support it was not...
Kevin P. Fleming [Thu, 1 Jun 2006 12:41:47 +0000 (12:41 +0000)] 
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

19 years agoif the connection to a FastAGI server fails because of a timeout, log a more
Russell Bryant [Wed, 31 May 2006 23:50:00 +0000 (23:50 +0000)] 
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

19 years agosilence a warning message that is not a warning
Kevin P. Fleming [Wed, 31 May 2006 22:26:38 +0000 (22:26 +0000)] 
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

19 years agofix misplaced manager event (issue #6866, flefoll)
Russell Bryant [Wed, 31 May 2006 20:26:17 +0000 (20:26 +0000)] 
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

19 years agocheck the proper variable...
Kevin P. Fleming [Tue, 30 May 2006 19:18:30 +0000 (19:18 +0000)] 
check the proper variable...

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

19 years agoanother S/390 build fix
Kevin P. Fleming [Tue, 30 May 2006 16:07:16 +0000 (16:07 +0000)] 
another S/390 build fix

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

19 years ago Fix infinite loop scenario and add some sanity checking to prevent segfault on a...
BJ Weschke [Tue, 30 May 2006 14:55:16 +0000 (14:55 +0000)] 
 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

19 years ago A new way to try and deal with deadlocks that occur in app_queue at present. Using...
BJ Weschke [Fri, 26 May 2006 17:09:51 +0000 (17:09 +0000)] 
 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

19 years ago Oops.
BJ Weschke [Thu, 25 May 2006 21:22:16 +0000 (21:22 +0000)] 
 Oops.

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

19 years agoDon't play the enter sound twice when a person joins a conference after the leader...
Joshua Colp [Thu, 25 May 2006 20:03:11 +0000 (20:03 +0000)] 
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

19 years agoadd a missing endif from the recent Makefile change and use indentation
Russell Bryant [Thu, 25 May 2006 18:40:42 +0000 (18:40 +0000)] 
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

19 years agodon't try to use -march=s390 when building on S/390 systems (reported via asterisk...
Kevin P. Fleming [Thu, 25 May 2006 17:39:33 +0000 (17:39 +0000)] 
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

19 years agoallow SIPCHANINFO(peername) to work for calls from users as well (issue #7215)
Kevin P. Fleming [Thu, 25 May 2006 17:18:01 +0000 (17:18 +0000)] 
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

19 years agoGet rid of an incorrect SIP dial string in the sample extensions.conf - I even tried...
Joshua Colp [Thu, 25 May 2006 15:27:44 +0000 (15:27 +0000)] 
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

19 years agooops... make sure to stop processing a request once we have sent an authentication...
Kevin P. Fleming [Wed, 24 May 2006 21:24:45 +0000 (21:24 +0000)] 
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

19 years agodon't send CANCEL on a pending INVITE if we haven't received a provisional response...
Kevin P. Fleming [Wed, 24 May 2006 20:09:24 +0000 (20:09 +0000)] 
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

19 years agoapp_meemte used the ast_max_exten instead of path_max
Matt O'Gorman [Wed, 24 May 2006 19:55:21 +0000 (19:55 +0000)] 
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

19 years agoMerge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_prior...
Joshua Colp [Wed, 24 May 2006 19:44:26 +0000 (19:44 +0000)] 
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

19 years agoFix deadlock caused by a race condition in the logger when reloading (issue #7195...
Joshua Colp [Wed, 24 May 2006 19:14:01 +0000 (19:14 +0000)] 
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

19 years agosupport video recording via AGI 'RECORD FILE' command (issue #7068)
Kevin P. Fleming [Wed, 24 May 2006 16:59:20 +0000 (16:59 +0000)] 
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

19 years agofix various bugs related to exiting from queue via keypress and moh handling (issue...
Kevin P. Fleming [Wed, 24 May 2006 16:52:08 +0000 (16:52 +0000)] 
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

19 years agorespect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel...
Kevin P. Fleming [Wed, 24 May 2006 16:17:26 +0000 (16:17 +0000)] 
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

19 years agofix for non-OSP builds (issue #7217)
Kevin P. Fleming [Wed, 24 May 2006 12:31:45 +0000 (12:31 +0000)] 
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

19 years agoadd an option to allow the admin to 'hide' SIP user/peer names from systems trying...
Kevin P. Fleming [Wed, 24 May 2006 03:32:02 +0000 (03:32 +0000)] 
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

19 years agofix the sourceaddress option (issue #7213, alphaque)
Russell Bryant [Tue, 23 May 2006 21:44:52 +0000 (21:44 +0000)] 
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

19 years agosimplify/fix lock retry, and fix comment
Kevin P. Fleming [Tue, 23 May 2006 18:16:40 +0000 (18:16 +0000)] 
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

19 years ago Sanity check code for an extended failure in trying to obtain a channel lock that...
BJ Weschke [Tue, 23 May 2006 17:17:02 +0000 (17:17 +0000)] 
  Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.

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

19 years agobackport some mutex initialization and linked list handling fixes from trunk
Kevin P. Fleming [Tue, 23 May 2006 17:15:23 +0000 (17:15 +0000)] 
backport some mutex initialization and linked list handling fixes from trunk

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

19 years ago Fix a potential leak and correct (hopefully) a segfault under certain conditions...
BJ Weschke [Tue, 23 May 2006 15:58:24 +0000 (15:58 +0000)] 
 Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing)

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

19 years agoIncrease the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported...
Joshua Colp [Mon, 22 May 2006 21:27:12 +0000 (21:27 +0000)] 
Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)

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

19 years agoUse the correct language when playing the transfer sound (issue #7109 reported by...
Joshua Colp [Mon, 22 May 2006 20:15:04 +0000 (20:15 +0000)] 
Use the correct language when playing the transfer sound (issue #7109 reported by casper)

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

19 years agoPreserve presentation bit when going through chan_local (issue #7002 reported by...
Joshua Colp [Mon, 22 May 2006 16:33:03 +0000 (16:33 +0000)] 
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)

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

19 years agoBug 7194 - spelling fix
Tilghman Lesher [Mon, 22 May 2006 14:59:59 +0000 (14:59 +0000)] 
Bug 7194 - spelling fix

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

19 years agoBug 7196 - month range did not work
Tilghman Lesher [Mon, 22 May 2006 14:34:34 +0000 (14:34 +0000)] 
Bug 7196 - month range did not work

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

19 years ago When an application that is executed via applicationmap and exits non-zero, make...
BJ Weschke [Sun, 21 May 2006 15:16:59 +0000 (15:16 +0000)] 
 When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...

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

19 years agofix the possibility of writing one byte past the end of a buffer.
Russell Bryant [Sat, 20 May 2006 19:50:41 +0000 (19:50 +0000)] 
fix the possibility of writing one byte past the end of a buffer.
(issue #7189, Mithraen)

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

19 years agodon't allow queue member devices to ring longer than the total queue timeout (issue...
Kevin P. Fleming [Sat, 20 May 2006 02:35:53 +0000 (02:35 +0000)] 
don't allow queue member devices to ring longer than the total queue timeout (issue #6423, reported and patched by bcnit)

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

19 years agofix a case where code made assumptions about how memory for variables is
Russell Bryant [Sat, 20 May 2006 02:31:30 +0000 (02:31 +0000)] 
fix a case where code made assumptions about how memory for variables is
allocatted on the stack - this patch is slightly different than the one
that went in for the trunk

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

19 years agodon't try to predict where the compiler will place things on the stack... put them...
Kevin P. Fleming [Sat, 20 May 2006 00:55:31 +0000 (00:55 +0000)] 
don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others)

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

19 years agouse the specified 'subscribecontext' for a peer rather than the context found via...
Kevin P. Fleming [Fri, 19 May 2006 19:39:55 +0000 (19:39 +0000)] 
use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122, reported by raarts)

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