[asterisk-commits] marta: branch marta/astobj2 r82059 - in /team/marta/astobj2: ./ apps/ channel...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 9 16:15:14 CDT 2007


Author: marta
Date: Sun Sep  9 16:15:12 2007
New Revision: 82059

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82059
Log:
Merged revisions 81361-81365,81368,81370,81372,81376-81378,81380,81382,81384,81387-81391,81393-81394,81396,81398,81400,81402,81404,81407-81408,81411,81413,81417,81419,81427,81430-81432,81434,81436,81438,81440-81441,81443,81445,81449,81452,81454,81456,81459,81493,81519,81522,81524,81526,81535,81560,81568,81600-81601,81631-81632,81651,81683,81712,81730,81742,81744-81745,81777,81779,81781-81785,81813-81814,81827,81839,81849,81858,81873,81891,81910,81924,81953,81984,81998-81999,82029 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r81361 | murf | 2007-08-29 22:55:40 +0200 (Wed, 29 Aug 2007) | 1 line

This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly.  Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, unique
 ly named. There's probably more, but I can't remember it right now.
................
r81362 | russell | 2007-08-29 23:25:07 +0200 (Wed, 29 Aug 2007) | 1 line

make trunk build again.  murf will have to review this to see if it was the right fix, as it is related to his last change.
................
r81363 | murf | 2007-08-29 23:30:26 +0200 (Wed, 29 Aug 2007) | 1 line

init newer so compile won't complain.
................
r81364 | file | 2007-08-29 23:55:15 +0200 (Wed, 29 Aug 2007) | 2 lines

Make the event header file work under C++.

................
r81365 | mmichelson | 2007-08-30 00:05:37 +0200 (Thu, 30 Aug 2007) | 3 lines

Added the MEMBERREALTIME variable when using setinterfacevar in queues.conf


................
r81368 | crichter | 2007-08-30 10:50:44 +0200 (Thu, 30 Aug 2007) | 19 lines

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

........
r81367 | crichter | 2007-08-30 10:31:59 +0200 (Do, 30 Aug 2007) | 11 lines

Fixed a severe issue where a misdn_read would lock the channel, but read would
not return because it blocks. later chan_misdn would try to queue a frame like
a AST_CONTROL_ANSWER which could result in a deadlock situation. misdn_read
will now not block forever anymore, and we don't queue the ANSWER frame at all
when we already was called with misdn_answer -> answer would be called twice.

Also we don't explicitly send a RELEASE_COMPLETE on receiption of a RELEASE
anymore, because mISDN does that for us, this resulted in a problem on some
switches, which would block our port after some calls for a short while.


........

................
r81370 | file | 2007-08-30 16:26:05 +0200 (Thu, 30 Aug 2007) | 12 lines

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

........
r81369 | file | 2007-08-30 11:23:40 -0300 (Thu, 30 Aug 2007) | 4 lines

(issue #10599)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

........

................
r81372 | file | 2007-08-30 16:42:41 +0200 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10603)
Reported by: jmls
Patches:
      pbx.diff uploaded by jmls (license 141)
Add REASON dialplan variable for when an originated call fails and the failed extension is executed.

................
r81376 | crichter | 2007-08-30 16:54:30 +0200 (Thu, 30 Aug 2007) | 9 lines

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

........
r81373 | crichter | 2007-08-30 16:43:33 +0200 (Do, 30 Aug 2007) | 1 line

Fixed some warnings.
........

................
r81377 | file | 2007-08-30 16:55:25 +0200 (Thu, 30 Aug 2007) | 13 lines

Blocked revisions 81375 via svnmerge

........
r81375 | file | 2007-08-30 11:53:43 -0300 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10603)
Reported by: jmls
Patches:
      pbx.diff uploaded by jmls (license 141)
Backport changes from 81372. Add REASON dialplan variable for when an originated call fails and the failed extension is executed.

........

................
r81378 | tilghman | 2007-08-30 17:24:54 +0200 (Thu, 30 Aug 2007) | 2 lines

Add ReadExten app and VALID_EXTEN function (closes issue #10082)

................
r81380 | russell | 2007-08-30 17:34:18 +0200 (Thu, 30 Aug 2007) | 11 lines

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

........
r81379 | russell | 2007-08-30 10:33:48 -0500 (Thu, 30 Aug 2007) | 3 lines

Fix a typo, update a reload command, and remove an unused configuration file.
(closes issue #10606, casper)

........

................
r81382 | mmichelson | 2007-08-30 17:36:43 +0200 (Thu, 30 Aug 2007) | 11 lines

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

........
r81381 | mmichelson | 2007-08-30 10:35:51 -0500 (Thu, 30 Aug 2007) | 3 lines

Changed some manager event messages to reflect whether a queue member is a realtime member or not


........

................
r81384 | russell | 2007-08-30 17:40:18 +0200 (Thu, 30 Aug 2007) | 11 lines

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

........
r81383 | russell | 2007-08-30 10:38:29 -0500 (Thu, 30 Aug 2007) | 3 lines

Add missing checks for the PTRACING define.
(closes issue #10559, paravoid)

........

................
r81387 | tilghman | 2007-08-30 19:51:46 +0200 (Thu, 30 Aug 2007) | 2 lines

Always force reread of the config when we're rotating the log file (closes issue #10598)

................
r81388 | mmichelson | 2007-08-30 20:52:44 +0200 (Thu, 30 Aug 2007) | 4 lines

Added note to sample queues.conf file to line up with most recent change regarding setinterfacevar.
MEMBERREALTIME indicates whether a member is realtime.


................
r81389 | tilghman | 2007-08-30 21:43:36 +0200 (Thu, 30 Aug 2007) | 2 lines

Change wording as requested by Kevin

................
r81390 | tilghman | 2007-08-30 22:31:45 +0200 (Thu, 30 Aug 2007) | 2 lines

A schedule id of 0 is not possible and is used to flag that we want to add a new item

................
r81391 | file | 2007-08-30 22:55:19 +0200 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10336)
Reported by: junky
Patches:
      minivm_output2.diff uploaded by junky (license 177)
Change console output of minivm show stats to be more simple for external parsing.

................
r81393 | murf | 2007-08-30 23:16:20 +0200 (Thu, 30 Aug 2007) | 9 lines

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

........
r81392 | murf | 2007-08-30 15:11:48 -0600 (Thu, 30 Aug 2007) | 1 line

via issue 10599, where 'CDR already initialized' messages are being generated. Since all channels will have an init'd CDR attached at creation time, this message is now particularly useless. Removed.
........

................
r81394 | file | 2007-08-30 23:17:21 +0200 (Thu, 30 Aug 2007) | 4 lines

(closes issue #10565)
Reported by: tootai
Make sure the external IP address has the standard SIP port set for when the user does not specify the port in the externip setting.

................
r81396 | file | 2007-08-30 23:25:52 +0200 (Thu, 30 Aug 2007) | 14 lines

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

........
r81395 | file | 2007-08-30 18:23:50 -0300 (Thu, 30 Aug 2007) | 6 lines

(closes issue #10514)
Reported by: casper
Patches:
      chan_sip.c.80129.diff uploaded by casper (license 55)
Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible for it to ever be that value.

........

................
r81398 | mmichelson | 2007-08-31 00:08:51 +0200 (Fri, 31 Aug 2007) | 15 lines

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

........
r81397 | mmichelson | 2007-08-30 17:05:56 -0500 (Thu, 30 Aug 2007) | 7 lines

Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the 
streaming functions will report it. Secondly, not all non-zero returns from play_file mean that the announce file
wasn't found. Positive return values simply mean that a digit was pressed (most likely to skip through the announcement).

(closes issue #10612, reported and patched by dimas)


........

................
r81400 | tilghman | 2007-08-31 01:52:32 +0200 (Fri, 31 Aug 2007) | 2 lines

Add new queryable fields from zaptel to 'zap show status'

................
r81402 | file | 2007-08-31 01:55:39 +0200 (Fri, 31 Aug 2007) | 12 lines

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

........
r81401 | file | 2007-08-30 20:53:41 -0300 (Thu, 30 Aug 2007) | 4 lines

(closes issue #10009)
Reported by: dimas
Don't output a bridge failed warning message if it failed because one of the channels was part of the masquerade process. That is perfectly normal.

........

................
r81404 | file | 2007-08-31 16:40:21 +0200 (Fri, 31 Aug 2007) | 12 lines

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

........
r81403 | file | 2007-08-31 11:38:59 -0300 (Fri, 31 Aug 2007) | 4 lines

(closes issue #10618)
Reported by: dimas
Don't pass through the stopped sounds frame.... just drop it.

........

................
r81407 | file | 2007-08-31 17:54:32 +0200 (Fri, 31 Aug 2007) | 10 lines

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

........
r81406 | file | 2007-08-31 12:53:16 -0300 (Fri, 31 Aug 2007) | 2 lines

Make it the engine's responsible to check for the presence of results.

........

................
r81408 | kpfleming | 2007-08-31 17:58:31 +0200 (Fri, 31 Aug 2007) | 10 lines

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

........
r81405 | kpfleming | 2007-08-31 10:51:45 -0500 (Fri, 31 Aug 2007) | 2 lines

add missing "transcoder show" (and deprecated "show transcoder") CLI commands that were in 1.2 but never added to 1.4

........

................
r81411 | phsultan | 2007-08-31 19:43:50 +0200 (Fri, 31 Aug 2007) | 11 lines

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

........
r81410 | phsultan | 2007-08-31 19:38:26 +0200 (Fri, 31 Aug 2007) | 3 lines

Make the 'gtalk show channels' CLI command available.

Closes issue 10548, reported by keepitcool.
........

................
r81413 | qwell | 2007-08-31 20:46:02 +0200 (Fri, 31 Aug 2007) | 13 lines

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

(closes issue #10621)
........
r81412 | qwell | 2007-08-31 13:44:44 -0500 (Fri, 31 Aug 2007) | 4 lines

Re-order dial options to be in line with the existing alpha order.

Issue 10621, initial patch by junky

........

................
r81417 | mmichelson | 2007-08-31 21:50:26 +0200 (Fri, 31 Aug 2007) | 14 lines

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

........
r81416 | mmichelson | 2007-08-31 14:48:55 -0500 (Fri, 31 Aug 2007) | 6 lines

Fixed broken behavior of a reload on realtime queues. Prior to this patch, if a reload was issued and
a realtime queue had callers waiting in it, then the queue would be removed from the queue list, but it would
not actually be freed (in fact, a debug message warning about a memory leak would come up). With this patch,
reloads do not touch realtime queues at all.


........

................
r81419 | russell | 2007-08-31 23:29:25 +0200 (Fri, 31 Aug 2007) | 10 lines

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

........
r81418 | russell | 2007-08-31 16:27:49 -0500 (Fri, 31 Aug 2007) | 2 lines

Remove references to a debugging parameter that does not exist

........

................
r81427 | mmichelson | 2007-09-01 08:03:22 +0200 (Sat, 01 Sep 2007) | 12 lines

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

........
r81426 | mmichelson | 2007-09-01 01:02:06 -0500 (Sat, 01 Sep 2007) | 4 lines

Making match_by_addr into ao2_match_by_addr and making it available
everywhere since it could be a handy callback to have


........

................
r81430 | tilghman | 2007-09-02 16:37:53 +0200 (Sun, 02 Sep 2007) | 2 lines

We shouldn't use a filename blindly without checking to make sure it's unused first

................
r81431 | tilghman | 2007-09-03 05:01:31 +0200 (Mon, 03 Sep 2007) | 10 lines

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

........
r81415 | tilghman | 2007-08-31 14:16:52 -0500 (Fri, 31 Aug 2007) | 2 lines

The IF() function was not allowing true values that had embedded colons (closes issue #10613)

........

................
r81432 | tilghman | 2007-09-03 20:01:58 +0200 (Mon, 03 Sep 2007) | 2 lines

Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)

................
r81434 | russell | 2007-09-03 20:59:08 +0200 (Mon, 03 Sep 2007) | 13 lines

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

........
r81433 | russell | 2007-09-03 13:57:53 -0500 (Mon, 03 Sep 2007) | 5 lines

Remove a couple of calls to ast_string_field_free_pools() on peers in error
handling blocks in the code for building peers.  The peer object destructor
does this and doing it twice will cause a crash.
(closes issue #10625, reported by and patched by pnlarsson)

........

................
r81436 | file | 2007-09-04 15:11:49 +0200 (Tue, 04 Sep 2007) | 15 lines

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

........
r81435 | file | 2007-09-04 10:10:56 -0300 (Tue, 04 Sep 2007) | 7 lines

(closes issue #10610)
Reported by: john
Patches:
      dns.c.patch uploaded by john (license 218)
Tested by: mvanbaak
Don't return a match if no SRV record actually exists.

........

................
r81438 | file | 2007-09-04 15:47:33 +0200 (Tue, 04 Sep 2007) | 12 lines

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

........
r81437 | file | 2007-09-04 10:46:23 -0300 (Tue, 04 Sep 2007) | 4 lines

(closes issue #10476)
Reported by: mdu113
Only look for the end of a digit when waiting for a digit. This in turn disables emulation in the core.

........

................
r81440 | file | 2007-09-04 16:25:21 +0200 (Tue, 04 Sep 2007) | 14 lines

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

........
r81439 | file | 2007-09-04 11:23:18 -0300 (Tue, 04 Sep 2007) | 6 lines

(closes issue #10632)
Reported by: jamesgolovich
Patches:
      asterisk-iaxfirmwareleak.diff.txt uploaded by jamesgolovich (license 176)
Fix memory leak when unloading chan_iax2. The firmware files were not being freed.

........

................
r81441 | file | 2007-09-04 16:28:13 +0200 (Tue, 04 Sep 2007) | 6 lines

(closes issue #10633)
Reported by: pabelanger
Patches:
      extensions.ael.sample.patch uploaded by pabelanger (license 224)
Update extensions.ael.sample with voicemail and | changes.

................
r81443 | kpfleming | 2007-09-04 18:41:14 +0200 (Tue, 04 Sep 2007) | 10 lines

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

........
r81442 | kpfleming | 2007-09-04 11:40:39 -0500 (Tue, 04 Sep 2007) | 2 lines

there is no point in sending 401 Unauthorized to a UAS that sent us a properly-formatted Authentication header with the expected username and nonce but an incorrect response (which indicates the shared secret does not match)... instead, let's send 403 Forbidden so that the UAS doesn't retry with the same authentication credentials repeatedly

........

................
r81445 | russell | 2007-09-04 20:02:02 +0200 (Tue, 04 Sep 2007) | 2 lines

logger.h depends on options.h, so go ahead and include it

................
r81449 | russell | 2007-09-04 20:40:07 +0200 (Tue, 04 Sep 2007) | 12 lines

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

........
r81448 | russell | 2007-09-04 13:37:44 -0500 (Tue, 04 Sep 2007) | 4 lines

Remove the typedefs on ao2_container and ao2_iterator.  This is simply because
we don't typedef objects anywhere else in Asterisk, so we might as well make
this follow the same convention.

........

................
r81452 | russell | 2007-09-04 21:51:37 +0200 (Tue, 04 Sep 2007) | 4 lines

Don't check for and include strlcpy and strlcat in editline.  We also include
them directly in Asterisk.  For platforms that need them (like my mac), you
will get a linker error due to the functions being included twice.

................
r81454 | qwell | 2007-09-04 21:56:46 +0200 (Tue, 04 Sep 2007) | 13 lines

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

(closes issue #10644)
........
r81453 | qwell | 2007-09-04 14:56:06 -0500 (Tue, 04 Sep 2007) | 4 lines

Change default followme config file to point to the correct files.

Issue 10644, patch by pabelanger

........

................
r81456 | qwell | 2007-09-04 22:59:04 +0200 (Tue, 04 Sep 2007) | 13 lines

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

(closes issue #10634)
........
r81455 | qwell | 2007-09-04 15:54:51 -0500 (Tue, 04 Sep 2007) | 4 lines

Rather than attempt to play a file, we can just check whether it exists.

Issue 10634, patch by me, testing by pabelanger, sanity checked by bweschke

........

................
r81459 | file | 2007-09-05 02:53:14 +0200 (Wed, 05 Sep 2007) | 2 lines

Finish up commit from revision 81452 by removing last remnants of strlcat/strlcpy checks.

................
r81493 | file | 2007-09-05 15:13:02 +0200 (Wed, 05 Sep 2007) | 11 lines

Blocked revisions 81492 via svnmerge

........
r81492 | file | 2007-09-05 10:11:48 -0300 (Wed, 05 Sep 2007) | 4 lines

(closes issue #10650)
Reported by: tacvbo
Only print out that the spy was removed while holding the spy lock.

........

................
r81519 | murf | 2007-09-05 16:47:45 +0200 (Wed, 05 Sep 2007) | 1 line

this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
................
r81522 | mmichelson | 2007-09-05 17:04:50 +0200 (Wed, 05 Sep 2007) | 14 lines

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

........
r81520 | mmichelson | 2007-09-05 10:03:22 -0500 (Wed, 05 Sep 2007) | 6 lines

Reverting behavior of QUEUE_MEMBER_COUNT to only count members who are logged in
and available.

(related to issue #10652, reported by wuwu)


........

................
r81524 | qwell | 2007-09-05 17:16:50 +0200 (Wed, 05 Sep 2007) | 14 lines

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

(closes issue #10651)
........
r81523 | qwell | 2007-09-05 10:14:30 -0500 (Wed, 05 Sep 2007) | 5 lines

Do not try to unregister a NULL channel tech.
Also changed load_module function to use defines rather than numbers for return values.

Issue 10651, patch by rbraun_proformatique, with additions by me.

........

................
r81526 | mmichelson | 2007-09-05 17:23:57 +0200 (Wed, 05 Sep 2007) | 12 lines

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

........
r81525 | mmichelson | 2007-09-05 10:19:47 -0500 (Wed, 05 Sep 2007) | 4 lines

Fixing the build...



........

................
r81535 | mmichelson | 2007-09-05 17:32:58 +0200 (Wed, 05 Sep 2007) | 4 lines

Weird. When I merged my changes from 1.4, they merged into the wrong function.
This should fix the build for trunk.


................
r81560 | qwell | 2007-09-05 18:31:39 +0200 (Wed, 05 Sep 2007) | 4 lines

Doxygen cleanups/fixes.

Closes issue #10654, patch by snuffy

................
r81568 | tilghman | 2007-09-05 18:48:43 +0200 (Wed, 05 Sep 2007) | 2 lines

Add two more generated files (requested by mvanbaak via irc)

................
r81600 | russell | 2007-09-05 22:58:19 +0200 (Wed, 05 Sep 2007) | 19 lines

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

........
r81599 | russell | 2007-09-05 15:53:41 -0500 (Wed, 05 Sep 2007) | 11 lines

Fix an issue that can occur when you do an attended transfer to parking.  If
you complete the transfer before the announcement of the parking spot finishes,
then the channel being parked will hear the remainder of the announcement.
These changes make it so that will not happen anymore.

Basically, res_features sets a flag on the channel is playing the announcement
to so that the file streaming core knows that it needs to watch out for a
channel masquerade, and if it occurs, to abort the announcement.

(closes BE-182)

........

................
r81601 | dhubbard | 2007-09-05 22:58:48 +0200 (Wed, 05 Sep 2007) | 1 line

added ZAPATELLERSTATUS to app_zapateller
................
r81631 | tilghman | 2007-09-05 23:45:19 +0200 (Wed, 05 Sep 2007) | 10 lines

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

........
r81569 | tilghman | 2007-09-05 12:18:24 -0500 (Wed, 05 Sep 2007) | 2 lines

Solaris x86 compatibility fix

........

................
r81632 | mmichelson | 2007-09-05 23:59:52 +0200 (Wed, 05 Sep 2007) | 5 lines

Not having this epoll specific code in wait_for_answer was causing app_queue to infinitely loop.
This makes it so it doesn't. Thanks to file for pointing out where the problem was and showing
a similar function in app_dial as an example of how to fix it.


................
r81651 | phsultan | 2007-09-06 16:24:29 +0200 (Thu, 06 Sep 2007) | 11 lines

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

........
r81650 | phsultan | 2007-09-06 16:20:54 +0200 (Thu, 06 Sep 2007) | 3 lines

According to both RFC 3920 - section 9.1.2 - and Google's XMPP server
complaint, if set, the 'from' attribute must be set to the user's full
JID.
........

................
r81683 | mmichelson | 2007-09-06 17:21:45 +0200 (Thu, 06 Sep 2007) | 13 lines

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

........
r81682 | mmichelson | 2007-09-06 10:20:36 -0500 (Thu, 06 Sep 2007) | 5 lines

Fixes a memory leak

(closes issue #10658, reported and patched by Ivan)


........

................
r81712 | rizzo | 2007-09-06 17:43:49 +0200 (Thu, 06 Sep 2007) | 8 lines

various changes to the documentation, and redefinition of
ao2_hash_fn and ao2_callback_fn typedefs, in preparation
to more cleanup of the _search_flags

Please do not merge this change to 1.4 yet - there are no
functional changes anyways.


................
r81730 | mmichelson | 2007-09-06 18:31:30 +0200 (Thu, 06 Sep 2007) | 14 lines

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

........
r81713 | mmichelson | 2007-09-06 11:25:40 -0500 (Thu, 06 Sep 2007) | 6 lines

Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone
was ringing.

(closes issue #10655, reported by strider2k, patched by me)


........

................
r81742 | mattf | 2007-09-06 18:38:54 +0200 (Thu, 06 Sep 2007) | 1 line

Patch on 10575.  Add support for unequipped CIC (UCIC) message as well as improve some of our CIC flags in chan_zap
................
r81744 | tilghman | 2007-09-06 18:57:20 +0200 (Thu, 06 Sep 2007) | 2 lines

Incorporate the ability to log output of safe_asterisk to syslog (closes issue #9882)

................
r81745 | phsultan | 2007-09-06 19:00:58 +0200 (Thu, 06 Sep 2007) | 9 lines

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

........
r81743 | phsultan | 2007-09-06 18:56:29 +0200 (Thu, 06 Sep 2007) | 1 line

Various string length fixes. Removed an unused variable in aji_client structure (context)
........

................
r81777 | file | 2007-09-06 21:43:20 +0200 (Thu, 06 Sep 2007) | 15 lines

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

........
r81776 | file | 2007-09-06 16:40:37 -0300 (Thu, 06 Sep 2007) | 7 lines

(closes issue #10122)
Reported by: stevefeinstein
Patches:
      meetme-unmute-manager.diff uploaded by qwell (license 4)
Tested by: stevefeinstein
After looking over the code I agree with Qwell. Setting the file descriptor to conference each time just causes a fight back and forth.

........

................
r81779 | qwell | 2007-09-06 22:00:08 +0200 (Thu, 06 Sep 2007) | 10 lines

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

........
r81778 | qwell | 2007-09-06 14:59:07 -0500 (Thu, 06 Sep 2007) | 2 lines

This should fix a build issue that people building against uClibc were seeing with the addition of astobj2

........

................
r81781 | russell | 2007-09-06 22:05:50 +0200 (Thu, 06 Sep 2007) | 2 lines

Fix the syntax of declaring a hint with a name to be compatible with trunk

................
r81782 | file | 2007-09-06 22:16:02 +0200 (Thu, 06 Sep 2007) | 6 lines

(closes issue #10377)
Reported by: mvanbaak
Patches:
      chan_skinny_info.diff uploaded by mvanbaak (license 7)
Add skinny show device, skinny show line, and skinny show settings CLI commands.

................
r81783 | russell | 2007-09-06 22:24:18 +0200 (Thu, 06 Sep 2007) | 4 lines

Merge HINT() dialplan function from my sandbox branch into trunk.  This function
will let you retrieve the list of devices or name associated with a hint.
(inspired by issue #10635)

................
r81784 | russell | 2007-09-06 22:27:26 +0200 (Thu, 06 Sep 2007) | 4 lines

Rename the DEVSTATE() function to DEVICE_STATE() to better conform to how other
functions are named.
(inspired by issue #10635)

................
r81785 | russell | 2007-09-06 22:27:53 +0200 (Thu, 06 Sep 2007) | 2 lines

s/DEVSTATE/DEVICE_STATE/

................
r81813 | russell | 2007-09-06 22:54:07 +0200 (Thu, 06 Sep 2007) | 5 lines

Add EXTENSION_STATE() function that can retrieve the state of an extension that
has a hint.

(closes issue #10635, adamgundy)

................
r81814 | file | 2007-09-06 23:01:10 +0200 (Thu, 06 Sep 2007) | 2 lines

Initialize iax_frames variable to NULL, keeps valgrind happy.

................
r81827 | qwell | 2007-09-07 00:06:17 +0200 (Fri, 07 Sep 2007) | 9 lines

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

........
r81826 | qwell | 2007-09-06 17:05:02 -0500 (Thu, 06 Sep 2007) | 1 line

We added COPTS for ASTCFLAGS additions, but not LDOPTS for ASTLDFLAGS.  This adds LDOPTS
........

................
r81839 | russell | 2007-09-07 00:30:15 +0200 (Fri, 07 Sep 2007) | 24 lines

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

........
r81832 | russell | 2007-09-06 17:28:57 -0500 (Thu, 06 Sep 2007) | 16 lines

(closes issue #9724, closes issue #10374)
Reported by: kenw
Patches:
      9724.txt uploaded by russell (license 2)
Tested by: kenw, russell

Resolve a deadlock that occurs when doing a SIP transfer to parking.  

I come across this type of deadlock fairly often it seems.  It is very important
to mind the boundary between the channel driver and the core in respect to the
channel lock and the channel-pvt lock.  Channel drivers lock to lock the
pvt and then the channel once it calls into the core, while the core will do
it in the opposite order.  The way this is avoided is by having channel drivers
either release their pvt lock while calling into the core, or such as in this
case, unlocking the pvt just long enough to acquire the channel lock.

........

................
r81849 | russell | 2007-09-07 00:32:03 +0200 (Fri, 07 Sep 2007) | 1 line

fix the build ... oops
................
r81858 | file | 2007-09-07 00:34:44 +0200 (Fri, 07 Sep 2007) | 2 lines

Fix memory issue that crept up with Russell's testing. It is *not* proper to free the frame we get in ast_write.

................
r81873 | file | 2007-09-07 14:32:04 +0200 (Fri, 07 Sep 2007) | 2 lines

Don't check for epoll support when cross compiling.

................
r81891 | mmichelson | 2007-09-07 17:29:23 +0200 (Fri, 07 Sep 2007) | 11 lines

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

........
r81886 | mmichelson | 2007-09-07 10:25:19 -0500 (Fri, 07 Sep 2007) | 3 lines

Moving the explanation for joinempty to a more appropriate place


........

................
r81910 | qwell | 2007-09-07 18:13:57 +0200 (Fri, 07 Sep 2007) | 4 lines

Add an optional reason parameter to PauseQueueMember/UnpauseQueueMember applications and manager events.

Issue 8738, patch by rgollent

................
r81924 | qwell | 2007-09-07 21:53:30 +0200 (Fri, 07 Sep 2007) | 14 lines

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

(closes issue #10671)
........
r81923 | qwell | 2007-09-07 14:48:00 -0500 (Fri, 07 Sep 2007) | 5 lines

Allow the MEMBERINTERFACE variable to be used as the mixmonitor filename.
This moves the setting of the MEMBERINTERFACE variable to before mixmonitor.

Issue 10671, patch by sim.

........

................
r81953 | russell | 2007-09-08 15:45:40 +0200 (Sat, 08 Sep 2007) | 19 lines

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

........
r81952 | russell | 2007-09-08 08:42:26 -0500 (Sat, 08 Sep 2007) | 11 lines

(closes issue #10672)
Bump the cleancount so that a "make clean" will be forced.  This is needed
because my fix in revision 81599 made a change to a data structure in file.h,
and since file dependency tracking is only on with dev-mode enabled, file
format modules that don't get rebuilt may crash, as is the case with this issue.

This makes me wonder - how much faster does the code build without the file
dependency tracking enabled?  If it doesn't make much of a difference, then it
may be worth just keeping it on all of the time, or perhaps just not in release
tarballs, so that this type of issue is avoided.

........

................
r81984 | mmichelson | 2007-09-08 18:37:35 +0200 (Sat, 08 Sep 2007) | 5 lines

Make Callerid more consistent in IMAP mail headers

(closes issue #10056, reported and patched by jaroth, with small modification
by me)

................
r81998 | russell | 2007-09-08 20:45:51 +0200 (Sat, 08 Sep 2007) | 10 lines

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

........
r81997 | russell | 2007-09-08 13:41:32 -0500 (Sat, 08 Sep 2007) | 2 lines

Fix a small memory leak.  ast_unregister_atexit() did not free the entry it removed.

........

................
r81999 | russell | 2007-09-08 21:01:20 +0200 (Sat, 08 Sep 2007) | 4 lines

Add doxygen documentation for slinfactory_destroy(), mainly just noting that
it doesn't free the slinfactory itself.  (This isn't related to a bug, i'm just
looking over random code)

................
r82029 | tilghman | 2007-09-09 04:45:06 +0200 (Sun, 09 Sep 2007) | 10 lines

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

........
r82028 | tilghman | 2007-09-08 21:35:18 -0500 (Sat, 08 Sep 2007) | 2 lines

Fix inline compiles on really old compilers (who uses gcc 2.7 anymore, really?) (closes issue #10675)

........

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

Added:
    team/marta/astobj2/apps/app_readexten.c
      - copied unchanged from r82029, trunk/apps/app_readexten.c
    team/marta/astobj2/funcs/func_extstate.c
      - copied unchanged from r82029, trunk/funcs/func_extstate.c
Removed:
    team/marta/astobj2/configs/modem.conf.sample
Modified:
    team/marta/astobj2/   (props changed)
    team/marta/astobj2/.cleancount
    team/marta/astobj2/CHANGES
    team/marta/astobj2/Makefile
    team/marta/astobj2/apps/app_dial.c
    team/marta/astobj2/apps/app_directory.c
    team/marta/astobj2/apps/app_followme.c
    team/marta/astobj2/apps/app_meetme.c
    team/marta/astobj2/apps/app_minivm.c
    team/marta/astobj2/apps/app_parkandannounce.c
    team/marta/astobj2/apps/app_queue.c
    team/marta/astobj2/apps/app_voicemail.c
    team/marta/astobj2/apps/app_zapateller.c
    team/marta/astobj2/channels/chan_gtalk.c
    team/marta/astobj2/channels/chan_iax2.c
    team/marta/astobj2/channels/chan_misdn.c
    team/marta/astobj2/channels/chan_phone.c
    team/marta/astobj2/channels/chan_sip.c
    team/marta/astobj2/channels/chan_skinny.c
    team/marta/astobj2/channels/chan_zap.c
    team/marta/astobj2/channels/h323/ast_h323.cxx
    team/marta/astobj2/channels/iax2-parser.c
    team/marta/astobj2/channels/misdn/isdn_lib.c
    team/marta/astobj2/codecs/codec_zap.c
    team/marta/astobj2/configs/enum.conf.sample
    team/marta/astobj2/configs/extensions.ael.sample
    team/marta/astobj2/configs/extensions.conf.sample
    team/marta/astobj2/configs/followme.conf.sample
    team/marta/astobj2/configs/queues.conf.sample
    team/marta/astobj2/configure
    team/marta/astobj2/configure.ac
    team/marta/astobj2/contrib/scripts/safe_asterisk
    team/marta/astobj2/funcs/func_devstate.c
    team/marta/astobj2/funcs/func_logic.c
    team/marta/astobj2/include/asterisk/astobj2.h
    team/marta/astobj2/include/asterisk/audiohook.h
    team/marta/astobj2/include/asterisk/channel.h
    team/marta/astobj2/include/asterisk/config.h
    team/marta/astobj2/include/asterisk/devicestate.h
    team/marta/astobj2/include/asterisk/event.h
    team/marta/astobj2/include/asterisk/features.h
    team/marta/astobj2/include/asterisk/file.h
    team/marta/astobj2/include/asterisk/jabber.h
    team/marta/astobj2/include/asterisk/lock.h
    team/marta/astobj2/include/asterisk/logger.h
    team/marta/astobj2/include/asterisk/sha1.h
    team/marta/astobj2/include/asterisk/slinfactory.h
    team/marta/astobj2/include/asterisk/stringfields.h
    team/marta/astobj2/include/asterisk/strings.h
    team/marta/astobj2/main/asterisk.c
    team/marta/astobj2/main/astobj2.c
    team/marta/astobj2/main/audiohook.c
    team/marta/astobj2/main/cdr.c
    team/marta/astobj2/main/channel.c
    team/marta/astobj2/main/config.c
    team/marta/astobj2/main/dns.c
    team/marta/astobj2/main/editline/configure
    team/marta/astobj2/main/editline/configure.in
    team/marta/astobj2/main/editline/sys.h
    team/marta/astobj2/main/file.c
    team/marta/astobj2/main/http.c
    team/marta/astobj2/main/logger.c
    team/marta/astobj2/main/manager.c
    team/marta/astobj2/main/pbx.c
    team/marta/astobj2/main/say.c
    team/marta/astobj2/main/sched.c
    team/marta/astobj2/main/sha1.c
    team/marta/astobj2/pbx/pbx_spool.c
    team/marta/astobj2/res/res_config_odbc.c
    team/marta/astobj2/res/res_config_pgsql.c
    team/marta/astobj2/res/res_config_sqlite.c
    team/marta/astobj2/res/res_crypto.c
    team/marta/astobj2/res/res_features.c
    team/marta/astobj2/res/res_jabber.c
    team/marta/astobj2/res/res_speech.c
    team/marta/astobj2/utils/   (props changed)
    team/marta/astobj2/utils/extconf.c

Propchange: team/marta/astobj2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/marta/astobj2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/marta/astobj2/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sun Sep  9 16:15:12 2007
@@ -1,1 +1,1 @@
-/trunk:1-81359
+/trunk:1-82058

Modified: team/marta/astobj2/.cleancount
URL: http://svn.digium.com/view/asterisk/team/marta/astobj2/.cleancount?view=diff&rev=82059&r1=82058&r2=82059
==============================================================================
--- team/marta/astobj2/.cleancount (original)
+++ team/marta/astobj2/.cleancount Sun Sep  9 16:15:12 2007
@@ -1,1 +1,1 @@
-31
+32

Modified: team/marta/astobj2/CHANGES
URL: http://svn.digium.com/view/asterisk/team/marta/astobj2/CHANGES?view=diff&rev=82059&r1=82058&r2=82059
==============================================================================
--- team/marta/astobj2/CHANGES (original)
+++ team/marta/astobj2/CHANGES Sun Sep  9 16:15:12 2007
@@ -25,7 +25,7 @@
 
 Dialplan functions
 ------------------
-  * Added the DEVSTATE() dialplan function which allows retrieving any device
+  * Added the DEVICE_STATE() dialplan function which allows retrieving any device
     state in the dialplan, as well as creating custom device states that are
     controllable from the dialplan.
   * Extend CALLERID() function with "pres" and "ton" parameters to
@@ -38,6 +38,12 @@
     mutex.  No deadlocks are possible, as LOCK() only allows a single lock to be
     held for any given channel.  Also, locks are automatically freed when a
     channel is hung up.
+  * Added HINT() dialplan function that allows retrieving hint information.
+    Hints are mappings between extensions and devices for the sake of 
+    determining the state of an extension.  This function can retrieve the list
+    of devices or the name associated with a hint.
+  * Added EXTENSION_STATE() dialplan function which allows retrieving the state
+    of any extension.
 
 CLI Changes
 -----------
@@ -83,6 +89,10 @@
   * Added the srvlookup option to iax.conf
   * Added support for OSP.  The token is set and retrieved through the CHANNEL()
      dialplan function.
+
+Skinny changes
+-------------
+  * Added skinny show device, skinny show line, and skinny show settings CLI commands.
 
 DUNDi changes
 -------------
@@ -272,3 +282,5 @@
   * The device state functionality in the Local channel driver has been updated
      to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
      to just UNKNOWN if the extension exists.
+  * When originating a call using AMI or pbx_spool that fails the reason for failure
+     will now be available in the failed extension using the REASON dialplan variable.

Modified: team/marta/astobj2/Makefile
URL: http://svn.digium.com/view/asterisk/team/marta/astobj2/Makefile?view=diff&rev=82059&r1=82058&r2=82059
==============================================================================
--- team/marta/astobj2/Makefile (original)
+++ team/marta/astobj2/Makefile Sun Sep  9 16:15:12 2007
@@ -77,8 +77,9 @@
 endif
 
 # Some build systems, such as the one in openwrt, like to pass custom target
-# CFLAGS in the COPTS variable.
+# CFLAGS and LDFLAGS in the COPTS and LDOPTS variables.
 ASTCFLAGS+=$(COPTS)
+ASTLDFLAGS+=$(LDOPTS)
 
 #Uncomment this to see all build commands instead of 'quiet' output
 #NOISY_BUILD=yes

Modified: team/marta/astobj2/apps/app_dial.c

[... 6638 lines stripped ...]



More information about the asterisk-commits mailing list