asterisk/asterisk.git
12 years agoFix another CLI command so it doesn't run the real code when called for initialization.
Russell Bryant [Wed, 7 Nov 2007 00:16:03 +0000 (00:16 +0000)]
Fix another CLI command so it doesn't run the real code when called for initialization.

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

12 years agoAdding documentation regarding imapfolder, imapgreetings, and greetingsfolder options
Mark Michelson [Wed, 7 Nov 2007 00:04:30 +0000 (00:04 +0000)]
Adding documentation regarding imapfolder, imapgreetings, and greetingsfolder options
in voicemail.conf

(closes issue #11133, reported by selsky, patched by blitzrage)

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

12 years agoPrint out the channel name as a prefix to the "agi debug" output. This makes
Russell Bryant [Wed, 7 Nov 2007 00:00:38 +0000 (00:00 +0000)]
Print out the channel name as a prefix to the "agi debug" output.  This makes
AGI debugging on busy systems much easier.

(closes issue #10730)
Reported by: junky
Patches:
      agi_debug_chan.diff uploaded by junky (license 177)
  20070923_10730.diff uploaded by mvanbaak (license 7)

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

12 years agoAdded the ability to do "meetme concise" with the "meetme" CLI command.
Russell Bryant [Tue, 6 Nov 2007 23:44:39 +0000 (23:44 +0000)]
Added the ability to do "meetme concise" with the "meetme" CLI command.
This extends the concise capabilities of this CLI command to include
listing all conferences, instead of an addition to the other sub commands
for the "meetme" command.

(closes issue #11078)
Reported by: jthomas
Patches:
      meetme-concise.patch uploaded by jthomas (license 293)

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

12 years agoFix up some PBX logic that became broken. The code would exit prematurely when it...
Joshua Colp [Tue, 6 Nov 2007 23:08:36 +0000 (23:08 +0000)]
Fix up some PBX logic that became broken. The code would exit prematurely when it should have been collecting more digits.
(closes issue #11175)
Reported by: pj

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

12 years agoCommit some cleanups to the format type code.
Tilghman Lesher [Tue, 6 Nov 2007 22:51:48 +0000 (22:51 +0000)]
Commit some cleanups to the format type code.
 - Remove the AST_FORMAT_MAX_* types, as these are consuming 3 out of our available 32 bits.
 - Add a native slin16 type, so that 16kHz codecs can translate without losing resolution.
   (This doesn't affect anything immediately, until another codec has wb support.)

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

12 years agoAdding the queue strategy wrandom
Mark Michelson [Tue, 6 Nov 2007 22:36:55 +0000 (22:36 +0000)]
Adding the queue strategy wrandom

(closes issue #10942, reported and patched by julianjm, documentation changes by me)

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

12 years agoAdded the S() and L() options to the MeetMe application. These are pretty
Russell Bryant [Tue, 6 Nov 2007 22:15:32 +0000 (22:15 +0000)]
Added the S() and L() options to the MeetMe application.  These are pretty
much identical to the S() and L() options to Dial().  They let you set
timeouts for the conference, as well as have warning sounds played to
let the caller know how much time is left, and when it is running out.

(closes issue #8030)
Reported by: areski
Patches:
      meetme_timeout_timelimit_v2.patch uploaded by areski (license 29)

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

12 years agoAdded CLI and manager commands for changing a queue member's penalty
Mark Michelson [Tue, 6 Nov 2007 22:05:56 +0000 (22:05 +0000)]
Added CLI and manager commands for changing a queue member's penalty

(closes issue #9374, reported and initially patched by wuwu, intermediate patch by eliel, and final patch by me)

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

12 years agoAdd some more locking as well as API update for libss7 for new transport types
Matthew Fredrickson [Tue, 6 Nov 2007 22:01:10 +0000 (22:01 +0000)]
Add some more locking as well as API update for libss7 for new transport types

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

12 years agoMerged revisions 89036 via svnmerge from
Steve Murphy [Tue, 6 Nov 2007 21:08:38 +0000 (21:08 +0000)]
Merged revisions 89036 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89036 | murf | 2007-11-06 10:52:50 -0700 (Tue, 06 Nov 2007) | 1 line

closes issue #8786 - where the [catname](!) and [catname](othercat1,othercat2,...) notation gets dropped across a ConfigUpdate (or any other thing that would cause a config file to be written). While I was at it, I also cleaned up some of the destroy routines to free up comments, which was not being done. Made sure the new struct I introduced is also cleaned up properly at destruction time. My code handles multiple template inclusions. Many thanks to ssokol for his patch, which, while not literally used in the final merge, served as a foundation for the fix.
........

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

12 years agoRemove native bridging check for DTMF based transfers. Thanks to the last batch of...
Joshua Colp [Tue, 6 Nov 2007 20:55:58 +0000 (20:55 +0000)]
Remove native bridging check for DTMF based transfers. Thanks to the last batch of RTP changes it is no longer required for the media stream to go through Asterisk if DTMF is going over signalling. It will simply reinvite back as needed.
(closes issue #11172)
Reported by: ibc

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

12 years agoInstead of trying to callback a local channel on a failed attended transfer, call
Mark Michelson [Tue, 6 Nov 2007 20:32:49 +0000 (20:32 +0000)]
Instead of trying to callback a local channel on a failed attended transfer, call
the device that made the transfer instead. This makes for much smoother calling back
when queues are involved.

(closes issue #11155, reported by IPetrov)

Tremendous thanks to Russell for pulling me out of my block I was having on this one

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

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

........
r89053 | russell | 2007-11-06 14:18:49 -0600 (Tue, 06 Nov 2007) | 3 lines

Fix init_classes() so that classes that actually do have files loaded aren't
treated as empty, and immediately destroyed ...

........

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

12 years agoFix the memory show allocations CLI command so that it doesn't spew out all
Russell Bryant [Tue, 6 Nov 2007 19:51:37 +0000 (19:51 +0000)]
Fix the memory show allocations CLI command so that it doesn't spew out all
of the current memory allocations when you start Asterisk, when the command's
handler gets called for initialization.

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

12 years agoHoping to avoid a crash in OSX for a problem blitzrage found
Steve Murphy [Tue, 6 Nov 2007 19:40:33 +0000 (19:40 +0000)]
Hoping to avoid a crash in OSX for a problem blitzrage found

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

12 years agoFormatting. Illegaly using some spare spaces from Russell's space-bucket.
Olle Johansson [Tue, 6 Nov 2007 19:23:10 +0000 (19:23 +0000)]
Formatting. Illegaly using some spare spaces from Russell's space-bucket.

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

12 years agoMerged revisions 89045 via svnmerge from
Tilghman Lesher [Tue, 6 Nov 2007 19:16:02 +0000 (19:16 +0000)]
Merged revisions 89045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89045 | tilghman | 2007-11-06 13:09:06 -0600 (Tue, 06 Nov 2007) | 2 lines

We went to the trouble of creating a method of tracking failed trylocks, then never turned it on (oops).

........

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

12 years agoAdditional TDD changes (preparing for SIP changes - adding TDD support to SIP)
Olle Johansson [Tue, 6 Nov 2007 19:10:26 +0000 (19:10 +0000)]
Additional TDD changes (preparing for SIP changes - adding TDD support to SIP)

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

12 years agoMerged revisions 89046 via svnmerge from
Jason Parker [Tue, 6 Nov 2007 19:10:18 +0000 (19:10 +0000)]
Merged revisions 89046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89046 | qwell | 2007-11-06 13:09:30 -0600 (Tue, 06 Nov 2007) | 4 lines

Correctly set the total number of channels from a zaptel transcoder board.

SPD-49, patch by Matthew Nicholson.

........

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

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