[asterisk-commits] file: branch file/bridging r89292 - in /team/file/bridging: ./ apps/ cdr/ cha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 15 10:01:00 CST 2007


Author: file
Date: Thu Nov 15 10:00:59 2007
New Revision: 89292

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89292
Log:
Merged revisions 89031,89034,89038,89041,89043-89044,89047-89052,89054-89055,89057,89062,89067-89078,89080-89084,89086,89089,89091-89092,89094,89096,89098,89100,89102,89104,89106-89110,89112-89114,89116-89118,89120-89124,89126,89129-89130,89132,89174-89179,89185-89186,89190,89193,89195-89196,89198,89201-89203,89206-89207,89240,89242,89247,89249-89253,89255-89259,89261-89266,89268-89274,89276-89279,89282-89283,89285,89287,89289-89290 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r89031 | rizzo | 2007-11-06 13:05:13 -0400 (Tue, 06 Nov 2007) | 17 lines

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.


................
r89034 | file | 2007-11-06 13:10:03 -0400 (Tue, 06 Nov 2007) | 12 lines

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

........

................
r89038 | russell | 2007-11-06 14:23:36 -0400 (Tue, 06 Nov 2007) | 19 lines

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.

........

................
r89041 | qwell | 2007-11-06 14:44:19 -0400 (Tue, 06 Nov 2007) | 4 lines

Allow gtalk and jingle to use TLS connections again.

Closes issue #9972

................
r89043 | oej | 2007-11-06 15:04:29 -0400 (Tue, 06 Nov 2007) | 12 lines

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)

................
r89044 | mmichelson | 2007-11-06 15:04:45 -0400 (Tue, 06 Nov 2007) | 7 lines

"show application <foo>" changes for clarity.

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

Many thanks!


................
r89047 | qwell | 2007-11-06 15:10:18 -0400 (Tue, 06 Nov 2007) | 12 lines

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.

........

................
r89048 | oej | 2007-11-06 15:10:26 -0400 (Tue, 06 Nov 2007) | 2 lines

Additional TDD changes (preparing for SIP changes - adding TDD support to SIP)

................
r89049 | tilghman | 2007-11-06 15:16:02 -0400 (Tue, 06 Nov 2007) | 10 lines

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).

........

................
r89050 | oej | 2007-11-06 15:23:10 -0400 (Tue, 06 Nov 2007) | 2 lines

Formatting. Illegaly using some spare spaces from Russell's space-bucket.

................
r89051 | murf | 2007-11-06 15:40:33 -0400 (Tue, 06 Nov 2007) | 1 line

Hoping to avoid a crash in OSX for a problem blitzrage found
................
r89052 | russell | 2007-11-06 15:51:37 -0400 (Tue, 06 Nov 2007) | 4 lines

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.

................
r89054 | russell | 2007-11-06 16:22:50 -0400 (Tue, 06 Nov 2007) | 11 lines

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 ...

........

................
r89055 | mmichelson | 2007-11-06 16:32:49 -0400 (Tue, 06 Nov 2007) | 9 lines

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


................
r89057 | file | 2007-11-06 16:55:58 -0400 (Tue, 06 Nov 2007) | 4 lines

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

................
r89062 | murf | 2007-11-06 17:08:38 -0400 (Tue, 06 Nov 2007) | 9 lines

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.
........

................
r89067 | mattf | 2007-11-06 18:01:10 -0400 (Tue, 06 Nov 2007) | 1 line

Add some more locking as well as API update for libss7 for new transport types
................
r89068 | mmichelson | 2007-11-06 18:05:56 -0400 (Tue, 06 Nov 2007) | 5 lines

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)


................
r89069 | russell | 2007-11-06 18:15:32 -0400 (Tue, 06 Nov 2007) | 10 lines

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)

................
r89070 | mmichelson | 2007-11-06 18:36:55 -0400 (Tue, 06 Nov 2007) | 5 lines

Adding the queue strategy wrandom

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


................
r89071 | tilghman | 2007-11-06 18:51:48 -0400 (Tue, 06 Nov 2007) | 5 lines

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.)

................
r89072 | file | 2007-11-06 19:08:36 -0400 (Tue, 06 Nov 2007) | 4 lines

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

................
r89073 | russell | 2007-11-06 19:44:39 -0400 (Tue, 06 Nov 2007) | 10 lines

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)

................
r89074 | russell | 2007-11-06 20:00:38 -0400 (Tue, 06 Nov 2007) | 9 lines

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)

................
r89075 | mmichelson | 2007-11-06 20:04:30 -0400 (Tue, 06 Nov 2007) | 6 lines

Adding documentation regarding imapfolder, imapgreetings, and greetingsfolder options
in voicemail.conf

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


................
r89076 | russell | 2007-11-06 20:16:03 -0400 (Tue, 06 Nov 2007) | 2 lines

Fix another CLI command so it doesn't run the real code when called for initialization.

................
r89077 | tilghman | 2007-11-06 21:08:31 -0400 (Tue, 06 Nov 2007) | 6 lines

Add contributed EAGI proxy, which provides FastAGI functionality for EAGI, while also
buffering the audio stream.
Reported by: devil_slayer
Patch by: devil_slayer
Closes issue #8921

................
r89078 | tilghman | 2007-11-06 22:14:40 -0400 (Tue, 06 Nov 2007) | 5 lines

Provide the ability to directly manipulate the TON/NPI bits in the dialstring.
Reported by: thetatag
Patch by: thetatag/stevens/tilghman
Closes issue #5331

................
r89080 | tilghman | 2007-11-07 00:11:32 -0400 (Wed, 07 Nov 2007) | 13 lines

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

........
r89079 | tilghman | 2007-11-06 22:07:49 -0600 (Tue, 06 Nov 2007) | 5 lines

Suppress AEL warnings on load.
Reported by: eliel
Patch by: eliel
Closes issue #11178

........

................
r89081 | tilghman | 2007-11-07 00:21:27 -0400 (Wed, 07 Nov 2007) | 5 lines

Suppress erroneous warnings on load.
Reported by: eliel
Patch by: eliel
Closes issue #11177

................
r89082 | rizzo | 2007-11-07 07:15:42 -0400 (Wed, 07 Nov 2007) | 3 lines

match changes in menuselect's Makefile


................
r89083 | rizzo | 2007-11-07 07:33:55 -0400 (Wed, 07 Nov 2007) | 3 lines

remove a debugging message which i forgot in.


................
r89084 | rizzo | 2007-11-07 09:12:28 -0400 (Wed, 07 Nov 2007) | 4 lines

remove enter/exit comments when handling subdirectory.
If we really want them we can remove the --no-print-directory


................
r89086 | file | 2007-11-07 13:45:31 -0400 (Wed, 07 Nov 2007) | 2 lines

Minor change so chan_h323 builds again.

................
r89089 | murf | 2007-11-07 18:09:10 -0400 (Wed, 07 Nov 2007) | 9 lines

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

........
r89088 | murf | 2007-11-07 14:40:28 -0700 (Wed, 07 Nov 2007) | 1 line

In response to 10578, I just ran 1.4 thru valgrind; some of the config leakage I've already fixed, but it doesn't hurt to double check. I found and fixed leaks in res_jabber, cdr_tds, pbx_ael. Nothing major, tho.
........

................
r89091 | mmichelson | 2007-11-07 18:42:24 -0400 (Wed, 07 Nov 2007) | 14 lines

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

........
r89090 | mmichelson | 2007-11-07 16:40:35 -0600 (Wed, 07 Nov 2007) | 6 lines

This patch makes it possible for SIP phones to dial extensions defined with '#' characters
in extensions.conf AND maintain their escaped characters when forming URI's

(closes issue #10681, reported by cahen, patched by me, code review by file)


........

................
r89092 | mmichelson | 2007-11-07 19:18:22 -0400 (Wed, 07 Nov 2007) | 6 lines

If imapfolder has been specified in voicemail.conf, we should not connect to INBOX...
ever. It may not exist.

(closes issue #11151, reported by selsky, patched by me)


................
r89094 | tilghman | 2007-11-07 19:47:45 -0400 (Wed, 07 Nov 2007) | 15 lines

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

........
r89093 | tilghman | 2007-11-07 17:39:37 -0600 (Wed, 07 Nov 2007) | 7 lines

The member refcount must be incremented, to avoid using it after deallocation.
A huge thanks go to lvl- for patiently providing the necessary valgrind output
that was necessary to finding this problem of memory corruption.
Reported by: lvl-
Patch by: tilghman
Closes issue #11174

........

................
r89096 | file | 2007-11-07 19:55:08 -0400 (Wed, 07 Nov 2007) | 12 lines

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

........
r89095 | file | 2007-11-07 19:53:25 -0400 (Wed, 07 Nov 2007) | 4 lines

If callerid is configured in sip.conf use that for checking the presence of an extension in the dialplan.
(closes issue #11185)
Reported by: spditner

........

................
r89098 | file | 2007-11-07 21:14:31 -0400 (Wed, 07 Nov 2007) | 16 lines

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

........
r89097 | file | 2007-11-07 21:11:25 -0400 (Wed, 07 Nov 2007) | 8 lines

Add support for allowing one outgoing transaction. This means if a response comes back out of order chan_sip will still handle it. I dream of a chan_sip with real transaction support.
(closes issue #10946)
Reported by: flefoll
(closes issue #10915)
Reported by: ramonpeek
(closes issue #9567)
Reported by: atca_pres

........

................
r89100 | file | 2007-11-07 21:30:29 -0400 (Wed, 07 Nov 2007) | 14 lines

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

........
r89099 | file | 2007-11-07 21:28:56 -0400 (Wed, 07 Nov 2007) | 6 lines

Improve the devicestate logic for multiple devices. If any are available then the extension is considered available.
(closes issue #10164)
Reported by: nic_bellamy
Patches:
      sip-hinting-svn-branch-1.4.patch uploaded by nic (license 299)

........

................
r89102 | file | 2007-11-07 22:28:15 -0400 (Wed, 07 Nov 2007) | 12 lines

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

........
r89101 | file | 2007-11-07 22:26:48 -0400 (Wed, 07 Nov 2007) | 4 lines

Do not add a sip: to the beginning of the To URI unless needed.
(closes issue #10756)
Reported by: goestelecom

........

................
r89104 | tilghman | 2007-11-08 01:00:39 -0400 (Thu, 08 Nov 2007) | 10 lines

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

........
r89103 | tilghman | 2007-11-07 22:55:19 -0600 (Wed, 07 Nov 2007) | 2 lines

Typo

........

................
r89106 | kpfleming | 2007-11-08 01:28:47 -0400 (Thu, 08 Nov 2007) | 4 lines

improve linked-list macros in two ways:
  - the *_CURRENT macros no longer need the list head pointer argument
  - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists

................
r89107 | kpfleming | 2007-11-08 01:36:28 -0400 (Thu, 08 Nov 2007) | 10 lines

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

........
r89105 | kpfleming | 2007-11-08 00:26:47 -0500 (Thu, 08 Nov 2007) | 2 lines

fix a glaring bug in the new SRV record handling that would cause incorrect weight sorting

........

................
r89108 | rizzo | 2007-11-08 05:15:05 -0400 (Thu, 08 Nov 2007) | 6 lines

initialize a variable to silence compiler.
The type of warnings emitted depends on the optimization level,
at the lower levels the compiler doesn't always understand what the
programmer has in mind. In this case I could not understand it either.


................
r89109 | rizzo | 2007-11-08 05:20:05 -0400 (Thu, 08 Nov 2007) | 4 lines

use %d and cast to int instead of %zd for size_t object,
this helps portability.


................
r89110 | rizzo | 2007-11-08 05:21:02 -0400 (Thu, 08 Nov 2007) | 3 lines

use %f instead of %lf (the 'l' is ignored anyways).


................
r89112 | mmichelson | 2007-11-08 12:51:08 -0400 (Thu, 08 Nov 2007) | 3 lines

Blocking changes from previous 1.4 commit


................
r89113 | tilghman | 2007-11-08 13:28:45 -0400 (Thu, 08 Nov 2007) | 2 lines

Fix missed conversion to linkedlists macro change

................
r89114 | tilghman | 2007-11-08 13:32:15 -0400 (Thu, 08 Nov 2007) | 2 lines

Add the FILE() dialplan function and deprecate ReadFile.

................
r89116 | qwell | 2007-11-08 14:48:15 -0400 (Thu, 08 Nov 2007) | 13 lines

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

(closes issue #11195)
........
r89115 | qwell | 2007-11-08 12:45:15 -0600 (Thu, 08 Nov 2007) | 4 lines

Avoid warnings on load when using sample configuration files.

Issue 11195, patch by eliel.

........

................
r89117 | qwell | 2007-11-08 14:49:08 -0400 (Thu, 08 Nov 2007) | 1 line

Change a warning to a notice.  Issue #11195, patch by eliel
................
r89118 | kpfleming | 2007-11-08 16:39:41 -0400 (Thu, 08 Nov 2007) | 2 lines

convert this code to a more efficient idiom

................
r89120 | mmichelson | 2007-11-08 17:01:02 -0400 (Thu, 08 Nov 2007) | 15 lines

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

........
r89119 | mmichelson | 2007-11-08 15:00:08 -0600 (Thu, 08 Nov 2007) | 7 lines

Rework of the commit I made yesterday to use the already built-in
ast_uri_decode function as opposed to my home-rolled one. Also added
comments.

Thanks to oej for pointing me in the right direction


........

................
r89121 | file | 2007-11-08 17:27:37 -0400 (Thu, 08 Nov 2007) | 2 lines

Make func_env build again.

................
r89122 | mmichelson | 2007-11-08 17:31:06 -0400 (Thu, 08 Nov 2007) | 4 lines

AST_LIST_REMOVE_CURRENT takes only one argument.
Thanks to snuffy for pointing this out on IRC


................
r89123 | mmichelson | 2007-11-08 18:33:59 -0400 (Thu, 08 Nov 2007) | 5 lines

app_voicemail failed to build when compiling with IMAP_STORAGE

Now it does not.


................
r89124 | qwell | 2007-11-08 19:38:30 -0400 (Thu, 08 Nov 2007) | 4 lines

Add check_hangup() method to pbx_lua, which can be used to check whether it is time to hangup a channel.

Closes issue #11202, patch by mnicholson

................
r89126 | qwell | 2007-11-08 19:53:00 -0400 (Thu, 08 Nov 2007) | 13 lines

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

(closes issue #11203)
........
r89125 | qwell | 2007-11-08 17:52:35 -0600 (Thu, 08 Nov 2007) | 4 lines

Properly say the seconds here..

Issue 11203, fix described by vma.

........

................
r89129 | murf | 2007-11-09 12:00:22 -0400 (Fri, 09 Nov 2007) | 1 line

This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches.  I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
................
r89130 | qwell | 2007-11-09 12:32:01 -0400 (Fri, 09 Nov 2007) | 5 lines

Fix a few potential deadlocks in cdr_sqlite3_custom.
(also rename sample config to .sample)

Closes issue #11208, patch by Laureano.

................
r89132 | qwell | 2007-11-09 14:57:21 -0400 (Fri, 09 Nov 2007) | 5 lines

Add usbradio.conf.sample from branches/1.4/configs - r84162.
It was mistakenly deleted in 1.4 without ever being merged to trunk.

Reported by eliel on #asterisk-dev.

................
r89174 | crichter | 2007-11-12 08:49:19 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89169 | crichter | 2007-11-12 10:45:36 +0100 (Mo, 12 Nov 2007) | 1 line

aded ntkeepcalls option, to avoid droÃpping calls when the L2 goes down on a PTP link. There are some pbx which do turn off the L1 for a very short while and restart it immediately. normally T310 should be started and after 10 seconds or so the calls should be dropped, this is a simple fix wihtout this timer.
........

................
r89175 | crichter | 2007-11-12 09:03:00 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89170 | crichter | 2007-11-12 10:57:23 +0100 (Mo, 12 Nov 2007) | 1 line

fixed the support for CW and therefore for the reject_cause option.
........

................
r89176 | crichter | 2007-11-12 09:22:17 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89171 | crichter | 2007-11-12 12:13:13 +0100 (Mo, 12 Nov 2007) | 1 line

fixed a state/event issue with overlapdial=yes when no extension matched. removed the general sending of a RELEASE_COMPLETE when we receive a RELEASE, this is done by mISDNuser/mISDN. This makes it possible to use asterisk-1.4 with mISDN trunk, but requires users of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6 (when using the NT mode at all)
........

................
r89177 | file | 2007-11-12 09:26:45 -0400 (Mon, 12 Nov 2007) | 6 lines

Fix building on FreeBSD by including/not including some headers.
(closes issue #11218)
Reported by: ys
Patches:
      trunk89169.diff uploaded by ys (license 281)

................
r89178 | crichter | 2007-11-12 09:33:13 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89172 | crichter | 2007-11-12 12:23:57 +0100 (Mo, 12 Nov 2007) | 1 line

added restart all interfaces Restart_Indicator, to automatically send a RESTART after the L2 of a PTP Port comes up. Also fixed some places where we have send a RELEASE without need for it.
........

................
r89179 | crichter | 2007-11-12 09:36:45 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89173 | crichter | 2007-11-12 12:26:48 +0100 (Mo, 12 Nov 2007) | 1 line

if we're NT and no number was dialed and overlapdial is set, we wait for the ISDN timeout instead of starting our own timer. added a comment for the misdn.conf.sample for the overlapdial config option.
........

................
r89185 | tilghman | 2007-11-12 13:44:04 -0400 (Mon, 12 Nov 2007) | 13 lines

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

........
r89184 | tilghman | 2007-11-12 11:29:17 -0600 (Mon, 12 Nov 2007) | 5 lines

Fix two cases of memory corruption caused by background threads.
Reported by: atis
Patch by: tilghman
Fixes issue #10923

........

................
r89186 | murf | 2007-11-12 14:44:36 -0400 (Mon, 12 Nov 2007) | 1 line

Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
................
r89190 | kpfleming | 2007-11-12 16:16:13 -0400 (Mon, 12 Nov 2007) | 6 lines

(closes issue #11221)
Reported by: eliel
Patches:
      utils.Makefile.patch uploaded by eliel (modified by me) (license 64)


................
r89193 | tilghman | 2007-11-12 16:29:38 -0400 (Mon, 12 Nov 2007) | 12 lines

Blocked revisions 89191 via svnmerge

........
r89191 | tilghman | 2007-11-12 14:16:18 -0600 (Mon, 12 Nov 2007) | 5 lines

If two config writes collide, file corruption could result.  Use a mkstemp() file, instead.
Reported by: paravoid
Patch by: tilghman
Closes issue #10781

........

................
r89195 | qwell | 2007-11-12 16:48:57 -0400 (Mon, 12 Nov 2007) | 9 lines

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

........
r89194 | qwell | 2007-11-12 14:46:52 -0600 (Mon, 12 Nov 2007) | 1 line

Fix a typo pointed out by De_Mon on #asterisk-dev
........

................
r89196 | murf | 2007-11-12 16:49:27 -0400 (Mon, 12 Nov 2007) | 1 line

Thanks to snuff-work, who brought up that these fixes might need to be made.
................
r89198 | murf | 2007-11-12 17:50:02 -0400 (Mon, 12 Nov 2007) | 1 line

Thanks to snuffy for this doxygen update to hashtab.h; closes issue #11223
................
r89201 | murf | 2007-11-12 19:33:55 -0400 (Mon, 12 Nov 2007) | 1 line

Don't forget the ASTERISK_VERSION for the sake of the mtx_prof stuff.
................
r89202 | qwell | 2007-11-12 19:44:20 -0400 (Mon, 12 Nov 2007) | 5 lines

Doxygen fixes.
Also fix a common typo I kept seeing (arguement) in various files.

Closes issue #11222, patch by snuffy (with arguement > argument by me).

................
r89203 | qwell | 2007-11-12 20:19:50 -0400 (Mon, 12 Nov 2007) | 1 line

oops, somebody left out the directory here...
................
r89206 | mmichelson | 2007-11-12 20:57:34 -0400 (Mon, 12 Nov 2007) | 13 lines

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

........
r89205 | mmichelson | 2007-11-12 18:56:46 -0600 (Mon, 12 Nov 2007) | 5 lines

Some sanity checking for MixMonitor. If only 1 argument is given, then the args.options
and args.post_process strings are uninitialized and could contain garbage. This change
handles this situation properly by only using arguments that we have parsed.


........

................
r89207 | mmichelson | 2007-11-12 21:19:53 -0400 (Mon, 12 Nov 2007) | 4 lines

There is the potential to copy uninitialized memory into the mixmonitor->post_process
string. This fix prevents that.


................
r89240 | tilghman | 2007-11-13 10:03:34 -0400 (Tue, 13 Nov 2007) | 12 lines

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

........
r89239 | tilghman | 2007-11-13 07:51:53 -0600 (Tue, 13 Nov 2007) | 4 lines

Debugging is running into the 16-lock limit.  Increase to avoid.
(This define is only effective when debugging is turned on, so there's
no effect for most installations.)

........

................
r89242 | mmichelson | 2007-11-13 12:03:10 -0400 (Tue, 13 Nov 2007) | 13 lines

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

........
r89241 | mmichelson | 2007-11-13 10:02:02 -0600 (Tue, 13 Nov 2007) | 5 lines

Reverting commit made in revision 89205 since it is unnecessary.

Thanks to Kevin for pointing this out


........

................
r89247 | tilghman | 2007-11-13 13:41:02 -0400 (Tue, 13 Nov 2007) | 10 lines

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

........
r89246 | tilghman | 2007-11-13 11:34:11 -0600 (Tue, 13 Nov 2007) | 2 lines

If we set a value for qualify, we should actually pay attention to it, instead of overriding the value

........

................
r89249 | qwell | 2007-11-13 15:48:41 -0400 (Tue, 13 Nov 2007) | 16 lines

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

(closes issue #11237)
........
r89248 | qwell | 2007-11-13 13:47:45 -0600 (Tue, 13 Nov 2007) | 7 lines

Revert change from revision 67064.
It is documented behavior that if a parking extension already exists while using PARKINGEXTEN,
 dialplan execution will continue.  If blind transferring to a Park with PARKINGEXTEN, you
 must keep this in mind, and handle the failure yourself.

Issue 11237, reported by jon.

........

................
r89250 | russell | 2007-11-13 16:30:13 -0400 (Tue, 13 Nov 2007) | 9 lines

Update the ParkedCall application to grab the first available parked call if no
parked extension is provided as an argument.

(closes issue #10803)
Reported by: outtolunc
Patches: 
      res_features-parkedcall-any.diff4 uploaded by outtolunc (license 237)
	  - modified by me to work a bit differently ...

................
r89251 | russell | 2007-11-13 16:53:49 -0400 (Tue, 13 Nov 2007) | 3 lines

- Convert initialization of a struct to C99 style instead of GNU style
- Fix a minor spelling error in a comment

................
r89252 | russell | 2007-11-13 16:56:32 -0400 (Tue, 13 Nov 2007) | 2 lines

Fix a typo pointed out by outtolunc, thanks :)

................
r89253 | russell | 2007-11-13 17:01:14 -0400 (Tue, 13 Nov 2007) | 3 lines

This fixes a build error on my mac.  It also works on my linux box.  Let me
know if it breaks any other platform ...

................
r89255 | qwell | 2007-11-13 17:08:23 -0400 (Tue, 13 Nov 2007) | 12 lines

Blocked revisions 89254 via svnmerge

(closes issue #11238)
........
r89254 | qwell | 2007-11-13 15:07:08 -0600 (Tue, 13 Nov 2007) | 4 lines

Fix building on newer systems which require a third arg to open() when using O_CREAT.

Issue 11238, reported by puzzled.

........

................
r89256 | murf | 2007-11-13 17:19:11 -0400 (Tue, 13 Nov 2007) | 1 line

closes issue #11233 -- where some fine points in the algorithm to build the tree needed to be corrected. Many thanks for the test case, jtodd
................
r89257 | murf | 2007-11-13 19:43:41 -0400 (Tue, 13 Nov 2007) | 1 line

This hopefully will fix the re-opened 11233. Hadn't covered the case of a context with no patterns. (blush)
................
r89258 | russell | 2007-11-13 20:33:52 -0400 (Tue, 13 Nov 2007) | 4 lines

- Simplify removing an item from a list
- move a verbose message to after the item is added to the list
- make use of the ARRAY_LEN macro in one spot

................
r89259 | kpfleming | 2007-11-13 20:54:38 -0400 (Tue, 13 Nov 2007) | 2 lines

use simpler technique for removing known entries from lists

................
r89261 | russell | 2007-11-13 21:15:26 -0400 (Tue, 13 Nov 2007) | 2 lines

Convert most of the strings in the call_queue struct to use stringfields.

................
r89262 | file | 2007-11-13 21:16:50 -0400 (Tue, 13 Nov 2007) | 12 lines

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

........
r89260 | file | 2007-11-13 21:15:12 -0400 (Tue, 13 Nov 2007) | 4 lines

Return the proper value when the srv_callback function executes properly.
(closes issue #11240)
Reported by: jtodd

........

................
r89263 | russell | 2007-11-13 21:35:28 -0400 (Tue, 13 Nov 2007) | 3 lines

Instead of reserving 800 bytes for periodic announcements, use an array of
ast_str pointers and only alloate space for the strings as needed.

................
r89264 | russell | 2007-11-13 21:40:47 -0400 (Tue, 13 Nov 2007) | 2 lines

Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy

................
r89265 | russell | 2007-11-13 22:57:13 -0400 (Tue, 13 Nov 2007) | 3 lines

- Use the ARRAY_LEN macro in a couple places
- return errors from load_module / unload_module

................
r89266 | russell | 2007-11-13 23:22:09 -0400 (Tue, 13 Nov 2007) | 6 lines

Fix up various coding guidelines issues ...
 - handle memory allocation failures
 - add an ast_ prefix to a publicly exported function
 - put curly braces in the right places
 - add a bunch of spaces where they should be be used

................
r89268 | rizzo | 2007-11-14 09:18:40 -0400 (Wed, 14 Nov 2007) | 18 lines

make the 'name' and 'value' fields in ast_variable const char *
 
This prevents modifying the strings in the stored variables, 
and catched a few instances where this was actually done.

Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are

chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049

I may have missed some instances for modules that do not build here.


................
r89269 | tilghman | 2007-11-14 10:46:45 -0400 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89270 | tilghman | 2007-11-14 11:13:22 -0400 (Wed, 14 Nov 2007) | 2 lines

One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters

................
r89271 | murf | 2007-11-14 11:43:30 -0400 (Wed, 14 Nov 2007) | 1 line

A further problem highlighted by 11233 has been resolved; a certain combination of patterns in a certain order, led to a malformed trie, due to a ptr not being initialized in the loop. Also, some tree printing prettifications.
................
r89272 | murf | 2007-11-14 14:05:50 -0400 (Wed, 14 Nov 2007) | 1 line

Rescaled the weights of the patterns to give something more independent of pattern length; and make . less likely to win. Question: which should win for 14102241145-- _1xxxxxxx.   or  _XXXXXXXXXXX  -- right now, the pure X pattern will win.
................
r89273 | tilghman | 2007-11-14 18:59:05 -0400 (Wed, 14 Nov 2007) | 5 lines

Add callerid to the Hangup manager event.
Reported by: outtolunc
Patch by: outtolunc
Closes issue #11248

................
r89274 | tilghman | 2007-11-14 19:08:54 -0400 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89276 | tilghman | 2007-11-14 20:01:22 -0400 (Wed, 14 Nov 2007) | 13 lines

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

........
r89275 | tilghman | 2007-11-14 17:23:58 -0600 (Wed, 14 Nov 2007) | 5 lines

When a recording ends with '#', we are improperly trimming an extra 200ms from the recording.
Reported by: sim
Patch by: tilghman
Closes issue #11247

........

................
r89277 | murf | 2007-11-14 21:42:12 -0400 (Wed, 14 Nov 2007) | 1 line

Had trouble playing with parking; spent a long time trying to reason out MATCHMORE mode. made these updates and xfers on zaptel lines seem to work ok now
................
r89278 | oej | 2007-11-15 06:21:41 -0400 (Thu, 15 Nov 2007) | 8 lines

Add support for application/dtmf SIP INFO dtmf handling. Yep, another
way of handling DTMF in SIP. Totally undocumented, but implemented
in enough devices so we have to support it. 

Code by sergee, small changes by oej.

Closes issue #11049

................
r89279 | oej | 2007-11-15 06:26:00 -0400 (Thu, 15 Nov 2007) | 2 lines

Exit early instead of deciding to exit after processing the message.

................
r89282 | oej | 2007-11-15 07:27:19 -0400 (Thu, 15 Nov 2007) | 13 lines

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

........
r89280 | oej | 2007-11-15 12:15:09 +0100 (Tor, 15 Nov 2007) | 5 lines

Improve support for multipart messages. Code by gasparz, changes
by me (mostly formatting). Thanks, gasparz!

Closes issue #10947

........

................
r89283 | oej | 2007-11-15 07:31:27 -0400 (Thu, 15 Nov 2007) | 14 lines

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

........
r89281 | oej | 2007-11-15 12:26:22 +0100 (Tor, 15 Nov 2007) | 6 lines

Don't send re-invites during pending INVITE transactions.

Patch by one47 - thanks!

Closes issue #9305

........

................
r89285 | oej | 2007-11-15 08:21:57 -0400 (Thu, 15 Nov 2007) | 5 lines

Always relying on the responses when crossing NAT's are not a good
solution, it breaks communication.
Rizzo - you need to implement a configuration option for this 
code. It's good, but maybe should be off by default.

................
r89287 | mmichelson | 2007-11-15 10:55:35 -0400 (Thu, 15 Nov 2007) | 12 lines

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

........
r89286 | mmichelson | 2007-11-15 08:54:10 -0600 (Thu, 15 Nov 2007) | 4 lines

Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)

........

................
r89289 | mmichelson | 2007-11-15 10:58:30 -0400 (Thu, 15 Nov 2007) | 11 lines

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

........
r89288 | mmichelson | 2007-11-15 08:57:28 -0600 (Thu, 15 Nov 2007) | 3 lines

Undoing previous commit since I realize it was wrong


........

................
r89290 | file | 2007-11-15 11:21:04 -0400 (Thu, 15 Nov 2007) | 2 lines

And file said... let trunk build again! Accomplished by some more constification, and marking a function in chan_sip as purposely unused until it is fixed up.

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

Removed:
    team/file/bridging/configs/cdr_sqlite3_custom.conf
Modified:
    team/file/bridging/   (props changed)
    team/file/bridging/CHANGES
    team/file/bridging/Makefile
    team/file/bridging/apps/app_amd.c
    team/file/bridging/apps/app_chanisavail.c
    team/file/bridging/apps/app_chanspy.c
    team/file/bridging/apps/app_dial.c
    team/file/bridging/apps/app_directed_pickup.c
    team/file/bridging/apps/app_directory.c
    team/file/bridging/apps/app_exec.c
    team/file/bridging/apps/app_festival.c
    team/file/bridging/apps/app_followme.c
    team/file/bridging/apps/app_forkcdr.c
    team/file/bridging/apps/app_getcpeid.c
    team/file/bridging/apps/app_macro.c
    team/file/bridging/apps/app_meetme.c
    team/file/bridging/apps/app_minivm.c
    team/file/bridging/apps/app_mixmonitor.c
    team/file/bridging/apps/app_morsecode.c
    team/file/bridging/apps/app_mp3.c

[... 10639 lines stripped ...]



More information about the asterisk-commits mailing list