dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

13260 Commits

Author SHA1 Message Date
murf 3af535a31c and then, I noticed the clicompat stuff.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86182 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 20:06:28 +00:00
murf b45a66b50e more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86181 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 19:59:49 +00:00
murf 6b95b67666 more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 19:58:20 +00:00
russell 9ad4e817cc 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: http://svn.digium.com/svn/asterisk/trunk@86150 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 18:01:38 +00:00
tilghman be65272c6c Support color on certain platforms, even when started at boot (before TERM is set)
Closes issue #9048


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86119 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 17:06:47 +00:00
file af258f8133 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: http://svn.digium.com/svn/asterisk/trunk@86118 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 17:00:13 +00:00
qwell 1dd6cd6bc1 Allow chan_usbradio to compile again.
Closes issue #11014, patch by seanbright.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86104 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 16:09:01 +00:00
tilghman cfd74e7391 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: http://svn.digium.com/svn/asterisk/trunk@86079 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 15:39:24 +00:00
file 80829fa345 Change dependency for chan_usbradio to asound. Let's keep everything uniform.
(closes issue #11013)
Reported by: seanbright


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 15:30:55 +00:00
tilghman dce4f342f4 Enhancements to realtime (closes issue #9609)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86065 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 15:13:51 +00:00
file 5d7b29619e 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: http://svn.digium.com/svn/asterisk/trunk@86064 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 15:09:36 +00:00
mmichelson c87faed440 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: http://svn.digium.com/svn/asterisk/trunk@86033 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 23:36:35 +00:00
mmichelson 038da41445 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: http://svn.digium.com/svn/asterisk/trunk@86030 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 22:54:37 +00:00
mmichelson 6df0dd80ab 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: http://svn.digium.com/svn/asterisk/trunk@86029 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 22:51:20 +00:00
russell b460e6d2ba 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: http://svn.digium.com/svn/asterisk/trunk@85998 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 22:36:58 +00:00
russell 02adf04c4e 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: http://svn.digium.com/svn/asterisk/trunk@85995 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 22:21:45 +00:00
mmichelson 645e60e83e Fixing the build.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85992 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:51:26 +00:00
mmichelson a2965486cc 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: http://svn.digium.com/svn/asterisk/trunk@85965 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:38:05 +00:00
mmichelson 914f7e245d 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: http://svn.digium.com/svn/asterisk/trunk@85959 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:16:00 +00:00
mattf 8e31333633 Don't hangup the call for SS7 if we get an alarm
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85957 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 20:55:57 +00:00
russell 7cf32265a1 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: http://svn.digium.com/svn/asterisk/trunk@85944 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 20:32:16 +00:00
tilghman 78d84bd186 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: http://svn.digium.com/svn/asterisk/trunk@85943 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 19:47:16 +00:00
russell 81648dcc00 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: http://svn.digium.com/svn/asterisk/trunk@85897 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 19:12:24 +00:00
mmichelson 88e35377fe Fix IMAP compilation error.
(closes issue #10986, reported and patched by snuffy)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85883 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 16:40:24 +00:00
mmichelson 8f44f5a0d9 Blocking changes from previous commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85853 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 15:24:50 +00:00
file 4ec09debe9 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: http://svn.digium.com/svn/asterisk/trunk@85851 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 15:15:53 +00:00
file a99a95b5b8 Permit building under DEBUG_THREADLOCALS. Thanks snuff.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 14:27:27 +00:00
file 47b1b15497 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: http://svn.digium.com/svn/asterisk/trunk@85819 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 14:21:27 +00:00
phsultan 2ecfe1cbc9 Fix CLI help output
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85787 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 10:38:57 +00:00
phsultan 443be026b4 Added two CLI functions, taken from chan_gtalk :
- jingle reload ;
- jingle show channels.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85778 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 10:29:33 +00:00
phsultan de85c23b04 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: http://svn.digium.com/svn/asterisk/trunk@85777 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 09:47:22 +00:00
qwell 1fa7b3672e Switch dundi to new tos config format.
Remove old unused defines for old style.

Closes issue 10860, patch by IgorG.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85764 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 23:20:40 +00:00
tilghman bf38822b6f 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: http://svn.digium.com/svn/asterisk/trunk@85751 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 22:03:01 +00:00
russell 67d19c3115 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: http://svn.digium.com/svn/asterisk/trunk@85721 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 21:11:06 +00:00
russell 8640277911 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: http://svn.digium.com/svn/asterisk/trunk@85719 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 21:01:23 +00:00
russell 8203acfdae 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: http://svn.digium.com/svn/asterisk/trunk@85718 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 21:01:00 +00:00
qwell eb8aa9fea8 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: http://svn.digium.com/svn/asterisk/trunk@85685 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 20:16:48 +00:00
russell 4c37f69ffa add TOUCH_MONITOR_PREF to the channel var docs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85683 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 20:09:42 +00:00
russell 4f94e42a67 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: http://svn.digium.com/svn/asterisk/trunk@85682 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 20:08:04 +00:00
russell 8381ecb240 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: http://svn.digium.com/svn/asterisk/trunk@85650 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 19:25:56 +00:00
russell bc130eab84 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: http://svn.digium.com/svn/asterisk/trunk@85648 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 19:19:01 +00:00
tilghman 941606972a Document my changes from Friday
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85633 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 17:51:05 +00:00
russell 37aa78847e Merged revisions 85604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85604 | russell | 2007-10-15 11:54:57 -0500 (Mon, 15 Oct 2007) | 6 lines

Make the default for the srvlookup option to be yes.  It doesn't really make
sense for it to default to off.  The default configuration file has it on, and
proper RFC behavior, as indicated by a comment in the code, is for it to be on.
So, let's have it on by default to make lives easier.
(closes issue #10954, suggested by jtodd)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85605 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 16:59:53 +00:00
file 70bd4c82c8 Merged revisions 85571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85571 | file | 2007-10-15 13:39:59 -0300 (Mon, 15 Oct 2007) | 4 lines

Document that DTMF based features only work when two channels are bridged together.
(closes issue #10773)
Reported by: pbayley

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85578 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 16:41:56 +00:00
russell a2374d764e Merged revisions 85561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85561 | russell | 2007-10-15 11:34:13 -0500 (Mon, 15 Oct 2007) | 4 lines

Make a few changes so that characters in the upper half of the ISO-8859-1
character set don't get stripped when reading configuration.
(closes issue #10982, dandre)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85562 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 16:36:48 +00:00
file 2055fd96f1 Merged revisions 85559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85559 | file | 2007-10-15 13:22:02 -0300 (Mon, 15 Oct 2007) | 4 lines

Bring both DTMF begin and end frames up through to the core for DTMF feature handling.
(closes issue #10826)
Reported by: dimas

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85560 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 16:23:41 +00:00
russell cb5696de52 Simplify buffer handling in dundi-parser.c. This also makes the code a bit
safer by removing various assumptions about sizes. (No vulnerabilities, though)

(closes issue #10977)
Reported by: dimas
Patches: 
      dundiparser.patch uploaded by dimas (license 88)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 15:55:23 +00:00
russell 644885493a Merged revisions 85556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85556 | russell | 2007-10-15 10:40:45 -0500 (Mon, 15 Oct 2007) | 9 lines

Ensure the buffer passed to ast_canmatch_extension() is properly initialized so
that it is null terminated.

(issue #10977)
Reported by: dimas
Patches: 
      pbxdundi.patch uploaded by dimas (license 88)
	    - small mods by me

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85557 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 15:47:46 +00:00
phsultan cccf110de3 Allow RTP structure registration
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 15:26:58 +00:00
file a0e4f61e46 Add packetization data for G.722.
(closes issue #10900)
Reported by: andrew
Patches:
      frame.diff uploaded by andrew (license 240)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85554 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 15:07:37 +00:00