asterisk/asterisk.git
12 years ago"show application <foo>" changes for clarity.
Mark Michelson [Tue, 6 Nov 2007 19:04:45 +0000 (19:04 +0000)]
"show application <foo>" changes for clarity.

(closes issue #11171, reported and patched by blitzrage)

Many thanks!

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

12 years agoMerged revisions 89042 via svnmerge from
Olle Johansson [Tue, 6 Nov 2007 19:04:29 +0000 (19:04 +0000)]
Merged revisions 89042 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89042 | oej | 2007-11-06 19:53:37 +0100 (Tis, 06 Nov 2007) | 2 lines

Bug fixes to tdd support in zaptel.

........

(Small changes for trunk)

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

12 years agoAllow gtalk and jingle to use TLS connections again.
Jason Parker [Tue, 6 Nov 2007 18:44:19 +0000 (18:44 +0000)]
Allow gtalk and jingle to use TLS connections again.

Closes issue #9972

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

12 years agoMerged revisions 89037 via svnmerge from
Russell Bryant [Tue, 6 Nov 2007 18:23:36 +0000 (18:23 +0000)]
Merged revisions 89037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89037 | russell | 2007-11-06 12:20:07 -0600 (Tue, 06 Nov 2007) | 11 lines

If someone were to delete the files used by an existing MOH class, and then
issue a reload, further use of that class could result in a crash due to
dividing by zero.  This set of changes fixes up some places to prevent this
from happening.

(closes issue #10948)
Reported by: jcomellas
Patches:
      res_musiconhold_division_by_zero.patch uploaded by jcomellas (license 282)
  Additional changes added by me.

........

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

12 years agoMerged revisions 89032 via svnmerge from
Joshua Colp [Tue, 6 Nov 2007 17:10:03 +0000 (17:10 +0000)]
Merged revisions 89032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89032 | file | 2007-11-06 13:08:05 -0400 (Tue, 06 Nov 2007) | 4 lines

Make it so that if a peer is determined to be unreachable using qualify their devicestate will report back unavailable.
(closes issue #11006)
Reported by: pj

........

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

12 years agoFix embedding of modules on FreeBSD:
Luigi Rizzo [Tue, 6 Nov 2007 17:05:13 +0000 (17:05 +0000)]
Fix embedding of modules on FreeBSD:
the constructor for the list of modules was run
after the constructors for the embedded modules
(which appended entries to the list).
As a result, the list appeared empty when it was
time to use it.

On linux the order of execution of constructor
was evidently different (it may depend on the
ordering of modules in the ELF file).

This is only a workaround - there may be other
situations where the execution of constructors
causes problems, so if we manage to find a more
general solution this workaround can go away.

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

12 years agoMerged revisions 88994 via svnmerge from
Joshua Colp [Tue, 6 Nov 2007 16:29:16 +0000 (16:29 +0000)]
Merged revisions 88994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88994 | file | 2007-11-06 12:24:56 -0400 (Tue, 06 Nov 2007) | 6 lines

Fix improbable but possible memory leaks in chan_zap.
(closes issue #11166)
Reported by: eliel
Patches:
      chan_zap.c.patch uploaded by eliel (license 64)

........

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

12 years agoUpdate chan_agent documentation. Change a | to , as that is now the required way.
Joshua Colp [Tue, 6 Nov 2007 15:37:17 +0000 (15:37 +0000)]
Update chan_agent documentation. Change a | to , as that is now the required way.
(closes issue #11167)
Reported by: eliel
Patches:
      chan_agent.c.patch uploaded by eliel (license 64)

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

12 years agoSet up detection of IP_PKTINFO in autoconf for chan_unistim
Tilghman Lesher [Tue, 6 Nov 2007 15:01:56 +0000 (15:01 +0000)]
Set up detection of IP_PKTINFO in autoconf for chan_unistim

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

12 years agoconvert uses of LOG_DEBUG to use ast_debug()
Russell Bryant [Tue, 6 Nov 2007 14:17:33 +0000 (14:17 +0000)]
convert uses of LOG_DEBUG to use ast_debug()

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

12 years agoAdd jitterbuffer support to chan_unistim.
Russell Bryant [Tue, 6 Nov 2007 14:11:34 +0000 (14:11 +0000)]
Add jitterbuffer support to chan_unistim.

(closes issue #11168)
Reported by: IgorG
Patches:
      unistimjb-88863-1.patch uploaded by IgorG (license 20)

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

12 years agoMerged revisions 88805 via svnmerge from
Russell Bryant [Tue, 6 Nov 2007 14:08:54 +0000 (14:08 +0000)]
Merged revisions 88805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88805 | russell | 2007-11-05 16:07:54 -0600 (Mon, 05 Nov 2007) | 12 lines

After seeing crashes related to channel variables, I went looking around at the
ways that channel variables are handled.  In general, they were not handled in
a thread-safe way.  The channel _must_ be locked when reading or writing from/to
the channel variable list.

What I have done to improve this situation is to make pbx_builtin_setvar_helper()
and friends lock the channel when doing their thing.  Asterisk API calls almost
all lock the channel for you as necessary, but this family of functions did not.

(closes issue #10923, reported by atis)
(closes issue #11159, reported by 850t)

........

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

12 years agoMerged revisions 88931 via svnmerge from
Russell Bryant [Tue, 6 Nov 2007 13:57:16 +0000 (13:57 +0000)]
Merged revisions 88931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88931 | russell | 2007-11-06 07:50:15 -0600 (Tue, 06 Nov 2007) | 8 lines

Remove some checks to see if locks are initialized from the non-DEBUG_THREADS
versions of the lock routines.  These are incorrect for a number of reasons:
 - It breaks the build on mac.
 - If there is a problem with locks not getting initialized, then the proper
   fix is to find that place and fix the code so that it does get initialized.
 - If additional debug code is needed to help find the problem areas, then this
   type of things should _only_ be put in the DEBUG_THREADS wrappers.

........

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

12 years agoexplain that the host environment must be used to build gentone;
Luigi Rizzo [Tue, 6 Nov 2007 08:17:42 +0000 (08:17 +0000)]
explain that the host environment must be used to build gentone;
Remove unset variables, they would be misleading.

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

12 years agodon't export variables that can be retrieved from makeopts in child subdirs
Luigi Rizzo [Tue, 6 Nov 2007 07:26:25 +0000 (07:26 +0000)]
don't export variables that can be retrieved from makeopts in child subdirs

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

12 years agoMerged revisions 88862 via svnmerge from
Kevin P. Fleming [Tue, 6 Nov 2007 02:53:13 +0000 (02:53 +0000)]
Merged revisions 88862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88862 | kpfleming | 2007-11-05 20:52:05 -0600 (Mon, 05 Nov 2007) | 2 lines

update comment to match the state of the code

........

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

12 years agoMerged revisions 88826 via svnmerge from
Mark Michelson [Mon, 5 Nov 2007 23:31:00 +0000 (23:31 +0000)]
Merged revisions 88826 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88826 | mmichelson | 2007-11-05 17:29:29 -0600 (Mon, 05 Nov 2007) | 6 lines

Reworked deadlock avoidance in __ast_read. Restored audio to
callback agents.

(closes issue #11071, reported by callguy, patched by me, tested by callguy and Ted Brown)

........

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

12 years agoMove AUDIO_LIBS outside the top level Makefile. This too is used only
Luigi Rizzo [Mon, 5 Nov 2007 21:36:11 +0000 (21:36 +0000)]
Move AUDIO_LIBS outside the top level Makefile. This too is used only
in one place.

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

12 years agoMerged revisions 88768 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 21:35:51 +0000 (21:35 +0000)]
Merged revisions 88768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88768 | russell | 2007-11-05 15:33:56 -0600 (Mon, 05 Nov 2007) | 8 lines

When traversing the list of channel variables here in transmit_invite(), the
asterisk channel must be locked, as this data may change at any time.

(I have seen numerous reports of crashes related to the handling of channel
variables.  There are a couple of issues on the bug tracker related to it,
but it has also been noted on IRC and mailing lists.  So, I am finding and
fixing some places where channel variables are handled improperly.)

........

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

12 years agoMove the last instance of AST_LIBS to the only place it is used,
Luigi Rizzo [Mon, 5 Nov 2007 21:27:04 +0000 (21:27 +0000)]
Move the last instance of AST_LIBS to the only place it is used,
namely main/Makefile .

I am unclear where decisions on the build environment (CFLAGS,
LDFLAGS, LIBS and so on) should be made - right now they are
split here and there.

As a first step in cleaning up this situation, i am trying to at
least collect all instances of each variable in one place.

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

12 years agoMerged revisions 88765 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 21:23:32 +0000 (21:23 +0000)]
Merged revisions 88765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88765 | russell | 2007-11-05 15:21:39 -0600 (Mon, 05 Nov 2007) | 2 lines

Fix up some indentation.

........

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

12 years agocomment out an unused variable. Remove it in a few days
Luigi Rizzo [Mon, 5 Nov 2007 20:50:26 +0000 (20:50 +0000)]
comment out an unused variable. Remove it in a few days
if no problems arise.

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

12 years agoMerged revisions 88719 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 20:44:05 +0000 (20:44 +0000)]
Merged revisions 88719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88719 | russell | 2007-11-05 14:40:01 -0600 (Mon, 05 Nov 2007) | 7 lines

Merge changes from asterisk/team/kpfleming/SRV-priority-handling

Previously, the SRV record support in Asterisk was broken.  There was no
guarantee on what record Asterisk would choose to actually use.  This set of
changes improves the situation by ensuring that Asterisk will choose the
highest priority record.

........

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

12 years agoMerged revisions 88709 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 20:14:48 +0000 (20:14 +0000)]
Merged revisions 88709 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88709 | russell | 2007-11-05 14:11:04 -0600 (Mon, 05 Nov 2007) | 20 lines

Merge the last bit of changes from asterisk/team/russell/readq-1.4

The issue here is that the channel frame readq handling got broken when the
code was converted to use the linked list macros.  It caused corruption of the
list head and tail pointers.  So, I fixed up the usage of the linked list
macros and in passing, simplified the code.  I also documented what the code
is doing, as it was a bit difficult to figure out at first.

This bug showed itself with crashes showing messed up head/tail pointers for
the readq.  However, there are a couple of crashes that aren't quite as obvious,
but I think may be related.  So, if your bug gets closed by this commit, but
you still have a problem, please reopen or create a new bug report.

(closes issue #10936)
(closes issue #10595)
(closes issue #10368)
(closes issue #11084)
(closes issue #10040)
(closes issue #10840)

........

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

12 years agoCleanup the installation of samples, avoiding repetitions.
Luigi Rizzo [Mon, 5 Nov 2007 19:22:56 +0000 (19:22 +0000)]
Cleanup the installation of samples, avoiding repetitions.

I am preserving the behaviour on *.adsi files,
i.e. overwrite anything there without making a backup.
However I am not sure that this is the intended behaviour.

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

12 years agoMerged revisions 88671 via svnmerge from
Joshua Colp [Mon, 5 Nov 2007 18:52:12 +0000 (18:52 +0000)]
Merged revisions 88671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88671 | file | 2007-11-05 14:47:13 -0400 (Mon, 05 Nov 2007) | 7 lines

If a SIP channel is put on hold multiple times do not keep incrementing the onHold value.
(closes issue #11085)
Reported by: francesco_r
Tested by: blitzrage
(closes issue #10474)
Reported by: acennami

........

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

12 years agoChange wording to that suggested by MasterYoda
Tilghman Lesher [Mon, 5 Nov 2007 18:22:20 +0000 (18:22 +0000)]
Change wording to that suggested by MasterYoda

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

12 years agosimplify (hopefully) the printing of $(MAKE) in aligned output.
Luigi Rizzo [Mon, 5 Nov 2007 18:00:24 +0000 (18:00 +0000)]
simplify (hopefully) the printing of $(MAKE) in aligned output.

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

12 years agoMerged revisions 88624 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 17:52:08 +0000 (17:52 +0000)]
Merged revisions 88624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88624 | russell | 2007-11-05 11:46:02 -0600 (Mon, 05 Nov 2007) | 5 lines

Fix up datastore handling in ast_do_masquerade().  The code is intended to move
any channel datastores from the old channel to the new one.  However, it did
not use the linked list macros properly to accomplish the task.  The existing
code would only work if there was only a single datastore on the old channel.

........

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

12 years agoprint messages when entering/leaving a directory so we know where we are
Luigi Rizzo [Mon, 5 Nov 2007 17:44:10 +0000 (17:44 +0000)]
print messages when entering/leaving a directory so we know where we are
(sometimes it is obvious, sometimes it is not).

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

12 years agomerge two rules with the same right hand;
Luigi Rizzo [Mon, 5 Nov 2007 17:27:02 +0000 (17:27 +0000)]
merge two rules with the same right hand;
document a bit what is done here.

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

12 years agoMerged revisions 88585 via svnmerge from
Jason Parker [Mon, 5 Nov 2007 17:21:05 +0000 (17:21 +0000)]
Merged revisions 88585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11163)
........
r88585 | qwell | 2007-11-05 11:19:41 -0600 (Mon, 05 Nov 2007) | 4 lines

Make sure we destroy the config structure on configuration failure.

Issue 11163, patch by eliel.

........

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

12 years agouse a variable name that actually indicates what it is for
Kevin P. Fleming [Mon, 5 Nov 2007 17:00:07 +0000 (17:00 +0000)]
use a variable name that actually indicates what it is for

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

12 years agoPut extra compiler flags into a variable so they are not repeated
Luigi Rizzo [Mon, 5 Nov 2007 16:41:39 +0000 (16:41 +0000)]
Put extra compiler flags into a variable so they are not repeated
too many times.
On passing, add some comments and fix indentation a bit.

On passing, i suspect that the following pattern is wrong

%.eoo: %.o

but in case it will be fixed in a later commit.

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

12 years agoMerged revisions 88539 via svnmerge from
Tilghman Lesher [Mon, 5 Nov 2007 16:30:51 +0000 (16:30 +0000)]
Merged revisions 88539 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88539 | tilghman | 2007-11-05 10:20:13 -0600 (Mon, 05 Nov 2007) | 4 lines

Don't check used pooled connections for connection status, as it will cause issues for prepared queries.
Reported by: Nick Gorham (via -dev list)
Patch by: tilghman

........

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

12 years agoremove a cygwin-specific function remap that does not work.
Luigi Rizzo [Mon, 5 Nov 2007 15:15:22 +0000 (15:15 +0000)]
remove a cygwin-specific function remap that does not work.

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

12 years agoFix memory leaks and deadlocks in chan_unistim.
Joshua Colp [Mon, 5 Nov 2007 13:11:37 +0000 (13:11 +0000)]
Fix memory leaks and deadlocks in chan_unistim.
(closes issue #11158)
Reported by: eliel
Patches:
      chan_unistim.c.patch uploaded by eliel (license 64)

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

12 years agoblock merging of not-applicable patch
Luigi Rizzo [Sun, 4 Nov 2007 22:42:54 +0000 (22:42 +0000)]
block merging of not-applicable patch

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

12 years agoSimplify the implementation and the API for stringfields;
Luigi Rizzo [Sun, 4 Nov 2007 19:44:31 +0000 (19:44 +0000)]
Simplify the implementation and the API for stringfields;
details and examples are in include/asterisk/stringfields.h.

Not applicable to older branches except for 1.4 which will
receive a fix for the routines that free memory pools.

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

12 years agoRevert commit #86119. Some users intentionally do not want colorized terminals,...
Tilghman Lesher [Sat, 3 Nov 2007 14:19:47 +0000 (14:19 +0000)]
Revert commit #86119.  Some users intentionally do not want colorized terminals, so this was a misfeature.

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

12 years agoSet CLI command to the correct name. Rev 85460 introduced two 'database show' comman...
James Golovich [Sat, 3 Nov 2007 04:55:06 +0000 (04:55 +0000)]
Set CLI command to the correct name.  Rev 85460 introduced two 'database show' commands when this one
should have been 'database showkey'

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

12 years agofix some issues with crashing on unload, when it didn't completely load cleanly
Russell Bryant [Fri, 2 Nov 2007 22:36:30 +0000 (22:36 +0000)]
fix some issues with crashing on unload, when it didn't completely load cleanly

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

12 years agoConvert the CLI commands to the new format
Russell Bryant [Fri, 2 Nov 2007 22:08:15 +0000 (22:08 +0000)]
Convert the CLI commands to the new format

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

12 years agopropagate the DECLINE return value back to the loader
Russell Bryant [Fri, 2 Nov 2007 21:39:36 +0000 (21:39 +0000)]
propagate the DECLINE return value back to the loader

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

12 years agoDon't kill asterisk if extensions.lua is not present.
Russell Bryant [Fri, 2 Nov 2007 21:36:37 +0000 (21:36 +0000)]
Don't kill asterisk if extensions.lua is not present.

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

12 years agoShow the channel unique ID in the "show channel concise" output
Russell Bryant [Fri, 2 Nov 2007 21:25:55 +0000 (21:25 +0000)]
Show the channel unique ID in the "show channel concise" output
(closes issue #11148, requested by falves11, patched by me)

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

12 years agoMerge the code from asterisk/team/group/chan_unistim:
Russell Bryant [Fri, 2 Nov 2007 20:56:12 +0000 (20:56 +0000)]
Merge the code from asterisk/team/group/chan_unistim:

This introduces a new channel driver, chan_unistim, that supports the Unistim
VoIP protocol for Nortel phones.  The following models have been confirmed
to work: i2002, i2004 and i2050.

(closes issue #8864)
Reported by: c_hans
Patches:
      chan_unistim.patch uploaded by c (license 304)
      ustm_no_conf.diff uploaded by junky (license 177)
Tested by: c_hans, dbowerman, math, junky, loloski

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

12 years agoMerged revisions 88366 via svnmerge from
Joshua Colp [Fri, 2 Nov 2007 20:51:53 +0000 (20:51 +0000)]
Merged revisions 88366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88366 | file | 2007-11-02 17:49:45 -0300 (Fri, 02 Nov 2007) | 4 lines

Make subscribecontext behave as advertised. It will now look for the presence of a hint in the given context (be it subscribecontext or context).
(closes issue #10702)
Reported by: slavon

........

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

12 years agoMerged revisions 88328 via svnmerge from
Joshua Colp [Fri, 2 Nov 2007 20:22:40 +0000 (20:22 +0000)]
Merged revisions 88328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88328 | file | 2007-11-02 17:20:21 -0300 (Fri, 02 Nov 2007) | 6 lines

If an INFO request within a dialog is received with a content length of 0 simply send back a 200 OK. It is valid to do this and the remote side is probably using it to make sure the signalling is still alive.
(closes issue #5747)
Reported by: chandi
Patches:
      infofix-81430-1.patch uploaded by IgorG (license 20)

........

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

12 years agoFix replacing the version number when it has a '/' in it, like
Russell Bryant [Fri, 2 Nov 2007 20:13:18 +0000 (20:13 +0000)]
Fix replacing the version number when it has a '/' in it, like
  SVN-group-chan_unistim-r88326M-/trunk

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

12 years agoOops, some dev-mode changes for ISO C90
Tilghman Lesher [Fri, 2 Nov 2007 17:34:33 +0000 (17:34 +0000)]
Oops, some dev-mode changes for ISO C90

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

12 years agoMerged revisions 88283 via svnmerge from
Jason Parker [Fri, 2 Nov 2007 16:54:11 +0000 (16:54 +0000)]
Merged revisions 88283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11147)
........
r88283 | qwell | 2007-11-02 11:51:08 -0500 (Fri, 02 Nov 2007) | 4 lines

We need to make sure to specify a language to ast_fileexists, otherwise it may fail for anything besides en

Issue 11147, fix discovered by both citats and myself (independently), with input from Corydon76

........

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

12 years agoAdd a few bytes on LUA
Tilghman Lesher [Fri, 2 Nov 2007 16:26:31 +0000 (16:26 +0000)]
Add a few bytes on LUA

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

12 years agoAdd pbx_lua as a method of doing extensions
Tilghman Lesher [Fri, 2 Nov 2007 15:36:34 +0000 (15:36 +0000)]
Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140

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

12 years agoDon't re-cache the filename, but check to see if it already exists
Tilghman Lesher [Fri, 2 Nov 2007 13:17:48 +0000 (13:17 +0000)]
Don't re-cache the filename, but check to see if it already exists
Reported by: jamesgolovich
Patch by: jamesgolovich
Closes issue #11144

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

12 years agoMerged revisions 88210 via svnmerge from
Tilghman Lesher [Fri, 2 Nov 2007 13:10:29 +0000 (13:10 +0000)]
Merged revisions 88210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88210 | tilghman | 2007-11-02 08:03:03 -0500 (Fri, 02 Nov 2007) | 5 lines

Fix build on Solaris
Reported by: snuffy
Patch by: ys
Closes issue #11143

........

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

12 years ago'h' extension doesn't execute past first priority
Tilghman Lesher [Fri, 2 Nov 2007 12:54:31 +0000 (12:54 +0000)]
'h' extension doesn't execute past first priority
Reported by: dimas
Patch by: dimas
Closes bug #11146

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

12 years agoRestore building under 64-bit platforms.
Joshua Colp [Fri, 2 Nov 2007 03:09:02 +0000 (03:09 +0000)]
Restore building under 64-bit platforms.

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

12 years agoRemove traces of gnutls, since we no longer use/need it.
Jason Parker [Thu, 1 Nov 2007 23:26:51 +0000 (23:26 +0000)]
Remove traces of gnutls, since we no longer use/need it.

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

12 years agoModify WaitExten to include an optional dialtone
Tilghman Lesher [Thu, 1 Nov 2007 23:26:35 +0000 (23:26 +0000)]
Modify WaitExten to include an optional dialtone
Closes issue #10783

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

12 years agoConvert cdr_odbc to use res_odbc managed connections
Tilghman Lesher [Thu, 1 Nov 2007 22:43:46 +0000 (22:43 +0000)]
Convert cdr_odbc to use res_odbc managed connections
Closes issue #10614

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

12 years agoThis commits the performance mods that give the priority processing engine in the...
Steve Murphy [Thu, 1 Nov 2007 22:26:51 +0000 (22:26 +0000)]
This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.

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

12 years agoCrap, accidentally copied the props. Thanks for pointing this out mvanbaak. The...
Jason Parker [Thu, 1 Nov 2007 22:19:56 +0000 (22:19 +0000)]
Crap, accidentally copied the props.  Thanks for pointing this out mvanbaak.  The odds are quite high that this will break automerge on every team branch.

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

12 years agoSwitch res_jabber to use openssl rather than gnutls.
Jason Parker [Thu, 1 Nov 2007 22:10:33 +0000 (22:10 +0000)]
Switch res_jabber to use openssl rather than gnutls.

Closes issue #9972, patch by phsultan.  Copied from branch at http://svn.digium.com/svn/asterisk/team/phsultan/res_jabber-openssl/

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

12 years agoMerged revisions 88116 via svnmerge from
Tilghman Lesher [Thu, 1 Nov 2007 17:25:58 +0000 (17:25 +0000)]
Merged revisions 88116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88116 | tilghman | 2007-11-01 12:17:56 -0500 (Thu, 01 Nov 2007) | 2 lines

Add some notes on using valgrind

........

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

12 years agoMerged revisions 88078 via svnmerge from
Jason Parker [Thu, 1 Nov 2007 16:22:09 +0000 (16:22 +0000)]
Merged revisions 88078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88078 | qwell | 2007-11-01 11:21:22 -0500 (Thu, 01 Nov 2007) | 4 lines

Make sure we set the poll fds to NULL after free()ing it.

Part of issue 11017, patch by tzafrir.

........

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

12 years agoChange some uses of free() to ast_free(). (No functional differences.)
Russell Bryant [Thu, 1 Nov 2007 15:56:25 +0000 (15:56 +0000)]
Change some uses of free() to ast_free().  (No functional differences.)

(closes issue #11138)
Reported by: eliel
Patches:
      pbx_dundi.c.patch uploaded by eliel (license 64)
  chan_sip.c.patch uploaded by eliel (license 64)

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

12 years agoRemove another copied source file on "make clean".
Russell Bryant [Thu, 1 Nov 2007 15:18:06 +0000 (15:18 +0000)]
Remove another copied source file on "make clean".

(closes issue #11137)
Reported by: IgorG
Patches:
      addonclean-87971-1.patch uploaded by IgorG (license 20)

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

12 years agoMerged revisions 88026 via svnmerge from
Joshua Colp [Thu, 1 Nov 2007 13:30:28 +0000 (13:30 +0000)]
Merged revisions 88026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88026 | file | 2007-11-01 10:27:37 -0300 (Thu, 01 Nov 2007) | 2 lines

Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)

........

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

12 years agoConditionally free lock_info->thread_name to avoid a useless warning
Tilghman Lesher [Thu, 1 Nov 2007 06:12:08 +0000 (06:12 +0000)]
Conditionally free lock_info->thread_name to avoid a useless warning
Reported by: snuffy
Patch by: snuffy
Closes issue #11125

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

12 years agoJanitor: use ast_free to pair calls of ast_malloc and ast_calloc
Tilghman Lesher [Thu, 1 Nov 2007 06:07:18 +0000 (06:07 +0000)]
Janitor:  use ast_free to pair calls of ast_malloc and ast_calloc
Reported by: eliel
Patch by: eliel
Closes issue #11135

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

12 years agoFix memory leak
Tilghman Lesher [Thu, 1 Nov 2007 05:44:40 +0000 (05:44 +0000)]
Fix memory leak
Reported by: eliel
Fixed by: tilghman
Closes issue #11136

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

12 years agoMerged revisions 87970 via svnmerge from
Joshua Colp [Thu, 1 Nov 2007 01:55:38 +0000 (01:55 +0000)]
Merged revisions 87970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87970 | file | 2007-10-31 22:53:55 -0300 (Wed, 31 Oct 2007) | 4 lines

If a Zap channel contains a spy or a spy is added take it out of the conference in kernel space and make it go through Asterisk so the spy gets audio from both sides.
(closes issue #10060)
Reported by: mparker

........

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

12 years agoDrop any more references to type in the Exception dialplan function.
Joshua Colp [Thu, 1 Nov 2007 00:04:43 +0000 (00:04 +0000)]
Drop any more references to type in the Exception dialplan function.
(closes issue #11134)
Reported by: blitzrage
Patches:
      exception_patch.txt uploaded by blitzrage (license 10)

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

12 years agoMerged revisions 87908 via svnmerge from
Jason Parker [Wed, 31 Oct 2007 21:23:42 +0000 (21:23 +0000)]
Merged revisions 87908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11131)
........
r87908 | qwell | 2007-10-31 16:23:11 -0500 (Wed, 31 Oct 2007) | 4 lines

Make sure we free some allocated memory before returning.

Issue 11131, patch by eliel.

........

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

12 years agoMerged revisions 87906 via svnmerge from
Jason Parker [Wed, 31 Oct 2007 21:18:52 +0000 (21:18 +0000)]
Merged revisions 87906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11130)
(closes issue #11132)

........
r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines

Don't try to allocate memory that we're just going to re-allocate later anyways.

Issues 11130 and 11132, patch by eliel.

........

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

12 years agoMore changes to change return values from load_module functions.
Jason Parker [Wed, 31 Oct 2007 19:24:29 +0000 (19:24 +0000)]
More changes to change return values from load_module functions.

(issue #11096)
Patches:
      codec_adpcm.c.patch uploaded by moy (license 222)
      codec_alaw.c.patch uploaded by moy (license 222)
      codec_a_mu.c.patch uploaded by moy (license 222)
      codec_g722.c.patch uploaded by moy (license 222)
      codec_g726.c.diff uploaded by moy (license 222)
      codec_gsm.c.patch uploaded by moy (license 222)
      codec_ilbc.c.patch uploaded by moy (license 222)
      codec_lpc10.c.patch uploaded by moy (license 222)
      codec_speex.c.patch uploaded by moy (license 222)
      codec_ulaw.c.patch uploaded by moy (license 222)
      codec_zap.c.patch uploaded by moy (license 222)
      format_g723.c.patch uploaded by moy (license 222)
      format_g726.c.patch uploaded by moy (license 222)
      format_g729.c.patch uploaded by moy (license 222)
      format_gsm.c.patch uploaded by moy (license 222)
      format_h263.c.patch uploaded by moy (license 222)
      format_h264.c.patch uploaded by moy (license 222)
      format_ilbc.c.patch uploaded by moy (license 222)
      format_jpeg.c.patch uploaded by moy (license 222)
      format_ogg_vorbis.c.patch uploaded by moy (license 222)
      format_pcm.c.patch uploaded by moy (license 222)
      format_sln.c.patch uploaded by moy (license 222)
      format_vox.c.patch uploaded by moy (license 222)
      format_wav.c.patch uploaded by moy (license 222)
      format_wav_gsm.c.patch uploaded by moy (license 222)
      res_adsi.c.patch uploaded by eliel (license 64)
      res_ael_share.c.patch uploaded by eliel (license 64)
      res_clioriginate.c.patch uploaded by eliel (license 64)
      res_convert.c.patch uploaded by eliel (license 64)
      res_indications.c.patch uploaded by eliel (license 64)
      res_musiconhold.c.patch uploaded by eliel (license 64)
      res_smdi.c.patch uploaded by eliel (license 64)
      res_speech.c.patch uploaded by eliel (license 64)

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

12 years agoMerged revisions 87849 via svnmerge from
Steve Murphy [Wed, 31 Oct 2007 18:53:13 +0000 (18:53 +0000)]
Merged revisions 87849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87849 | murf | 2007-10-31 11:49:39 -0600 (Wed, 31 Oct 2007) | 1 line

closes issue #11108 -- where the 'dialplan save' cli command saves a file where the semicolon is not escaped. Fixed this; User also wanted comments to be preserved across dialplan save, but this is impossible at this point in time, because comments are not stored in the dialplan. They are 'compiled' out of extensions.conf. The only way to preserve those comments is to use the config file reader/writer that the GUI uses to allow online user edits. extensions.conf is first and foremost, a config file, and is read in by the normal config-file reading routines. Then, it is processed into a dialplan (context/exten structs). (in the case of trunk, tho, no mods needed to be made -- works OK there -- just make sure you use ',' to sep app args!)
........

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

12 years agoMerged revisions 87852 via svnmerge from
Tilghman Lesher [Wed, 31 Oct 2007 18:09:52 +0000 (18:09 +0000)]
Merged revisions 87852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines

Create samples for ALL of the available options in asterisk.conf

........

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

12 years agoAdd volume adjustment in.
Joshua Colp [Wed, 31 Oct 2007 18:03:17 +0000 (18:03 +0000)]
Add volume adjustment in.

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

12 years agoRestore operation of the option that only writes when the channel is bridged.
Joshua Colp [Wed, 31 Oct 2007 17:56:21 +0000 (17:56 +0000)]
Restore operation of the option that only writes when the channel is bridged.

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

12 years agoAdd volume adjustment to spy audiohook in app_chanspy.
Joshua Colp [Wed, 31 Oct 2007 17:25:16 +0000 (17:25 +0000)]
Add volume adjustment to spy audiohook in app_chanspy.

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

12 years agoFormatting cleanups, remove obsolete contributions (modules no longer in
Tilghman Lesher [Wed, 31 Oct 2007 16:13:40 +0000 (16:13 +0000)]
Formatting cleanups, remove obsolete contributions (modules no longer in
Asterisk), and obfuscate email addresses enough to stop most spam harvesters.

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

12 years agoRemove old whisper remnants from channel.h
Joshua Colp [Wed, 31 Oct 2007 16:07:50 +0000 (16:07 +0000)]
Remove old whisper remnants from channel.h

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

12 years agoOptimize pbx_substitute_variables
Tilghman Lesher [Wed, 31 Oct 2007 15:46:41 +0000 (15:46 +0000)]
Optimize pbx_substitute_variables

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

12 years agoMerged revisions 87775 via svnmerge from
Steve Murphy [Wed, 31 Oct 2007 04:20:40 +0000 (04:20 +0000)]
Merged revisions 87775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87775 | murf | 2007-10-30 21:51:52 -0600 (Tue, 30 Oct 2007) | 1 line

Included some verbage in the check_includes func, to inform the user that included contexts that have no match in the AEL, might be OK, as AEL cannot check in the extensions.conf or the in-memory contexts, as they may not be there at the time of the check.
........

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

12 years agoMerged revisions 87739 via svnmerge from
Tilghman Lesher [Tue, 30 Oct 2007 23:08:59 +0000 (23:08 +0000)]
Merged revisions 87739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87739 | tilghman | 2007-10-30 18:02:22 -0500 (Tue, 30 Oct 2007) | 5 lines

Fix for uninitialized mutexes on *BSD
Reported by: ys
Fixed by: ys
Closes issue #11116

........

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

12 years agoIf no '?' is found in the arguments, don't attempt to continue.
Tilghman Lesher [Tue, 30 Oct 2007 22:15:28 +0000 (22:15 +0000)]
If no '?' is found in the arguments, don't attempt to continue.
Reported by: blitzrage
Fixed by: tilghman
Closes issue #11111

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

12 years agoMerged revisions 87686 via svnmerge from
Russell Bryant [Tue, 30 Oct 2007 21:22:48 +0000 (21:22 +0000)]
Merged revisions 87686 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87686 | russell | 2007-10-30 16:19:09 -0500 (Tue, 30 Oct 2007) | 11 lines

Merge the changes from team/russell/iax2_poke_fix and iax2-poke-fix-trunk

There was a race condition related to the handling of POKEing peers.  Essentially,
a reference to a peer is held by the scheduler when there are pending callbacks,
but the reference count didn't reflect it.  So, it was possible for a peer to hit
a reference count of zero and have its destructor begin to be called at the same
time that the scheduler thread ran a POKE related callback.  If that happened,
a crash would likely occur.

(closes issue #11082, closes issue #11094)

........

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

12 years agoMerged revisions 87650 via svnmerge from
Jason Parker [Tue, 30 Oct 2007 20:30:35 +0000 (20:30 +0000)]
Merged revisions 87650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87650 | qwell | 2007-10-30 15:29:41 -0500 (Tue, 30 Oct 2007) | 1 line

Only try to clean out h323/ if the h323/Makefile exists.
........

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

12 years agoUpdate documentation to give an example of how to use the return status of RaiseException
Jason Parker [Tue, 30 Oct 2007 18:28:55 +0000 (18:28 +0000)]
Update documentation to give an example of how to use the return status of RaiseException

Closes issue #11117, patch by blitzrage (yay blitzrage)

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

12 years agoThe priority gets incremented after raising an exception, so the priority should...
Mark Michelson [Tue, 30 Oct 2007 17:07:26 +0000 (17:07 +0000)]
The priority gets incremented after raising an exception, so the priority should be set to 0

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

12 years agoJumped the gun a bit in the RaiseException app. It would always return -1
Mark Michelson [Tue, 30 Oct 2007 16:36:29 +0000 (16:36 +0000)]
Jumped the gun a bit in the RaiseException app. It would always return -1
since it checked for the existence of something that will never exist.

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

12 years agoMerged revisions 87571 via svnmerge from
Joshua Colp [Tue, 30 Oct 2007 16:15:23 +0000 (16:15 +0000)]
Merged revisions 87571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87571 | file | 2007-10-30 13:13:39 -0300 (Tue, 30 Oct 2007) | 4 lines

Add two more checks before printing out a warning message about bridging. If either channel has hungup of course the bridge will have failed.
(closes issue #10009)
Reported by: dimas

........

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

12 years agoMerged revisions 87567 via svnmerge from
Jason Parker [Tue, 30 Oct 2007 15:47:19 +0000 (15:47 +0000)]
Merged revisions 87567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11113)
........
r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines

Fix build of editline on Solaris.

Issue 11113, patch by snuffy.

........

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

12 years agoBlocked revisions 87534 via svnmerge
Joshua Colp [Tue, 30 Oct 2007 15:11:09 +0000 (15:11 +0000)]
Blocked revisions 87534 via svnmerge

........
r87534 | file | 2007-10-30 12:10:13 -0300 (Tue, 30 Oct 2007) | 2 lines

Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk?

........

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

12 years agoUGH... while trying to fix #10995, I found all kinds of cruft in this Makefile. It...
Kevin P. Fleming [Mon, 29 Oct 2007 22:44:49 +0000 (22:44 +0000)]
UGH... while trying to fix #10995, I found all kinds of cruft in this Makefile. It should all be gone now, and as a side effect hashtest2 now builds with --enable-dev-mode enabled without a host of errors

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

12 years agoclean up assembler and preprocessor files if they are here too
Kevin P. Fleming [Mon, 29 Oct 2007 22:24:44 +0000 (22:24 +0000)]
clean up assembler and preprocessor files if they are here too

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

12 years agoignore preprocessor and assembler files if they are present
Kevin P. Fleming [Mon, 29 Oct 2007 22:21:52 +0000 (22:21 +0000)]
ignore preprocessor and assembler files if they are present

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

12 years agoMerged revisions 87460 via svnmerge from
Kevin P. Fleming [Mon, 29 Oct 2007 22:05:17 +0000 (22:05 +0000)]
Merged revisions 87460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines

don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command

........

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