asterisk/asterisk.git
12 years agoAdd AMI events for start/stop of MOH
Tilghman Lesher [Tue, 1 Jul 2008 21:21:26 +0000 (21:21 +0000)]
Add AMI events for start/stop of MOH
(closes issue #12909)
 Reported by: chris-mac
 Patches:
       res_musiconhold-event.patch uploaded by chris-mac (license 506)

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

12 years agoPlace the delay in __ast_answer prior to the channel-specific answer
Mark Michelson [Tue, 1 Jul 2008 21:16:00 +0000 (21:16 +0000)]
Place the delay in __ast_answer prior to the channel-specific answer
callback. This change differs from commit 127113 in that now the
channel is not set to AST_STATE_UP until after the answer callback.

(closes issue #12924)
Reported by: snyfer

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

12 years agoAdd a configuration option so the global outboundproxy can use tcptls without it...
Brett Bryant [Tue, 1 Jul 2008 21:03:52 +0000 (21:03 +0000)]
Add a configuration option so the global outboundproxy can use tcptls without it being defined by each sip user.

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

12 years agoFix a typo that caused this asterisk.conf to not get correctly generated.
Jason Parker [Tue, 1 Jul 2008 20:51:43 +0000 (20:51 +0000)]
Fix a typo that caused this asterisk.conf to not get correctly generated.

(closes issue #12966)
Reported by: ibc
Patches:
      12966.patch uploaded by bkruse (license 132)

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

12 years agoMerged revisions 127133 via svnmerge from
Tilghman Lesher [Tue, 1 Jul 2008 20:28:54 +0000 (20:28 +0000)]
Merged revisions 127133 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127133 | tilghman | 2008-07-01 15:25:37 -0500 (Tue, 01 Jul 2008) | 2 lines

Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging)

........

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

12 years agochange the process of inserting a delay into the ast_answer() path so that we don...
Kevin P. Fleming [Tue, 1 Jul 2008 19:53:03 +0000 (19:53 +0000)]
change the process of inserting a delay into the ast_answer() path so that we don't tell the calling channel that it has been answered unutil after the delay; for a single-thread call this won't matter all, but for a dual-thread call (using chan_local) this may fix the problem in issue 12924

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

12 years agoBlocked revisions 127069 via svnmerge
Tilghman Lesher [Tue, 1 Jul 2008 19:24:29 +0000 (19:24 +0000)]
Blocked revisions 127069 via svnmerge

........
r127069 | tilghman | 2008-07-01 14:05:28 -0500 (Tue, 01 Jul 2008) | 2 lines

Oops

........

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

12 years agoMerged revisions 127068 via svnmerge from
Tilghman Lesher [Tue, 1 Jul 2008 19:20:25 +0000 (19:20 +0000)]
Merged revisions 127068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127068 | tilghman | 2008-07-01 13:52:53 -0500 (Tue, 01 Jul 2008) | 8 lines

Change around how we schedule pings and lagrqs, and fix a reason why the
jobs were not getting properly cancelled.
(closes issue #12903)
 Reported by: stevedavies
 Patches:
       20080620__bug12903__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: stevedavies

........

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

12 years agomake the AIS checking a little more generic, and have a more useful configure script...
Kevin P. Fleming [Tue, 1 Jul 2008 17:22:47 +0000 (17:22 +0000)]
make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS

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

12 years agoMerged revisions 126999 via svnmerge from
Tilghman Lesher [Tue, 1 Jul 2008 16:52:29 +0000 (16:52 +0000)]
Merged revisions 126999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126999 | tilghman | 2008-07-01 11:50:46 -0500 (Tue, 01 Jul 2008) | 2 lines

Suppress annoying warning by finding the remaining cases where the callno is not in the hash.

........

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

12 years agoeven uglier gui with more buttons
Luigi Rizzo [Tue, 1 Jul 2008 16:28:43 +0000 (16:28 +0000)]
even uglier gui with more buttons

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

12 years agoanother minor ast_channel memory size decrease... for nearly all channels, 'dialconte...
Kevin P. Fleming [Tue, 1 Jul 2008 16:16:36 +0000 (16:16 +0000)]
another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array

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

12 years agoadd documentation on video console support
Luigi Rizzo [Tue, 1 Jul 2008 16:14:28 +0000 (16:14 +0000)]
add documentation on video console support

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

12 years agoMerged revisions 126902 via svnmerge from
Olle Johansson [Tue, 1 Jul 2008 15:03:59 +0000 (15:03 +0000)]
Merged revisions 126902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126902 | oej | 2008-07-01 16:59:31 +0200 (Tis, 01 Jul 2008) | 7 lines

Use domain part of SIP uri in register= configuration as fromdomain.

Reported by: one47
Patches:
      sip-reg-fromdom2.dpatch uploaded by one47 (license 23)
(closes issue #12474)

........

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

12 years agoMerged revisions 126899 via svnmerge from
Olle Johansson [Tue, 1 Jul 2008 14:32:15 +0000 (14:32 +0000)]
Merged revisions 126899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126899 | oej | 2008-07-01 16:27:33 +0200 (Tis, 01 Jul 2008) | 8 lines

Handle escaped URI's in call pickups. Patch by oej and IgorG.

Reported by: IgorG
Patches:
      bug12299-11062-v2.patch uploaded by IgorG (license 20)
Tested by: IgorG, oej
(closes issue #12299)

........

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

12 years agoMerged revisions 126844 via svnmerge from
Olle Johansson [Tue, 1 Jul 2008 12:54:57 +0000 (12:54 +0000)]
Merged revisions 126844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126844 | oej | 2008-07-01 14:53:01 +0200 (Tis, 01 Jul 2008) | 5 lines

Clear up documentation on "domain=" setting in sip.conf

Reported by: davidw
(closes issue #12413)

........

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

12 years agouse %p to print a pointer
Luigi Rizzo [Tue, 1 Jul 2008 12:29:31 +0000 (12:29 +0000)]
use %p to print a pointer

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

12 years agoMerged revisions 126789 via svnmerge from
Olle Johansson [Tue, 1 Jul 2008 11:58:17 +0000 (11:58 +0000)]
Merged revisions 126789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126789 | oej | 2008-07-01 13:51:38 +0200 (Tis, 01 Jul 2008) | 6 lines

Report 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog
exist). Don't bother checking the request URI.

(closes issue #11264)
Reported by: ibc

........

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

12 years agoMerged revisions 126735 via svnmerge from
Olle Johansson [Tue, 1 Jul 2008 09:51:22 +0000 (09:51 +0000)]
Merged revisions 126735 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126735 | oej | 2008-07-01 09:49:15 +0200 (Tis, 01 Jul 2008) | 7 lines

Fix bad XML for hold notification.
Reported by: gowen72
Patches:
      hold.patch uploaded by gowen72 (license 432)
(closes issue #12942)

........

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

12 years agoBlocked revisions 126680 via svnmerge
Jeff Peeler [Mon, 30 Jun 2008 23:11:51 +0000 (23:11 +0000)]
Blocked revisions 126680 via svnmerge

........
r126680 | jpeeler | 2008-06-30 18:11:16 -0500 (Mon, 30 Jun 2008) | 3 lines

Load the proper channel configuration file based on which driver was detected.

........

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

12 years agorename zapata.conf.sample to chan_dahdi.conf.sample
Jeff Peeler [Mon, 30 Jun 2008 22:34:08 +0000 (22:34 +0000)]
rename zapata.conf.sample to chan_dahdi.conf.sample

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

12 years agoAdd support to see MTP2 down events when the link layer drops in SS7
Matthew Fredrickson [Mon, 30 Jun 2008 20:25:46 +0000 (20:25 +0000)]
Add support to see MTP2 down events when the link layer drops in SS7

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

12 years agoMerged revisions 126573 via svnmerge from
Russell Bryant [Mon, 30 Jun 2008 16:07:25 +0000 (16:07 +0000)]
Merged revisions 126573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126573 | russell | 2008-06-30 11:05:08 -0500 (Mon, 30 Jun 2008) | 10 lines

Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
macro.  This caused the lock to not actually be released, and as a result, not
avoid deadlocks at all.  This resolves the issues reported in the last while about
Asterisk locking up all over the place (and most commonly, in chan_iax2).

(closes issue #12927)
(closes issue #12940)
(closes issue #12925)
(potentially closes others ...)

........

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

12 years agoimplement the 'freeze' function for incoming frames;
Luigi Rizzo [Mon, 30 Jun 2008 15:45:15 +0000 (15:45 +0000)]
implement the 'freeze' function for incoming frames;

fix a bug which caused a crash when a videodevice was
specified after startgui=1 in the config file. This also
involves a slightly different method to determine if the
gui is active or not.

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

12 years agofix an uninitialized variable
Luigi Rizzo [Mon, 30 Jun 2008 15:44:50 +0000 (15:44 +0000)]
fix an uninitialized variable

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

12 years agoThe following patch with some changes for trunk...
Olle Johansson [Mon, 30 Jun 2008 13:03:53 +0000 (13:03 +0000)]
The following patch with some changes for trunk...

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

........
r126516 | oej | 2008-06-30 14:50:55 +0200 (MÃ¥n, 30 Jun 2008) | 10 lines

Send all responses to an INVITE reliably, so that we retransmit if we don't get an ACK and
also fail if we don't get the very same precious ACK. Based on patch by tsearle, with
my own additions.

(closes issue #12951)

Reported by: tsearle
Patches:
      busy_retransmit.patch uploaded by tsearle (license 373)

........

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

12 years agoa few minor updates and typo fixes
Russell Bryant [Mon, 30 Jun 2008 12:49:56 +0000 (12:49 +0000)]
a few minor updates and typo fixes

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

12 years agoCast a few more strings to char *, so that we can compile cleanly against
Sean Bright [Mon, 30 Jun 2008 11:57:42 +0000 (11:57 +0000)]
Cast a few more strings to char *, so that we can compile cleanly against
FreeTDS 0.60.  Update the docs to reflect that we can now compile and run
against all modern releases of FreeTDS (0.60 through 0.82)

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

12 years agoimport the recent additions for video console into trunk,
Luigi Rizzo [Sun, 29 Jun 2008 21:17:14 +0000 (21:17 +0000)]
import the recent additions for video console into trunk,
giving you support for up to 9 video sources (e.g. webcams,
or X11 grabbers, etc.) active at once, displaying thumbnails for
each of them in the main GUI window, and with the ability to switch
between them on the fly during a conversation.

The code also implements a 'Picture in Picture' feature,
allowing you to select any source as primary or secondary,
and move the PiP window by just dragging it with the mouse.

The window looks like this:
 ________________________________________________________________
|  ______   ______   ______   ______   ______   ______   ______  |
| | tn.1 | | tn.2 | | tn.3 | | tn.4 | | tn.5 | | tn.6 | | tn.7 | |
| |______| |______| |______| |______| |______| |______| |______| |
|  ______   ______   ______   ______   ______   ______   ______  |
| |______| |______| |______| |______| |______| |______| |______| |
|  _________________    __________________    _________________  |
| |                 |  |                  |  |                 | |
| |                 |  |                  |  |                 | |
| |                 |  |                  |  |                 | |
| |   remote video  |  |                  |  |   local video   | |
| |                 |  |                  |  |          ______ | |
| |                 |  |      keypad      |  |         |  PIP || |
| |                 |  |                  |  |         |______|| |
| |_________________|  |                  |  |_________________| |
|                      |                  |                      |
|                      |                  |                      |
|                      |__________________|                      |
|________________________________________________________________|

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

12 years agofix wrong argument in checking boundaries for a rectangle
Luigi Rizzo [Sun, 29 Jun 2008 18:50:20 +0000 (18:50 +0000)]
fix wrong argument in checking boundaries for a rectangle

some whitespace fixes

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

12 years agoBlocked revisions 126395 via svnmerge
Kevin P. Fleming [Sun, 29 Jun 2008 18:06:13 +0000 (18:06 +0000)]
Blocked revisions 126395 via svnmerge

........
r126395 | kpfleming | 2008-06-29 11:05:34 -0700 (Sun, 29 Jun 2008) | 1 line

ignore warnings for prototypes in GTK headers
........

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

12 years agovarious minor fixes created while i worked on getting *every* Asterisk module to...
Kevin P. Fleming [Sun, 29 Jun 2008 16:19:29 +0000 (16:19 +0000)]
various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode:

remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c

add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works

make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway

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

12 years agoThis was bogus, need to find a better way.
Sean Bright [Sun, 29 Jun 2008 13:20:01 +0000 (13:20 +0000)]
This was bogus, need to find a better way.

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

12 years agoWhile we're at it, escape all the columns in our TDS queries as well. Double
Sean Bright [Sun, 29 Jun 2008 13:11:55 +0000 (13:11 +0000)]
While we're at it, escape all the columns in our TDS queries as well.  Double
quotes seems to be more standard than square brackets (Sybase and SQL Server
both support them).

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

12 years agoimplement a 'toggle' option for 'console mute' and 'console unmute'
Luigi Rizzo [Sun, 29 Jun 2008 13:02:54 +0000 (13:02 +0000)]
implement a 'toggle' option for 'console mute' and 'console unmute'

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

12 years agoadd some defines and fields in preparation for the import of
Luigi Rizzo [Sun, 29 Jun 2008 12:59:26 +0000 (12:59 +0000)]
add some defines and fields in preparation for the import of
the video source switching support

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

12 years agoaccept any name starting with X11 for X11 grabbers - this lets
Luigi Rizzo [Sun, 29 Jun 2008 12:53:45 +0000 (12:53 +0000)]
accept any name starting with X11 for X11 grabbers - this lets
you have multiple active instances of this grabber;

require v4l device names to start with '/dev/' - prevents some useless
attempt to open a file as a device.

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

12 years agomake this compile after ast_frame's data field changed to a union
Luigi Rizzo [Sun, 29 Jun 2008 12:45:59 +0000 (12:45 +0000)]
make this compile after ast_frame's data field changed to a union

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

12 years agoQuote column names when inserting CDRs into postgres to avoid conflicts
Sean Bright [Sun, 29 Jun 2008 12:06:46 +0000 (12:06 +0000)]
Quote column names when inserting CDRs into postgres to avoid conflicts
with reserved words.

(closes issue #12947)
Reported by: panolex

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

12 years agoMerge in changes from my cdr-tds-conversion branch. This changes the internal
Sean Bright [Sat, 28 Jun 2008 21:28:16 +0000 (21:28 +0000)]
Merge in changes from my cdr-tds-conversion branch.  This changes the internal
implementation from using the volatile libtds, to using the db-lib front end.
The unintended side effect of this is that we support (at least) versions 0.62
through 0.82 of the FreeTDS distribution without any #ifdef ugliness.

(closes issue #12844)
Reported by: jcollie

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

12 years agoyay for airplane ride optimizations... sort the fields in ast_channel by alignment...
Kevin P. Fleming [Sat, 28 Jun 2008 15:54:04 +0000 (15:54 +0000)]
yay for airplane ride optimizations... sort the fields in ast_channel by alignment requirements, saving 36 bytes per instance on a 64-bit platform

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

12 years agofix silly syntax error
Kevin P. Fleming [Sat, 28 Jun 2008 14:56:56 +0000 (14:56 +0000)]
fix silly syntax error

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

12 years agoadd message when no UI for menuselect is present
Kevin P. Fleming [Sat, 28 Jun 2008 14:46:08 +0000 (14:46 +0000)]
add message when no UI for menuselect is present

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

12 years agouse batch-mode (no user interface) menuselect for --check-deps operations
Kevin P. Fleming [Sat, 28 Jun 2008 14:34:07 +0000 (14:34 +0000)]
use batch-mode (no user interface) menuselect for --check-deps operations

move automatic user interface selection for menuselect to this Makefile

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

12 years agoPretty up the 'cdr show status' output.
Sean Bright [Fri, 27 Jun 2008 23:29:56 +0000 (23:29 +0000)]
Pretty up the 'cdr show status' output.

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

12 years agoMerged revisions 126056 via svnmerge from
Tilghman Lesher [Fri, 27 Jun 2008 22:10:34 +0000 (22:10 +0000)]
Merged revisions 126056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126056 | tilghman | 2008-06-27 17:01:09 -0500 (Fri, 27 Jun 2008) | 4 lines

When we get a 408 Timeout, don't stop trying to re-register.
(closes issue #12863)
 Reported by: ricvil

........

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

12 years agoSeparate multiple items encoded into a single field with ';'
Tilghman Lesher [Fri, 27 Jun 2008 20:38:59 +0000 (20:38 +0000)]
Separate multiple items encoded into a single field with ';'

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

12 years agoFix a typo. Someone on IRC copied this literally and then wondered why it
Russell Bryant [Fri, 27 Jun 2008 19:19:08 +0000 (19:19 +0000)]
Fix a typo.  Someone on IRC copied this literally and then wondered why it
wasn't working.  :)

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

12 years agoRevert this part of the fix. We'll fix it in libss7
Matthew Fredrickson [Fri, 27 Jun 2008 19:05:40 +0000 (19:05 +0000)]
Revert this part of the fix.  We'll fix it in libss7

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

12 years agoObviously somebody didn't compile with libss7 support when doing the DAHDI conversion.
Matthew Fredrickson [Fri, 27 Jun 2008 19:00:44 +0000 (19:00 +0000)]
Obviously somebody didn't compile with libss7 support when doing the DAHDI conversion.

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

12 years agoAdd support for new commands to block/unblock all CICs on a linkset
Matthew Fredrickson [Fri, 27 Jun 2008 18:32:17 +0000 (18:32 +0000)]
Add support for new commands to block/unblock all CICs on a linkset

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

12 years agoSmall error in the function that converts peer transports to a string.
Brett Bryant [Fri, 27 Jun 2008 17:35:41 +0000 (17:35 +0000)]
Small error in the function that converts peer transports to a string.

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

12 years agoDocument DLA_UNLOCK and DLA_LOCK
Tilghman Lesher [Fri, 27 Jun 2008 17:02:56 +0000 (17:02 +0000)]
Document DLA_UNLOCK and DLA_LOCK

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

12 years agoBlocked revisions 125893 via svnmerge
Tilghman Lesher [Fri, 27 Jun 2008 16:48:05 +0000 (16:48 +0000)]
Blocked revisions 125893 via svnmerge

........
r125893 | tilghman | 2008-06-27 11:46:05 -0500 (Fri, 27 Jun 2008) | 7 lines

Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
check for HAVE_ZAPTEL.
(closes issue #12938)
 Reported by: opticron
 Patches:
       tonezone_compat.diff uploaded by opticron (license 267)

........

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

12 years agoChange the way that the transport option works for sip users. transport will now...
Brett Bryant [Fri, 27 Jun 2008 16:28:06 +0000 (16:28 +0000)]
Change the way that the transport option works for sip users. transport will now take multiple arguments, the first one listed will be the one used
for new dialogs, and the rest listed will be acceptable ways for that peer to contact us. This fixes a minor bug where, because SIP TCP/UDP run on
the same port, could cause a TCP peer to be saved in the ast_db. There will also be warnings when a transport is changed for an unexpected reason.

(issue #12799)

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

12 years agoOptimization suggested by Russell to cache the value of pthread_self() so
Mark Michelson [Fri, 27 Jun 2008 16:23:32 +0000 (16:23 +0000)]
Optimization suggested by Russell to cache the value of pthread_self() so
that it isn't evaluated every time through the loop.

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

12 years agoRemove debug message
Mark Michelson [Fri, 27 Jun 2008 16:18:07 +0000 (16:18 +0000)]
Remove debug message

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

12 years agoEnsure the thread-safety of the monexec variable in app_queue.
Mark Michelson [Fri, 27 Jun 2008 16:16:13 +0000 (16:16 +0000)]
Ensure the thread-safety of the monexec variable in app_queue.

Thanks to Russell for pointing out the problem

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

12 years agoRevert half of the fix, as this part may have been unnecessary (related to issue...
Tilghman Lesher [Fri, 27 Jun 2008 16:00:05 +0000 (16:00 +0000)]
Revert half of the fix, as this part may have been unnecessary (related to issue #12914)
Requested here: http://lists.digium.com/pipermail/asterisk-dev/2008-June/033658.html

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

12 years agoRemove an unneeded target from the Makefile
Mark Michelson [Fri, 27 Jun 2008 14:14:09 +0000 (14:14 +0000)]
Remove an unneeded target from the Makefile

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

12 years agoPush relatively unused compiler options down the list, keeping the popular options...
Tilghman Lesher [Fri, 27 Jun 2008 14:08:38 +0000 (14:08 +0000)]
Push relatively unused compiler options down the list, keeping the popular options at the top.

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

12 years agoMerged revisions 125793 via svnmerge from
Tilghman Lesher [Fri, 27 Jun 2008 13:54:13 +0000 (13:54 +0000)]
Merged revisions 125793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125793 | tilghman | 2008-06-27 08:45:03 -0500 (Fri, 27 Jun 2008) | 2 lines

In this debugging function, copy to a buffer instead of using potentially unsafe pointers.

........

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

12 years agoMerged revisions 125740 via svnmerge from
Tilghman Lesher [Fri, 27 Jun 2008 12:28:38 +0000 (12:28 +0000)]
Merged revisions 125740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125740 | tilghman | 2008-06-27 07:19:39 -0500 (Fri, 27 Jun 2008) | 7 lines

Add proper deadlock avoidance.
(closes issue #12914)
 Reported by: ozan
 Patches:
       20080625__bug12914.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ozan

........

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

12 years agoFix a compile time error that occurs if OpenSSL is not installed. Reported by Noel...
Philippe Sultan [Fri, 27 Jun 2008 07:28:17 +0000 (07:28 +0000)]
Fix a compile time error that occurs if OpenSSL is not installed. Reported by Noel Morais on the users mailing list

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

12 years agoMake this compile with dev-mode on
Mark Michelson [Fri, 27 Jun 2008 00:22:03 +0000 (00:22 +0000)]
Make this compile with dev-mode on

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

12 years agoThe monitor-join option for queues was deprecated in favor of using
Mark Michelson [Fri, 27 Jun 2008 00:15:54 +0000 (00:15 +0000)]
The monitor-join option for queues was deprecated in favor of using
MixMonitor to mix audio. However, it was pointed out to me that because
of this, the command set for the MONITOR_EXEC variable is ignored as well.
This means that people can't do their own custom mixing commands at the end
of recordings in order to make, for instance, stereo recordings of calls.

With this patch, app_queue will set the "joinfiles" variable for the channel's
monitor if MONITOR_EXEC is not zero-length. This means that for normal audio
mixing, MixMonitor is still the preferred choice, but we allow custom
mixing to be done with the two Monitor streams if desired.

(closes issue #12923)
Reported by: snyfer

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

12 years agoImprove consistency between app_dial and app_queue with regards
Mark Michelson [Thu, 26 Jun 2008 23:35:29 +0000 (23:35 +0000)]
Improve consistency between app_dial and app_queue with regards
to how language is handled between two channels whose native
language is different. Prior to this patch, app_dial would have
the callee inherit the caller's language, and app_queue would not.

After this patch, app_dial no longer has the language inheritance
capability. This seems to make the most sense since it seems more
natural for a person to hear files played back in his/her native
language instead of the language of the person on the far end of
the call. See the CHANGES file for hints on how to keep the
previous behavior of app_dial if desired.

(closes issue #12489)
Reported by: bcnit

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

12 years agoremove block of commented code to set __ourip
Michiel van Baak [Thu, 26 Jun 2008 23:18:46 +0000 (23:18 +0000)]
remove block of commented code to set __ourip
This is now handled in skinny_register and load_config.

part two of chan_skinny cleanup

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

12 years agoremove paging device from chan_skinny.
Michiel van Baak [Thu, 26 Jun 2008 23:14:08 +0000 (23:14 +0000)]
remove paging device from chan_skinny.
This has never been used, and noone could give us info about what
it is used for.

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

12 years agoFix a really stupid mistake
Mark Michelson [Thu, 26 Jun 2008 23:06:18 +0000 (23:06 +0000)]
Fix a really stupid mistake

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

12 years agoMerged revisions 125587 via svnmerge from
Jason Parker [Thu, 26 Jun 2008 23:04:18 +0000 (23:04 +0000)]
Merged revisions 125587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125587 | qwell | 2008-06-26 18:03:15 -0500 (Thu, 26 Jun 2008) | 1 line

Make sure to unlock the lock_info lock (huh?).  Possible deadlock?
........

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

12 years agoMerged revisions 125585 via svnmerge from
Mark Michelson [Thu, 26 Jun 2008 23:01:02 +0000 (23:01 +0000)]
Merged revisions 125585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125585 | mmichelson | 2008-06-26 17:52:39 -0500 (Thu, 26 Jun 2008) | 11 lines

Add the interface of a queue member to the output of the "queue show" command
so that it can easily be associated with a queue member's name. This helps
so that the appropriate queue member can be removed or paused since the
interface is required, not the member's name.

(closes issue #12783)
Reported by: davevg
Patches:
      app_queue.diff uploaded by davevg (license 209) with small mod from me

........

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

12 years agoDon't hang if the command is blank
Tilghman Lesher [Thu, 26 Jun 2008 22:49:16 +0000 (22:49 +0000)]
Don't hang if the command is blank

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

12 years agoBlocked revisions 125530 via svnmerge
Mark Michelson [Thu, 26 Jun 2008 22:03:54 +0000 (22:03 +0000)]
Blocked revisions 125530 via svnmerge

........
r125530 | mmichelson | 2008-06-26 17:02:55 -0500 (Thu, 26 Jun 2008) | 10 lines

Backport of attended transfer queue_log patch from trunk.

This patch allows for attended transfers to be logged in the
queue_log the same way that blind transfers have always been.

It was decided by popular opinion on the asterisk-dev mailing
list that this should be backported to 1.4. Thanks to everyone
who gave an opinion.

........

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

12 years agoMerged revisions 125476 via svnmerge from
Mark Michelson [Thu, 26 Jun 2008 20:57:41 +0000 (20:57 +0000)]
Merged revisions 125476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125476 | mmichelson | 2008-06-26 15:56:01 -0500 (Thu, 26 Jun 2008) | 11 lines

Prior to this patch, the "queue show" command used cached
information for realtime queues instead of giving up-to-date
info. Now realtime is queried for the latest and greatest in
queue info.

(closes issue #12858)
Reported by: bcnit
Patches:
      queue_show.patch uploaded by putnopvut (license 60)

........

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

12 years agoDon't play "your message has been saved" twice.
Tilghman Lesher [Thu, 26 Jun 2008 17:40:25 +0000 (17:40 +0000)]
Don't play "your message has been saved" twice.
(closes issue #12893)
 Reported by: jaroth
 Patches:
       duplicate_saved.patch uploaded by jaroth (license 50)

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

12 years agoConvert casts to unions, to fix alignment issues on Solaris
Tilghman Lesher [Thu, 26 Jun 2008 17:06:17 +0000 (17:06 +0000)]
Convert casts to unions, to fix alignment issues on Solaris
(closes issue #12932)
 Reported by: snuffy
 Patches:
       bug_12932_20080627.diff uploaded by snuffy (license 35)

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

12 years agoMerged revisions 125384 via svnmerge from
Olle Johansson [Thu, 26 Jun 2008 16:54:22 +0000 (16:54 +0000)]
Merged revisions 125384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125384 | oej | 2008-06-26 18:32:08 +0200 (Tor, 26 Jun 2008) | 3 lines

Add support for peer realm based auth (a few missing lines, the rest is well documented but never worked)

........

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

12 years agoMerged revisions 125327 via svnmerge from
Kevin P. Fleming [Thu, 26 Jun 2008 15:50:07 +0000 (15:50 +0000)]
Merged revisions 125327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125327 | kpfleming | 2008-06-26 10:30:33 -0500 (Thu, 26 Jun 2008) | 5 lines

ensure that (whenever possible) if we generate a log message because an ioctl() call to DAHDI/Zaptel failed, that we include the reason it failed by including the stringified error number

(issue AST-80)

........

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

12 years ago- add get_max_rate timing API call
Russell Bryant [Thu, 26 Jun 2008 15:37:01 +0000 (15:37 +0000)]
- add get_max_rate timing API call
- change ast_settimeout() to honor max rate in edge cases of file playback
  (this will make some warning messages go away at the end of playing back
   a file)

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

12 years agofix compile failure found by buildbot (go, buildbot!)
Kevin P. Fleming [Thu, 26 Jun 2008 12:09:24 +0000 (12:09 +0000)]
fix compile failure found by buildbot (go, buildbot!)

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

12 years agoMerged revisions 125276 via svnmerge from
Tilghman Lesher [Thu, 26 Jun 2008 11:02:11 +0000 (11:02 +0000)]
Merged revisions 125276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125276 | tilghman | 2008-06-26 06:01:21 -0500 (Thu, 26 Jun 2008) | 7 lines

Check for rtcp structure before trying to delete schedule.
(closes issue #12872)
 Reported by: destiny6628
 Patches:
       20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
 Tested by: destiny6628

........

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

12 years agoMerged revisions 125218 via svnmerge from
Tilghman Lesher [Thu, 26 Jun 2008 01:25:16 +0000 (01:25 +0000)]
Merged revisions 125218 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125218 | tilghman | 2008-06-25 20:24:26 -0500 (Wed, 25 Jun 2008) | 4 lines

Document ackcall=always.
(closes issue #12852)
 Reported by: davidw

........

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

12 years agoUpdate sample configuration to match what are now the defaults for the prefix.
Tilghman Lesher [Thu, 26 Jun 2008 01:11:43 +0000 (01:11 +0000)]
Update sample configuration to match what are now the defaults for the prefix.
(closes issue #12838, related to issue #12198)
 Reported by: pabelanger
 Patches:
       http.conf.diff2 uploaded by pabelanger (license 224)

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

12 years agoMerged revisions 125132 via svnmerge from
Kevin P. Fleming [Wed, 25 Jun 2008 23:05:28 +0000 (23:05 +0000)]
Merged revisions 125132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines

allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir

........

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

12 years agoFix indentation
Mark Michelson [Wed, 25 Jun 2008 22:40:41 +0000 (22:40 +0000)]
Fix indentation

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

12 years agoFix a bug in the rwlock tracking. ast_rwlock_unlock did not take into
Mark Michelson [Wed, 25 Jun 2008 22:25:20 +0000 (22:25 +0000)]
Fix a bug in the rwlock tracking. ast_rwlock_unlock did not take into
account that multiple threads could hold the same rdlock at the same time.
As such, it expected that when a thread released a lock that it must have
been the last to acquire the lock as well. Erroneous error messages would
be sent to the console stating that a thread was attempting to unlock a lock
it did not own.

Now all threads are examined to be sure that the message is only printed
when it is supposed to be printed.

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

12 years agoimplement transfer functionality in chan_skinny
Michiel van Baak [Wed, 25 Jun 2008 19:37:40 +0000 (19:37 +0000)]
implement transfer functionality in chan_skinny

(closes issue #9939)
Reported by: wedhorn
Patches:
      transfer_v6.diff uploaded by wedhorn (license 30)
      chan_skinny-transfer-trunk-v10.txt uploaded by DEA (license 3)
      chan_skinny-transfer-trunk-v12.txt uploaded by mvanbaak (license 7)
Tested by: DEA, wedhorn, mvanbaak

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

12 years agoSeparate the global initialization routines for cURL into its own separate
Tilghman Lesher [Wed, 25 Jun 2008 16:00:54 +0000 (16:00 +0000)]
Separate the global initialization routines for cURL into its own separate
module.

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

12 years agoMore expansion of the deadlock avoidance macro, including a macro to do locking
Tilghman Lesher [Wed, 25 Jun 2008 02:34:11 +0000 (02:34 +0000)]
More expansion of the deadlock avoidance macro, including a macro to do locking
of the channel lock

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

12 years agoMerged revisions 124965 via svnmerge from
Tilghman Lesher [Wed, 25 Jun 2008 01:08:37 +0000 (01:08 +0000)]
Merged revisions 124965 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r124965 | tilghman | 2008-06-24 19:46:24 -0500 (Tue, 24 Jun 2008) | 7 lines

Pvt deadlock causes some channels to get stuck in Reserved status.
(closes issue #12621)
 Reported by: fabianoheringer
 Patches:
       20080612__bug12621.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fabianoheringer

........

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

12 years agoMerged revisions 124910 via svnmerge from
Tilghman Lesher [Tue, 24 Jun 2008 21:18:52 +0000 (21:18 +0000)]
Merged revisions 124910 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r124910 | tilghman | 2008-06-24 16:08:52 -0500 (Tue, 24 Jun 2008) | 8 lines

Occasionally control characters find their way into CallerID.  These need to
be stripped prior to placing CallerID in the headers of an email.
(closes issue #12759)
 Reported by: RobH
 Patches:
       20080602__bug12759__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: RobH

........

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

12 years agoBlocked revisions 124908 via svnmerge
Tilghman Lesher [Tue, 24 Jun 2008 20:55:06 +0000 (20:55 +0000)]
Blocked revisions 124908 via svnmerge

........
r124908 | tilghman | 2008-06-24 15:52:43 -0500 (Tue, 24 Jun 2008) | 6 lines

Don't access the pvt structure if unable to acquire the lock.
(closes issue #12162)
 Reported by: norman
 Patches:
       12162-lockfail.diff uploaded by qwell (license 4)

........

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

12 years agoSubscribe to buddy's presence only if we really need to. That is, if
Philippe Sultan [Tue, 24 Jun 2008 17:50:22 +0000 (17:50 +0000)]
Subscribe to buddy's presence only if we really need to. That is, if
the corresponding roster item has a subscription value set to "none"
or "from".

Make the code more readable.

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

12 years agoCode simplification
Philippe Sultan [Tue, 24 Jun 2008 17:28:39 +0000 (17:28 +0000)]
Code simplification

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

12 years agoUpdate CHANGES and UPGRADE.txt per kpfleming's mail to #asterisk-dev.
Sean Bright [Tue, 24 Jun 2008 11:02:02 +0000 (11:02 +0000)]
Update CHANGES and UPGRADE.txt per kpfleming's mail to #asterisk-dev.

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

12 years agofix a memory leak.
Russell Bryant [Tue, 24 Jun 2008 02:16:59 +0000 (02:16 +0000)]
fix a memory leak.

(inspired by, and potentially fixes issue #12917)

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

12 years agoBlocked revisions 124743 via svnmerge
Kevin P. Fleming [Mon, 23 Jun 2008 21:24:34 +0000 (21:24 +0000)]
Blocked revisions 124743 via svnmerge

........
r124743 | kpfleming | 2008-06-23 16:22:08 -0500 (Mon, 23 Jun 2008) | 3 lines

emit a warning if the old IAX2 call searching code finds a call when the new code did not... so that we can get rid of the old code in 2-3 months

........

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

12 years agomake solaris happy...pointed out by snuff-home on IRC
Dwayne M. Hubbard [Mon, 23 Jun 2008 15:24:05 +0000 (15:24 +0000)]
make solaris happy...pointed out by snuff-home on IRC

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

12 years agoRevert my change to the sample meetme conf file as it was incorrect.
Sean Bright [Sun, 22 Jun 2008 17:36:20 +0000 (17:36 +0000)]
Revert my change to the sample meetme conf file as it was incorrect.

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