Commit Graph

15481 Commits

Author SHA1 Message Date
Russell Bryant
ff438c5343 Merged revisions 120169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120169 | russell | 2008-06-03 16:35:11 -0500 (Tue, 03 Jun 2008) | 12 lines

Merged revisions 120168 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120168 | russell | 2008-06-03 16:34:55 -0500 (Tue, 03 Jun 2008) | 4 lines

Fix another place where peer->callno could change at a very bad time, and also
fix a place where a peer was used after the reference was released.
(inspired by rev 120001)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 21:35:46 +00:00
Mark Michelson
b30c8019b1 Blocked revisions 120166 via svnmerge
........
r120166 | mmichelson | 2008-06-03 16:22:52 -0500 (Tue, 03 Jun 2008) | 13 lines

Adding two new queue log events. The ADDMEMBER event is logged when
a dynamic realtime queue member is added to the queue, and the 
REMOVEMEMBER event is logged when a dynamic realtime member is
removed. Since no calling channel is associated with these events
the string "REALTIME" is placed where the channel's unique id is
normally placed.

(closes issue #12774)
Reported by: atis
Patches:
      queue_log_rt_members.patch uploaded by atis (license 242)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 21:23:33 +00:00
Russell Bryant
0774aac0ef Blocked revisions 120129 via svnmerge
........
r120129 | russell | 2008-06-03 14:48:37 -0500 (Tue, 03 Jun 2008) | 2 lines

Use proper return values for a few application modules

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 19:48:56 +00:00
Russell Bryant
b2f1231fa0 Blocked revisions 120066 via svnmerge
........
r120066 | russell | 2008-06-03 13:43:01 -0500 (Tue, 03 Jun 2008) | 2 lines

fix build for non debug threads

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 18:44:29 +00:00
Russell Bryant
a321695170 Blocked revisions 120064 via svnmerge
........
r120064 | russell | 2008-06-03 13:26:51 -0500 (Tue, 03 Jun 2008) | 10 lines

Add lock tracking for rwlocks.  Previously, lock.h only had the ability to
hold tracking information for mutexes.  Now, the "core show locks" output
will output information about who is holding a rwlock when a thread is
waiting on it.

(closes issue #11279)
Reported by: ys
Patches:
      trunk_lock_utils.v8.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 18:27:26 +00:00
Tilghman Lesher
09d6c17864 Merged revisions 120012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120012 | tilghman | 2008-06-03 11:19:35 -0500 (Tue, 03 Jun 2008) | 17 lines

Merged revisions 120001 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120001 | tilghman | 2008-06-03 11:10:53 -0500 (Tue, 03 Jun 2008) | 9 lines

Save the callno when we're poking, because our peer structure could change
during destruction (and thus we unlock the wrong callno, causing a
cascade failure).
(closes issue #12717)
 Reported by: gewfie
 Patches: 
       20080525__bug12717.diff.txt uploaded by Corydon76 (license 14)
 Tested by: gewfie

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 16:24:08 +00:00
Steve Murphy
a83e2b2672 Merged revisions 119998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119998 | murf | 2008-06-03 09:49:34 -0600 (Tue, 03 Jun 2008) | 16 lines

Merged revisions 119966 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119966 | murf | 2008-06-03 09:26:56 -0600 (Tue, 03 Jun 2008) | 8 lines

Updated the regressions on AEL. Hadn't updated
this for the changes I made to preserve ${EXTEN}
in switches, which affected several tests because
it adds extra priorities, and at least one needed to be updated
because of the removal of the empty extension warning
message.


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 15:57:26 +00:00
Steve Murphy
5c1b2dedc5 Merged revisions 119930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119930 | murf | 2008-06-03 09:07:20 -0600 (Tue, 03 Jun 2008) | 24 lines

Merged revisions 119929 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119929 | murf | 2008-06-03 08:49:46 -0600 (Tue, 03 Jun 2008) | 16 lines

as per http://lists.digium.com/pipermail/asterisk-users/2008-June/212934.html,
which is a message from Philipp Kempgen, requesting that the WARNING
that an extension is empty be reduced to a NOTICE or less, as empty
extensions are syntactically possible, and no big deal.

With which I agree, and have removed that WARNING message entirely.
I think it is not necessary to see this message. It didn't 
state that a NoOp() was inserted automatically on your behalf,
and really, as users, who cares? Why freak out dialplan writers
with unnecessary warnings? The details of the machinations a compiler goes
thru to produce working assembly code is of little interest
to most programmers-- we will follow the unix principal of
doing our work silently.



........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 15:12:28 +00:00
Joshua Colp
5df551ca7c Merged revisions 119927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119927 | file | 2008-06-03 11:47:54 -0300 (Tue, 03 Jun 2008) | 10 lines

Merged revisions 119926 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119926 | file | 2008-06-03 11:46:24 -0300 (Tue, 03 Jun 2008) | 2 lines

Treat ECONNREFUSED as an error that will stop further retransmissions. (issue #AST-58, patch from Switchvox)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 14:48:53 +00:00
Russell Bryant
f2374dc751 Merged revisions 119892 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119892 | russell | 2008-06-03 08:29:16 -0500 (Tue, 03 Jun 2008) | 9 lines

Do a deep copy of file and function strings to avoid a potential crash when
modules are unloaded.

(closes issue #12780)
Reported by: ys
Patches:
      logger.diff uploaded by ys (license 281)
	  -- modified by me for coding guidelines

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 13:30:39 +00:00
Russell Bryant
3cbe2984ef Merged revisions 119839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119839 | russell | 2008-06-02 15:08:24 -0500 (Mon, 02 Jun 2008) | 15 lines

Merged revisions 119838 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119838 | russell | 2008-06-02 15:08:04 -0500 (Mon, 02 Jun 2008) | 7 lines

Revert a change made for issue #12479.  This change caused a regression such that
a dial string such as (IAX2/foo) did not automatically fall back to dialing the 's'
extension anymore.

(closes issue #12770)
Reported by: dagmoller

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 20:08:48 +00:00
Russell Bryant
99982db334 Merged revisions 119801 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119801 | russell | 2008-06-02 11:14:15 -0500 (Mon, 02 Jun 2008) | 4 lines

Add app_fax from asterisk-addons, with some additional changes to resolve compiler
warnings, as well as update to the APIs in spandsp 0.0.5.  Spandsp 0.0.5 is being
distributed under the LGPL, so we can move this module into the main tree.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 16:14:37 +00:00
Russell Bryant
19721dea99 Merged revisions 119799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119799 | russell | 2008-06-02 10:57:43 -0500 (Mon, 02 Jun 2008) | 4 lines

After determining that the version of spandsp installed is an acceptable version,
do a build and link test to ensure that the library is usable, and that libtiff
is also available

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:58:41 +00:00
Russell Bryant
d206a81d8d Merged revisions 119795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119795 | russell | 2008-06-02 10:43:40 -0500 (Mon, 02 Jun 2008) | 2 lines

Add a configure script check for spandsp

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:46:07 +00:00
Russell Bryant
6785df630c Merged revisions 119744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119744 | russell | 2008-06-02 09:41:55 -0500 (Mon, 02 Jun 2008) | 13 lines

Merged revisions 119742 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119742 | russell | 2008-06-02 09:39:45 -0500 (Mon, 02 Jun 2008) | 5 lines

Improve CLI command blacklist checking for the command manager action.  Previously,
it did not handle case or whitespace properly.  This made it possible for blacklisted
commands to get executed anyway.
(closes issue #12765)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 14:44:47 +00:00
Philippe Sultan
029ac4cb4d Merged revisions 119741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119741 | phsultan | 2008-06-02 16:35:24 +0200 (Mon, 02 Jun 2008) | 13 lines

Do not link the guest account with any configured XMPP client (in
jabber.conf). The actual connection is made when a call comes in
Asterisk.

Apply this fix to Jingle too.

Fix the ast_aji_get_client function that was not able to retrieve an
XMPP client from its JID.

(closes issue #12085)
Reported by: junky
Tested by: phsultan

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 14:40:42 +00:00
Russell Bryant
e46eda0e00 Merged revisions 119586,119637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119586 | crichter | 2008-06-02 03:46:23 -0500 (Mon, 02 Jun 2008) | 9 lines

Merged revisions 119585 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119585 | crichter | 2008-06-02 10:35:28 +0200 (Mo, 02 Jun 2008) | 1 line

Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
........

................
r119637 | crichter | 2008-06-02 04:35:04 -0500 (Mon, 02 Jun 2008) | 9 lines

Merged revisions 119636 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119636 | crichter | 2008-06-02 11:29:21 +0200 (Mo, 02 Jun 2008) | 1 line

fixed compile issue when dev-mode is enabled
........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 12:32:22 +00:00
Russell Bryant
aeceb3690c Merged revisions 119688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119688 | russell | 2008-06-02 07:30:42 -0500 (Mon, 02 Jun 2008) | 11 lines

Merged revisions 119687 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119687 | russell | 2008-06-02 07:30:17 -0500 (Mon, 02 Jun 2008) | 3 lines

Even of the first PING or LAGRQ doesn't get sent because it comes up too soon,
make sure to reschedule so it gets sent later.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 12:31:05 +00:00
Russell Bryant
8ba94bb258 Merged revisions 119534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119534 | russell | 2008-06-01 20:08:16 -0500 (Sun, 01 Jun 2008) | 10 lines

Merged revisions 119533 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119533 | russell | 2008-06-01 20:06:09 -0500 (Sun, 01 Jun 2008) | 2 lines

Change a debug message to an actual debug message

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 01:08:56 +00:00
Russell Bryant
e60f5750ad Merged revisions 119531 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119531 | russell | 2008-06-01 20:04:01 -0500 (Sun, 01 Jun 2008) | 10 lines

Merged revisions 119530 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119530 | russell | 2008-06-01 20:03:22 -0500 (Sun, 01 Jun 2008) | 2 lines

Fix another typo in documentation

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 01:04:30 +00:00
Michiel van Baak
726f081141 Merged revisions 119479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119479 | mvanbaak | 2008-06-01 23:06:27 +0200 (Sun, 01 Jun 2008) | 10 lines

Merged revisions 119478 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119478 | mvanbaak | 2008-06-01 22:47:55 +0200 (Sun, 01 Jun 2008) | 2 lines

small typo fix 'retires' => 'retries'

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-01 21:59:44 +00:00
Tilghman Lesher
1db927c186 Merged revisions 119419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119419 | tilghman | 2008-05-30 16:23:14 -0500 (Fri, 30 May 2008) | 14 lines

Merged revisions 119404 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119404 | tilghman | 2008-05-30 16:17:45 -0500 (Fri, 30 May 2008) | 6 lines

When joinempty=strict, it only failed on join if there were busy members.  If
all members were logged out OR paused, then it (incorrectly) let callers join
the queue.
(closes issue #12451)
 Reported by: davidw

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 21:24:01 +00:00
Joshua Colp
430cfb75d8 Merged revisions 119355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119355 | file | 2008-05-30 16:47:30 -0300 (Fri, 30 May 2008) | 10 lines

Merged revisions 119354 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119354 | file | 2008-05-30 16:46:37 -0300 (Fri, 30 May 2008) | 2 lines

Fix a bug I found while testing for another issue.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 19:48:25 +00:00
Tilghman Lesher
2fde71cb45 Oops, broke 1.6 (thanks MattF)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 17:13:20 +00:00
Michiel van Baak
c568ee08f3 Merged revisions 119302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119302 | mvanbaak | 2008-05-30 18:47:24 +0200 (Fri, 30 May 2008) | 22 lines

Merged revisions 119301 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines

dont use a bashism way to check the $VERSION variable.
The rc/init.d scripts, and safe_asterisk work on normal sh now again.
Tested on:
OpenBSD 4.2 (me)
Debian etch (me)
Ubuntu Hardy (me and loloski)
FC9 (loloski)

(closes issue #12687)
Reported by: loloski
Patches:
      20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7)
	  Tested by: loloski, mvanbaak

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:57:49 +00:00
Tilghman Lesher
087a26f492 Merged revisions 119299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119299 | tilghman | 2008-05-30 11:40:13 -0500 (Fri, 30 May 2008) | 2 lines

Suppress warning about pbx structure already existing

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:40:51 +00:00
Tilghman Lesher
caab83a81b Merged revisions 119296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119296 | tilghman | 2008-05-30 11:10:46 -0500 (Fri, 30 May 2008) | 8 lines

Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
properly.
(closes issue #12760)
 Reported by: Corydon76
 Patches: 
       20080530__bug12760.diff.txt uploaded by Corydon76 (license 14)
 Tested by: tim_ringenbach, Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:11:31 +00:00
Russell Bryant
ec42d8e877 Merged revisions 119239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119239 | russell | 2008-05-30 07:59:11 -0500 (Fri, 30 May 2008) | 23 lines

Merged revisions 119238 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r119238 | russell | 2008-05-30 07:55:36 -0500 (Fri, 30 May 2008) | 15 lines

Merged revisions 119237 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r119237 | russell | 2008-05-30 07:49:39 -0500 (Fri, 30 May 2008) | 7 lines

- Instead of only enforcing destination call number checking on an ACK, check
  all full frames except for PING and LAGRQ, which may be sent by older versions
  too quickly to contain the destination call number.
  (As suggested by Tim Panton on the asterisk-dev list)
- Merge changes from team/russell/iax2-frame-race, which prevents PING and LAGRQ
  from being sent before the destination call number is known.

........

................

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 13:01:05 +00:00
Russell Bryant
3d1ed5a41e Merged revisions 119157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119157 | russell | 2008-05-29 17:28:50 -0500 (Thu, 29 May 2008) | 18 lines

Merged revisions 119156 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119156 | russell | 2008-05-29 17:24:29 -0500 (Thu, 29 May 2008) | 10 lines

Fix a race condition in channel autoservice.  There was still a small window of opportunity
for a DTMF frame, or some other deferred frame type, to come in and get dropped.

(closes issue #12656)
(closes issue #12656)
Reported by: dimas
Patches:
      v3-12656.patch uploaded by dimas (license 88)
	  -- with some modifications by me

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 22:31:44 +00:00
Brett Bryant
8a1ca56cf6 Blocked revisions 119126 via svnmerge
........
r119126 | bbryant | 2008-05-29 16:30:37 -0500 (Thu, 29 May 2008) | 7 lines

Adds support for changing logger settingss on remote consoles with a 
new command "logger set level". 

i.e. "logger set level debug off"

(closes issue #10891)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 21:31:03 +00:00
Tilghman Lesher
5df1e912c8 Merged revisions 119072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119072 | tilghman | 2008-05-29 15:25:33 -0500 (Thu, 29 May 2008) | 15 lines

Merged revisions 119071 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119071 | tilghman | 2008-05-29 15:24:11 -0500 (Thu, 29 May 2008) | 7 lines

Call waiting tone occurs too often, because it's getting serviced by both
subchannels.
(closes issue #11354)
 Reported by: cahen
 Patches: 
       20080512__bug11354.diff.txt uploaded by Corydon76 (license 14)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 20:26:18 +00:00
Michiel van Baak
11145b3feb Blocked revisions 119015 via svnmerge
........
r119015 | mvanbaak | 2008-05-29 21:10:31 +0200 (Thu, 29 May 2008) | 10 lines

Make sure the nrfds and nefds are reset to NULL
before we enter manage_parkinglot.
This will get rid of CLI warnings like:
__ast_read: Exception flag set on 'SIP/<NUMBER>-<ID>', but no exception handler

(closes issue #12748)
Reported by: nreinartz
Patches:
      asterisk-multiparking_initialize_filedescr_sets-0.0.1.patch uploaded by nreinartz (license 452)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 19:13:02 +00:00
Russell Bryant
cbe000d676 Merged revisions 119013 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119013 | russell | 2008-05-29 14:05:33 -0500 (Thu, 29 May 2008) | 12 lines

Merged revisions 119012 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119012 | russell | 2008-05-29 14:04:52 -0500 (Thu, 29 May 2008) | 4 lines

 - Fix a typo in the argument to Playtones
 - use ast_safe_sleep() instead of calling the wait application
(thanks to tilghman for pointing these out!)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 19:06:02 +00:00
Russell Bryant
4da50bd4c1 Merged revisions 119010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119010 | russell | 2008-05-29 13:54:11 -0500 (Thu, 29 May 2008) | 24 lines

Merged revisions 119009 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r119009 | russell | 2008-05-29 13:49:12 -0500 (Thu, 29 May 2008) | 16 lines

Merged revisions 119008 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r119008 | russell | 2008-05-29 13:45:21 -0500 (Thu, 29 May 2008) | 7 lines

Merge changes from team/russell/iax2-another-fix-to-the-fix

As described in the following post to the asterisk-dev mailing list, only
enforce destination call numbers when processing an ACK.

http://lists.digium.com/pipermail/asterisk-dev/2008-May/033217.html

(closes issue #12631)
........

................

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 18:57:20 +00:00
Russell Bryant
52b2841fa0 Merged revisions 118962 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118962 | russell | 2008-05-29 12:52:00 -0500 (Thu, 29 May 2008) | 11 lines

Merged revisions 118961 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118961 | russell | 2008-05-29 12:51:29 -0500 (Thu, 29 May 2008) | 3 lines

 - Mark app_milliwatt dependent on res_indications (thanks to jsmith)
 - fix a typo in a log message (thanks to qwell)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 17:52:21 +00:00
Russell Bryant
7df9585c72 Merged revisions 118959 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118959 | russell | 2008-05-29 12:46:04 -0500 (Thu, 29 May 2008) | 11 lines

Merged revisions 118956 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118956 | russell | 2008-05-29 12:38:38 -0500 (Thu, 29 May 2008) | 3 lines

Change milliwatt to use the proper tone by default (1004 Hz) instead of 1000 Hz.
An option is there to use 1000 Hz for anyone that might want it.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 17:46:57 +00:00
Tilghman Lesher
ef98b16564 Merged revisions 118955,118957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118955 | tilghman | 2008-05-29 12:35:19 -0500 (Thu, 29 May 2008) | 11 lines

Merged revisions 118953 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118953 | tilghman | 2008-05-29 12:20:16 -0500 (Thu, 29 May 2008) | 3 lines

Add some debugging code that ensures that when we do deadlock avoidance, we
don't lose the information about how a lock was originally acquired.

........

................
r118957 | tilghman | 2008-05-29 12:39:50 -0500 (Thu, 29 May 2008) | 10 lines

Merged revisions 118954 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118954 | tilghman | 2008-05-29 12:33:01 -0500 (Thu, 29 May 2008) | 2 lines

Define also when not DEBUG_THREADS

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 17:42:28 +00:00
Sean Bright
08109897c3 Blocked revisions 118911 via svnmerge
........
r118911 | seanbright | 2008-05-29 08:12:07 -0400 (Thu, 29 May 2008) | 7 lines

Avoid build warning when execinfo.h isn't available.

(closes issue #12751)
Reported by: ys
Patches:
      check_expr.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 12:16:16 +00:00
Steve Murphy
1051579614 Merged revisions 118880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118880 | murf | 2008-05-28 19:29:09 -0600 (Wed, 28 May 2008) | 54 lines

Merged revisions 118858 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118858 | murf | 2008-05-28 18:25:28 -0600 (Wed, 28 May 2008) | 46 lines

(closes issue #10668)
(closes issue #11721)
(closes issue #12726)
Reported by: arkadia
Tested by: murf

These changes:

1. revert the changes made via bug 10668; 
   I should have known that such changes,
   even tho they made sense at the time,
   seemed like an omission, etc, were actually
   integral to the CDR system via forkCDR.
   It makes sense to me now that forkCDR didn't
   natively end any CDR's, but rather depended
   on natively closing them all at hangup time
   via traversing and closing them all, whether
   locked or not. I still don't completely 
   understand the benefits of setvar and answer
   operating on locked cdrs, but I've seen 
   enough to revert those changes also, and
   stop messing up users who depended on that
   behavior. bug 12726 found reverting the changes
   fixed his changes, and after a long review
   and working on forkCDR, I can see why.
2. Apply the suggested enhancements proposed
   in 10668, but in a completely compatible
   way. ForkCDR will behave exactly as before,
   but now has new options that will allow some
   actions to be taken that will slightly 
   modify the outcome and side-effects of
   forkCDR. Based on conversations I've had 
   with various people, these small tweaks
   will allow some users to get the behavior
   they need. For instance, users executing
   forkCDR in an AGI script will find the
   answer time set, and DISPOSITION set, 
   a situation not covered when the routines
  were first written.
3. A small problem in the cdr serializer
   would output answer and end times even
   when they were not set. This is now 
   fixed.



........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 04:11:53 +00:00
Michiel van Baak
b3b8fcdad2 Blocked revisions 118824 via svnmerge
........
r118824 | mvanbaak | 2008-05-29 00:05:58 +0200 (Thu, 29 May 2008) | 4 lines

formatting changes.
A lot of whitespace issues have been resolved in this commit
Also some doc updates, but that's only 6 lines

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 22:08:34 +00:00
Michiel van Baak
3aeaabd1cc Blocked revisions 118790 via svnmerge
........
r118790 | mvanbaak | 2008-05-28 22:00:21 +0200 (Wed, 28 May 2008) | 2 lines

rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 20:02:29 +00:00
Mark Michelson
65d1595160 Blocked revisions 118783 via svnmerge
........
r118783 | mmichelson | 2008-05-28 14:56:18 -0500 (Wed, 28 May 2008) | 15 lines

Update to the janitor project for making sure to be thread-safe when
retrieving the value of a channel variable. This covers app_queue.

This commit also incorporates a logical change. Previously, if MixMonitor
is to be used to record the call, all the arguments were parsed first. Then
the MixMonitor app would be located. Now the order of these operations has
been swapped. Now the app is located first so that we only go through the
work of parsing the arguments if the app was found.

(closes issue #12742)
Reported by: snuffy
Patches:
      bug_12742.diff uploaded by snuffy (license 35)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 19:58:07 +00:00
Michiel van Baak
283ebdb91a Merged revisions 118750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118750 | mvanbaak | 2008-05-28 19:58:21 +0200 (Wed, 28 May 2008) | 2 lines

remove unused astobj.h header file from chan_skinny.c

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 18:07:06 +00:00
Joshua Colp
ad57cc89de Merged revisions 118647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118647 | file | 2008-05-28 11:29:01 -0300 (Wed, 28 May 2008) | 12 lines

Merged revisions 118646 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118646 | file | 2008-05-28 11:23:34 -0300 (Wed, 28 May 2008) | 4 lines

Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:31:42 +00:00
Philippe Sultan
4d5394383f Merged revisions 118644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118644 | phsultan | 2008-05-28 16:10:48 +0200 (Wed, 28 May 2008) | 10 lines

Changed to temporary namespaces to match with latest XEPs. As soon as
Jingle is completely standardized, we can set those namespaces to their
final values.

Added two attributes to the jingle_pvt struct to store the content
name attributes. Reported by Robert McQueen on Telepathy's framework
mailing list :
http://lists.freedesktop.org/archives/telepathy/2008-May/001971.html

Keeping working on our Jingle stack!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:13:16 +00:00
Philippe Sultan
93898d77d9 Merged revisions 118614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118614 | phsultan | 2008-05-28 10:39:10 +0200 (Wed, 28 May 2008) | 1 line

Code simplification
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 08:44:15 +00:00
Brett Bryant
0a8361190d Blocked revisions 118562 via svnmerge
........
r118562 | bbryant | 2008-05-27 14:45:41 -0500 (Tue, 27 May 2008) | 4 lines

Remove loop from the detection of a sequence number that acknowledges 
the receiving of a packet that we've kept in memory just incase the 
packet needs to be retransmitted.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:52:43 +00:00
Joshua Colp
5c1d88af55 Merged revisions 118560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118560 | file | 2008-05-27 16:34:14 -0300 (Tue, 27 May 2008) | 12 lines

Merged revisions 118558 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118558 | file | 2008-05-27 16:32:38 -0300 (Tue, 27 May 2008) | 4 lines

Fix an issue where codec preferences were not set on dialogs that were not authenticated via a user or peer and allow framing to work without rtpmap in the SDP.
(closes issue #12501)
Reported by: slimey

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:35:47 +00:00
Russell Bryant
5794734668 Merged revisions 118556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118556 | russell | 2008-05-27 14:27:48 -0500 (Tue, 27 May 2008) | 6 lines

Add printf format attribute for vasprintf().
(closes issue #12729)
Reported by: snuffy
Patches:
      bug_12729.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:28:19 +00:00
Tilghman Lesher
3e82a519b0 Merged revisions 118554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118554 | tilghman | 2008-05-27 14:21:03 -0500 (Tue, 27 May 2008) | 14 lines

Merged revisions 118551 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118551 | tilghman | 2008-05-27 14:15:27 -0500 (Tue, 27 May 2008) | 6 lines

When showing an error message for a command, don't shorten the command output,
as it tends to confuse the user (it's fine for suggesting other commands,
however).
 Reported by: seanbright (on #asterisk-dev)
 Fixed by: me

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:22:03 +00:00