Commit Graph

13368 Commits

Author SHA1 Message Date
Mark Michelson 37c1943b87 Changed some spaces to tabs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 16:16:51 +00:00
Russell Bryant 45109d88f0 Merged revisions 86296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86296 | russell | 2007-10-18 10:45:55 -0500 (Thu, 18 Oct 2007) | 3 lines

Execute the RELEASE operation on transcoder channels in the destroy callback.
(patch from jsloan)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 15:57:30 +00:00
Tilghman Lesher 9203f4fedb Code cleanup of acl.c
Reported by dimas
Closes issue #10784


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 07:23:41 +00:00
Tilghman Lesher 7e23779b01 On reload, re-read the files in the specified moh directory (closes issue #10536)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 07:12:18 +00:00
Russell Bryant ac4d66cc73 Merged revisions 86237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86237 | russell | 2007-10-17 23:40:52 -0500 (Wed, 17 Oct 2007) | 9 lines

Revert a change that I made for issue #10979 which, as has been pointed out to
me in issue #11018, doesn't really make sense.  There is no reason to have
the base64 decode function force a '\0' terminated buffer, when the result is
almost always binary, anyway.  In fact, this caused some breakage, as some code
in res_crypto passed in a buffer exactly the right size to get its binary
result, which got stomped on by this patch.

(closes issue #11018, reported by dimas)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 04:41:33 +00:00
Mark Michelson d1a0d959a7 Merged revisions 86202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86202 | mmichelson | 2007-10-17 16:39:05 -0500 (Wed, 17 Oct 2007) | 6 lines

Changing the strategy field of the call_queue struct to be signed instead of unsigned,
since the code attempts to set the strategy to -1 if you specify a bogus strategy.
While this isn't a huge issue in 1.4, it could be a problem for someone who, say, tries
to use the roundrobin strategy in trunk (despite all the deprecation warnings in 1.4).


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 21:41:06 +00:00
Tilghman Lesher 727a908023 Simplify some preprocessor logic by using #elif
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 21:16:40 +00:00
Tilghman Lesher 6998be1b3b Document the changes made earlier today to meetme
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 20:42:20 +00:00
Steve Murphy a69abc0179 and then, I noticed the clicompat stuff.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 20:06:28 +00:00
Steve Murphy e5fa15d812 more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 19:59:49 +00:00
Steve Murphy 65786f15fa more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 19:58:20 +00:00
Russell Bryant ba2768f4df Merged revisions 86149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86149 | russell | 2007-10-17 12:57:45 -0500 (Wed, 17 Oct 2007) | 8 lines

If Asterisk is in the middle of shutting down, respond to OPTIONS
with 503 Unavailable.

(closes issue #10994)
Reported by: eserra
Patches:
      sip-options-503.patch uploaded by eserra (license 45)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 18:01:38 +00:00
Tilghman Lesher 6b9841b141 Support color on certain platforms, even when started at boot (before TERM is set)
Closes issue #9048


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 17:06:47 +00:00
Joshua Colp 1a4171ae6b Merged revisions 86117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86117 | file | 2007-10-17 13:58:03 -0300 (Wed, 17 Oct 2007) | 4 lines

Whoops, forgot to remove the original sip_scheddestroy.
(closes issue #11010)
Reported by: vadim

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 17:00:13 +00:00
Jason Parker c9f869e982 Allow chan_usbradio to compile again.
Closes issue #11014, patch by seanbright.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 16:09:01 +00:00
Tilghman Lesher 616ec5d340 Merged revisions 86066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86066 | tilghman | 2007-10-17 10:23:51 -0500 (Wed, 17 Oct 2007) | 3 lines

When runuser/rungroup is specified, a remote console could only be attained by root
(Closes issue #9999)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 15:39:24 +00:00
Joshua Colp 746dc07e2c Change dependency for chan_usbradio to asound. Let's keep everything uniform.
(closes issue #11013)
Reported by: seanbright


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 15:30:55 +00:00
Tilghman Lesher c853d3ab01 Enhancements to realtime (closes issue #9609)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 15:13:51 +00:00
Joshua Colp e24eee1797 Merged revisions 86063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86063 | file | 2007-10-17 12:06:36 -0300 (Wed, 17 Oct 2007) | 4 lines

Don't schedule dialog destruction if a MESSAGE is received using an existing dialog.
(closes issue #11010)
Reported by: vadim

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-17 15:09:36 +00:00
Mark Michelson cd1e6873aa Merged revisions 86032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86032 | mmichelson | 2007-10-16 18:35:31 -0500 (Tue, 16 Oct 2007) | 3 lines

Since monitor-join is deprecated now, remove the example from the sample queues.conf file


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 23:36:35 +00:00
Mark Michelson c438d76551 Removed the monitor-join option. If one wishes to mix audio, they should instead use
monitor-type=mixmonitor.

(related to issue #10885)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 22:54:37 +00:00
Mark Michelson fa347f7d5f Blocked revisions 86028 via svnmerge
........
r86028 | mmichelson | 2007-10-16 17:49:10 -0500 (Tue, 16 Oct 2007) | 6 lines

Adding deprecated warning to monitor-join option, since the plan is to
no longer support this in favor of monitor-type = mixmonitor

(related to issue #10885)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 22:51:20 +00:00
Russell Bryant dbdbdb7f43 Merged revisions 85997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85997 | russell | 2007-10-16 17:36:16 -0500 (Tue, 16 Oct 2007) | 1 line

really picky formatting tweak ...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 22:36:58 +00:00
Russell Bryant 5007769d4e Merged revisions 85994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85994 | russell | 2007-10-16 17:14:36 -0500 (Tue, 16 Oct 2007) | 16 lines

Some locking errors exposed the fact that the lock debugging code itself was
not thread safe.  How ironic!  Anyway, these changes ensure that the code that
is accessing the lock debugging data is thread-safe.  

Many thanks to Ivan for finding and fixing the core issue here, and also 
thanks to those that tested the patch and provided test results.

(closes issue #10571)
(closes issue #10886)
(closes issue #10875)
(might close some others, as well ...)

Patches: (from issue #10571)
      ivan_ast_1_4_12_rel_patch_lock.h.diff uploaded by Ivan (license 229)
       - a few small changes by me

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 22:21:45 +00:00
Mark Michelson a39404fed2 Fixing the build.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 21:51:26 +00:00
Mark Michelson dadfe716e2 Fixing app_read so that if a timeout of less than 1 ms is specified,
assume that 1 ms is desired.

(closes issue #11000, reported and patched by michael-fig, with a warning line added by me)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 21:38:05 +00:00
Mark Michelson bece7e24f2 Merged revisions 85958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85958 | mmichelson | 2007-10-16 16:14:34 -0500 (Tue, 16 Oct 2007) | 5 lines

Trying to remove a non-dynamic queue member via dynamic means can lead to some
interesting (read nasty) situations. This patch clears up the issue by making
only dynamic queue members removable via dynamic methods.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 21:16:00 +00:00
Matthew Fredrickson b5a162a746 Don't hangup the call for SS7 if we get an alarm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 20:55:57 +00:00
Russell Bryant 8fae310e81 This fixes SIP subscriptions in trunk.
Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 20:32:16 +00:00
Tilghman Lesher bd27085c00 Merged revisions 85921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85921 | tilghman | 2007-10-16 14:41:40 -0500 (Tue, 16 Oct 2007) | 4 lines

Also set up gmtoff (this is used in the %z gnu extension to strftime)
Reported and fixed by jcmoore
Closes issue #11002

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 19:47:16 +00:00
Russell Bryant 1f21e03746 Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines

Remove a pointless lock.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 19:12:24 +00:00
Mark Michelson 227d678cc7 Fix IMAP compilation error.
(closes issue #10986, reported and patched by snuffy)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 16:40:24 +00:00
Mark Michelson 1e0be8ba64 Blocking changes from previous commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 15:24:50 +00:00
Joshua Colp ff9eaa301d Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 15:15:53 +00:00
Joshua Colp c4230bb28f Permit building under DEBUG_THREADLOCALS. Thanks snuff.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 14:27:27 +00:00
Joshua Colp 3c33254f0c Merged revisions 85818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85818 | file | 2007-10-16 11:19:39 -0300 (Tue, 16 Oct 2007) | 6 lines

Fix memory allocation issue in threadstorage.
(closes issue #10995)
Reported by: snuffy
Patches:
      new-patch.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 14:21:27 +00:00
Philippe Sultan 65547b09b4 Fix CLI help output
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 10:38:57 +00:00
Philippe Sultan 0163f90829 Added two CLI functions, taken from chan_gtalk :
- jingle reload ;
- jingle show channels.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 10:29:33 +00:00
Philippe Sultan 37a0b33171 Make an audio path under the following call configuration :
SIP Phone 1 --- [chan_sip]Asterisk 1[chan_jingle] --- [chan_jingle]Asterisk 2[chan_sip] --- SIP Phone 2

Modifications :
- set bridge type to partial ;
- process media candidates from the remote peer properly.

Now we have Jingle audio, at least between two Asterisk Jingle
clients.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-16 09:47:22 +00:00
Jason Parker ed690fc348 Switch dundi to new tos config format.
Remove old unused defines for old style.

Closes issue 10860, patch by IgorG.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 23:20:40 +00:00
Tilghman Lesher aee5666484 Blocked revisions 85687 via svnmerge
........
r85687 | tilghman | 2007-10-15 15:29:35 -0500 (Mon, 15 Oct 2007) | 5 lines

Don't execute a gosub if the arguments is zero-len (not just NULL)
Reported by davevg
Fixed by me
Closes issue #10985

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 22:03:01 +00:00
Russell Bryant a586d03231 Merged revisions 85720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85720 | russell | 2007-10-15 16:10:02 -0500 (Mon, 15 Oct 2007) | 3 lines

Ensure that no pending state changes are leaked when the device state change
thread gets stopped on module unload.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 21:11:06 +00:00
Russell Bryant 14596e404c Blocked revisions 85717 via svnmerge
........
r85717 | russell | 2007-10-15 15:59:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Previously, app_queue created a thread to handle every single device state
change.  I changed this a while ago in trunk for performance reasons.  However,
bug 8407 points out that it is actually a race condition, causing device state
changes to get processed in random order.  So, I backported my changes from
trunk to 1.4.
(closes issue #8407, patch provided by tim_ringenbach, committed patch by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 21:01:23 +00:00
Russell Bryant 9808799f2a Merged revisions 85686 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85686 | russell | 2007-10-15 15:21:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Add a small fix for the tw version of saying dates.

(closes issue #7827)
Reported by: sharkey
Patches: 
      say.nits.patch uploaded by sharkey (license 172)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 21:01:00 +00:00
Jason Parker 60f4fa4ad2 Merged revisions 85684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10938)
........
r85684 | qwell | 2007-10-15 15:15:51 -0500 (Mon, 15 Oct 2007) | 5 lines

Properly use DESTDIR in 'config' target.
Do not try to run chkconfig or similar if using DESTDIR.

Issue 10938, patch by cabal95.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 20:16:48 +00:00
Russell Bryant 1668548ced add TOUCH_MONITOR_PREF to the channel var docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 20:09:42 +00:00
Russell Bryant ea02f3d0c5 Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
It allows you to configure a prefix for auto-monitor recordings.

(closes issue #6353)
Reported by: ivanfm
Patches: 
      asterisk_automon_v4.patch uploaded by ivanfm (original patch)
	   - updated patch:
         6353-touch_monitor_prefix.diff uploaded by qwell (license 4)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 20:08:04 +00:00
Russell Bryant 4c1b8cb9fa Merged revisions 85649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85649 | russell | 2007-10-15 14:22:45 -0500 (Mon, 15 Oct 2007) | 2 lines

Be pedantic about handling memory allocation failure.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 19:25:56 +00:00
Russell Bryant ac9a6dce25 Merged revisions 85647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85647 | russell | 2007-10-15 14:11:38 -0500 (Mon, 15 Oct 2007) | 5 lines

The loop in the handler for the "core show locks" could potentially block for
some amount of time.  Be a little bit more careful and prepare all of the
output in an intermediary buffer while holding a global resource.  Then, after
releasing it, send the output to ast_cli().

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 19:19:01 +00:00
Tilghman Lesher 1acdae4f12 Document my changes from Friday
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 17:51:05 +00:00