asterisk/asterisk.git
15 years agoBlocking changes from revision 82276
Mark Michelson [Wed, 12 Sep 2007 14:31:36 +0000 (14:31 +0000)]
Blocking changes from revision 82276

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

15 years agoMerged revisions 82274 via svnmerge from
Mark Michelson [Wed, 12 Sep 2007 14:29:15 +0000 (14:29 +0000)]
Merged revisions 82274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82274 | mmichelson | 2007-09-12 09:24:53 -0500 (Wed, 12 Sep 2007) | 6 lines

We should only initialize a realtime queue when it is allocated, not every time we access it. This prevents the members ao2_container
from being reallocated every time the queue is accessed.

I also removed a debug message I had accidentally left in on a previous commit.

........

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

15 years agoFix to make sure we don't hangup a call when getting a RLC without sending REL. ...
Matthew Fredrickson [Tue, 11 Sep 2007 23:07:49 +0000 (23:07 +0000)]
Fix to make sure we don't hangup a call when getting a RLC without sending REL.  Found making sure we are Q.784 (the SS7 test specification) compliant

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

15 years agoremove unused functions that made this file not build under dev mode
Russell Bryant [Tue, 11 Sep 2007 22:38:53 +0000 (22:38 +0000)]
remove unused functions that made this file not build under dev mode

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

15 years agoMerged revisions 82267 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 22:38:02 +0000 (22:38 +0000)]
Merged revisions 82267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82267 | russell | 2007-09-11 17:37:17 -0500 (Tue, 11 Sep 2007) | 3 lines

Fix incorrect uses of ao2_find().  Every one of these calls was reading bogus
memory ...

........

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

15 years agoThis solves an unreported solaris compile problem (missing -lnsl -lsocket).
Steve Murphy [Tue, 11 Sep 2007 22:37:20 +0000 (22:37 +0000)]
This solves an unreported solaris compile problem (missing -lnsl -lsocket).

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

15 years agoMerged revisions 82265 via svnmerge from
Joshua Colp [Tue, 11 Sep 2007 21:43:47 +0000 (21:43 +0000)]
Merged revisions 82265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82265 | file | 2007-09-11 18:41:49 -0300 (Tue, 11 Sep 2007) | 4 lines

(closes issue #10679)
Reported by: andrew
Build under dev mode when K6OPTS is enabled.

........

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

15 years agoMerged revisions 82263 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 20:50:42 +0000 (20:50 +0000)]
Merged revisions 82263 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82263 | russell | 2007-09-11 15:49:34 -0500 (Tue, 11 Sep 2007) | 5 lines

Fix another missing unref of member objects.  This one was pointed out by Marta.
When building the outgoing list in try_calling(), a member reference is stored
in each outgoing entry.  However, when this list got destroyed, the reference
was not released.

........

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

15 years agoMerged revisions 82261 via svnmerge from
Steve Murphy [Tue, 11 Sep 2007 20:49:21 +0000 (20:49 +0000)]
Merged revisions 82261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82261 | murf | 2007-09-11 14:36:15 -0600 (Tue, 11 Sep 2007) | 1 line

this change should fix issue # 10659 -- what I worry about is how many other bug reports it may generate. Hopefully, we can please the/a majority. Hopefully. We shall see. Calls not marked ANSWERED and with only one channel name will not be posted. This should eliminate the double CDR's.
........

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

15 years agoLil' bit more documentation to keep folks happy.
Joshua Colp [Tue, 11 Sep 2007 18:37:39 +0000 (18:37 +0000)]
Lil' bit more documentation to keep folks happy.

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

15 years ago(closes issue #9433)
Joshua Colp [Tue, 11 Sep 2007 17:58:48 +0000 (17:58 +0000)]
(closes issue #9433)
Reported by: junky
Patches:
      register_trying.diff.txt uploaded by jcmoore
Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej.

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

15 years agofixing up the pthread stuff for hashtest2
Steve Murphy [Tue, 11 Sep 2007 17:16:16 +0000 (17:16 +0000)]
fixing up the pthread stuff for hashtest2

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

15 years agoMerged revisions 82249 via svnmerge from
Christian Richter [Tue, 11 Sep 2007 16:15:10 +0000 (16:15 +0000)]
Merged revisions 82249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82249 | crichter | 2007-09-11 18:01:27 +0200 (Di, 11 Sep 2007) | 1 line

fixed a hold/retrieve issue.
........

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

15 years agoMerged revisions 82252 via svnmerge from
Mark Michelson [Tue, 11 Sep 2007 16:12:09 +0000 (16:12 +0000)]
Merged revisions 82252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82252 | mmichelson | 2007-09-11 11:05:56 -0500 (Tue, 11 Sep 2007) | 6 lines

All instances of ao2_iterators which were just named 'i' have been renamed
to 'mem_iter' so that when refcounted queues are merged into trunk, there will be
little confusion regarding iterator names, especially when a queue and member iterator
are used in the same function.

........

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

15 years agoMerged revisions 82250 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 16:05:03 +0000 (16:05 +0000)]
Merged revisions 82250 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82250 | russell | 2007-09-11 11:03:42 -0500 (Tue, 11 Sep 2007) | 4 lines

The sample dundi.conf claims support for a wildcard peer entry - [*], but the
code did not support it.  This patch makes it work.
(closes issue #10546, patch by dds, with some changes by me)

........

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

15 years ago(closes issue #10666)
Joshua Colp [Tue, 11 Sep 2007 15:34:40 +0000 (15:34 +0000)]
(closes issue #10666)
Reported by: arkadia
Patches:
      cdr_lockorder.patch uploaded by arkadia (license 233)
Optimize CDR stuff a bit.

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

15 years agoRemove an unused variable. I have no idea why this was marked with the unused
Russell Bryant [Tue, 11 Sep 2007 15:31:04 +0000 (15:31 +0000)]
Remove an unused variable.  I have no idea why this was marked with the unused
attribute instead of just removing it.  :)

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

15 years agoMerged revisions 82245 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 15:28:46 +0000 (15:28 +0000)]
Merged revisions 82245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82245 | russell | 2007-09-11 10:26:51 -0500 (Tue, 11 Sep 2007) | 9 lines

(closes issue #10553)
Reported by: juggie
Patches:
      res_agi_fgets-2.patch uploaded by juggie (license 24)
Tested by: juggie

When using fastagi, fgets() can return before a full line is read.  Add explicit
handling for the case where it gets interrupted.

........

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

15 years agoMerged revisions 82243 via svnmerge from
Joshua Colp [Tue, 11 Sep 2007 14:58:11 +0000 (14:58 +0000)]
Merged revisions 82243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82243 | file | 2007-09-11 11:56:39 -0300 (Tue, 11 Sep 2007) | 6 lines

(closes issue #10577)
Reported by: jamesgolovich
Patches:
      asterisk-dundifree.diff.txt uploaded by jamesgolovich (license 176)
Don't leak memory when unloading DUNDi.

........

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

15 years ago(closes issue #10560)
Joshua Colp [Tue, 11 Sep 2007 14:50:12 +0000 (14:50 +0000)]
(closes issue #10560)
Reported by: ruffle
Patches:
      rb uploaded by ruffle (license 201)
Show whether the conference is locked or not on the CLI.

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

15 years agoMerged revisions 82240 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:35:06 +0000 (14:35 +0000)]
Merged revisions 82240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82240 | russell | 2007-09-11 09:34:12 -0500 (Tue, 11 Sep 2007) | 2 lines

Add a couple more missing unrefs of queue member objects

........

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

15 years agoMerged revisions 82238 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:25:20 +0000 (14:25 +0000)]
Merged revisions 82238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82238 | russell | 2007-09-11 09:21:17 -0500 (Tue, 11 Sep 2007) | 2 lines

Add a missing unref of a queue member in an error handling block

........

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

15 years agoMerged revisions 82236 via svnmerge from
Russell Bryant [Tue, 11 Sep 2007 14:10:17 +0000 (14:10 +0000)]
Merged revisions 82236 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82236 | russell | 2007-09-11 09:09:43 -0500 (Tue, 11 Sep 2007) | 2 lines

Document why membercount can not simply be replaced by ao2_container_count()

........

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

15 years agoInclude string compatibility file in hashtest2.
Joshua Colp [Tue, 11 Sep 2007 13:46:08 +0000 (13:46 +0000)]
Include string compatibility file in hashtest2.

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

15 years agoInclude compat.h to hopefully make it compatible with FreeBSD.
Joshua Colp [Tue, 11 Sep 2007 13:41:03 +0000 (13:41 +0000)]
Include compat.h to hopefully make it compatible with FreeBSD.

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

15 years agoFix building under FreeBSD. Make sure alloca.h exists before including it.
Joshua Colp [Tue, 11 Sep 2007 13:37:26 +0000 (13:37 +0000)]
Fix building under FreeBSD. Make sure alloca.h exists before including it.

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

15 years ago(closes issue #10695)
Joshua Colp [Tue, 11 Sep 2007 13:15:37 +0000 (13:15 +0000)]
(closes issue #10695)
Reported by: junky
Patches:
      count_showconn.diff uploaded by junky (license 177)
Provide a count of connected users to manager.

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

15 years ago(closes issue #10692)
Joshua Colp [Tue, 11 Sep 2007 13:10:04 +0000 (13:10 +0000)]
(closes issue #10692)
Reported by: snuffy
Patches:
      minivm.diff uploaded by snuffy (license 35)
Instead of using err (which is not available under Solaris) use fdprintf with stderr.

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

15 years agoChange the IAXPeers command to have manager-style output, instead of CLI-style output...
Tilghman Lesher [Mon, 10 Sep 2007 20:03:51 +0000 (20:03 +0000)]
Change the IAXPeers command to have manager-style output, instead of CLI-style output (closes issue #8254)

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

15 years agoBlocked revisions 82198 via svnmerge
Russell Bryant [Mon, 10 Sep 2007 19:56:17 +0000 (19:56 +0000)]
Blocked revisions 82198 via svnmerge

........
r82198 | russell | 2007-09-10 14:53:17 -0500 (Mon, 10 Sep 2007) | 3 lines

backport astobj2 race condition fix.  This function is the exact same as trunk
so it applies here as well.

........

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

15 years agoFixing a problem where NULL channels would cause a crash when calling indisposed...
Mark Michelson [Mon, 10 Sep 2007 19:10:46 +0000 (19:10 +0000)]
Fixing a problem where NULL channels would cause a crash when calling indisposed queue members (i.e. paused, wrapup time not completed, etc.)

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

15 years agoMerged revisions 82155 via svnmerge from
Tilghman Lesher [Mon, 10 Sep 2007 18:32:59 +0000 (18:32 +0000)]
Merged revisions 82155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82155 | tilghman | 2007-09-10 13:02:02 -0500 (Mon, 10 Sep 2007) | 2 lines

Convert struct member to use refcounts (closes issue #10199)

........

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

15 years agoAdd a counter to the 'database deltree' CLI command.
Jason Parker [Mon, 10 Sep 2007 17:39:08 +0000 (17:39 +0000)]
Add a counter to the 'database deltree' CLI command.
Note: this is slightly different than the initial patch, because I felt
 that using res <= 0 would be a change in behavior.

Closes issue #10687, patch by junky

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

15 years agoCommitting my test for astobj2, hashtest2.c, along with makefile changes in utils.
Steve Murphy [Mon, 10 Sep 2007 16:59:18 +0000 (16:59 +0000)]
Committing my test for astobj2, hashtest2.c, along with makefile changes in utils.

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

15 years agoAdd counter to 'database show' CLI command.
Jason Parker [Mon, 10 Sep 2007 16:24:29 +0000 (16:24 +0000)]
Add counter to 'database show' CLI command.
(also a minor whitespace change that I found along the way)

Closes issue #10683, patch by junky

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

15 years agoChanges applied from marta's team/marta/astobj2 branch to solve a race condition
Steve Murphy [Mon, 10 Sep 2007 16:19:45 +0000 (16:19 +0000)]
Changes applied from marta's team/marta/astobj2 branch to solve a race condition

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

15 years agoMerged revisions 82091 via svnmerge from
Mark Michelson [Mon, 10 Sep 2007 15:05:13 +0000 (15:05 +0000)]
Merged revisions 82091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82091 | mmichelson | 2007-09-10 10:02:12 -0500 (Mon, 10 Sep 2007) | 5 lines

Removing non-existent options from misdn configuration sample.

(closes issue #10678, reported and patched by IgorG)

........

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

15 years ago(closes issue #10688)
Joshua Colp [Mon, 10 Sep 2007 14:26:32 +0000 (14:26 +0000)]
(closes issue #10688)
Reported by: casper
Patches:
      chan_sip.c.82076.diff uploaded by casper (license 55)
Remove double check for zombie flag and optimize things a bit.

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

15 years ago(closes issue #10684)
Joshua Colp [Mon, 10 Sep 2007 13:41:54 +0000 (13:41 +0000)]
(closes issue #10684)
Reported by: junky
Patches:
      debug.diff uploaded by junky (license 177)
Fix issue with debug always showing up.

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

15 years ago(closes issue #10686)
Joshua Colp [Mon, 10 Sep 2007 13:19:48 +0000 (13:19 +0000)]
(closes issue #10686)
Reported by: junky
Patches:
      meet.diff uploaded by junky (license 177)
Change NOTICE message to DEBUG.

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

15 years agoMerged revisions 82028 via svnmerge from
Tilghman Lesher [Sun, 9 Sep 2007 02:45:06 +0000 (02:45 +0000)]
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)

........

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

15 years agoAdd doxygen documentation for slinfactory_destroy(), mainly just noting that
Russell Bryant [Sat, 8 Sep 2007 19:01:20 +0000 (19:01 +0000)]
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)

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

15 years agoMerged revisions 81997 via svnmerge from
Russell Bryant [Sat, 8 Sep 2007 18:45:51 +0000 (18:45 +0000)]
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.

........

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

15 years agoMake Callerid more consistent in IMAP mail headers
Mark Michelson [Sat, 8 Sep 2007 16:37:35 +0000 (16:37 +0000)]
Make Callerid more consistent in IMAP mail headers

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

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

15 years agoMerged revisions 81952 via svnmerge from
Russell Bryant [Sat, 8 Sep 2007 13:45:40 +0000 (13:45 +0000)]
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.

........

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

15 years agoMerged revisions 81923 via svnmerge from
Jason Parker [Fri, 7 Sep 2007 19:53:30 +0000 (19:53 +0000)]
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.

........

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

15 years agoAdd an optional reason parameter to PauseQueueMember/UnpauseQueueMember applications...
Jason Parker [Fri, 7 Sep 2007 16:13:57 +0000 (16:13 +0000)]
Add an optional reason parameter to PauseQueueMember/UnpauseQueueMember applications and manager events.

Issue 8738, patch by rgollent

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

15 years agoMerged revisions 81886 via svnmerge from
Mark Michelson [Fri, 7 Sep 2007 15:29:23 +0000 (15:29 +0000)]
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

........

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

15 years agoDon't check for epoll support when cross compiling.
Joshua Colp [Fri, 7 Sep 2007 12:32:04 +0000 (12:32 +0000)]
Don't check for epoll support when cross compiling.

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

15 years agoFix memory issue that crept up with Russell's testing. It is *not* proper to free...
Joshua Colp [Thu, 6 Sep 2007 22:34:44 +0000 (22:34 +0000)]
Fix memory issue that crept up with Russell's testing. It is *not* proper to free the frame we get in ast_write.

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

15 years agofix the build ... oops
Russell Bryant [Thu, 6 Sep 2007 22:32:03 +0000 (22:32 +0000)]
fix the build ... oops

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

15 years agoMerged revisions 81832 via svnmerge from
Russell Bryant [Thu, 6 Sep 2007 22:30:15 +0000 (22:30 +0000)]
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.

........

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

15 years agoMerged revisions 81826 via svnmerge from
Jason Parker [Thu, 6 Sep 2007 22:06:17 +0000 (22:06 +0000)]
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
........

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

15 years agoInitialize iax_frames variable to NULL, keeps valgrind happy.
Joshua Colp [Thu, 6 Sep 2007 21:01:10 +0000 (21:01 +0000)]
Initialize iax_frames variable to NULL, keeps valgrind happy.

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

15 years agoAdd EXTENSION_STATE() function that can retrieve the state of an extension that
Russell Bryant [Thu, 6 Sep 2007 20:54:07 +0000 (20:54 +0000)]
Add EXTENSION_STATE() function that can retrieve the state of an extension that
has a hint.

(closes issue #10635, adamgundy)

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

15 years agos/DEVSTATE/DEVICE_STATE/
Russell Bryant [Thu, 6 Sep 2007 20:27:53 +0000 (20:27 +0000)]
s/DEVSTATE/DEVICE_STATE/

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

15 years agoRename the DEVSTATE() function to DEVICE_STATE() to better conform to how other
Russell Bryant [Thu, 6 Sep 2007 20:27:26 +0000 (20:27 +0000)]
Rename the DEVSTATE() function to DEVICE_STATE() to better conform to how other
functions are named.
(inspired by issue #10635)

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

15 years agoMerge HINT() dialplan function from my sandbox branch into trunk. This function
Russell Bryant [Thu, 6 Sep 2007 20:24:18 +0000 (20:24 +0000)]
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)

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

15 years ago(closes issue #10377)
Joshua Colp [Thu, 6 Sep 2007 20:16:02 +0000 (20:16 +0000)]
(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.

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

15 years agoFix the syntax of declaring a hint with a name to be compatible with trunk
Russell Bryant [Thu, 6 Sep 2007 20:05:50 +0000 (20:05 +0000)]
Fix the syntax of declaring a hint with a name to be compatible with trunk

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

15 years agoMerged revisions 81778 via svnmerge from
Jason Parker [Thu, 6 Sep 2007 20:00:08 +0000 (20:00 +0000)]
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

........

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

15 years agoMerged revisions 81776 via svnmerge from
Joshua Colp [Thu, 6 Sep 2007 19:43:20 +0000 (19:43 +0000)]
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.

........

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

15 years agoMerged revisions 81743 via svnmerge from
Philippe Sultan [Thu, 6 Sep 2007 17:00:58 +0000 (17:00 +0000)]
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)
........

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

15 years agoIncorporate the ability to log output of safe_asterisk to syslog (closes issue #9882)
Tilghman Lesher [Thu, 6 Sep 2007 16:57:20 +0000 (16:57 +0000)]
Incorporate the ability to log output of safe_asterisk to syslog (closes issue #9882)

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

15 years agoPatch on 10575. Add support for unequipped CIC (UCIC) message as well as improve...
Matthew Fredrickson [Thu, 6 Sep 2007 16:38:54 +0000 (16:38 +0000)]
Patch on 10575.  Add support for unequipped CIC (UCIC) message as well as improve some of our CIC flags in chan_zap

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

15 years agoMerged revisions 81713 via svnmerge from
Mark Michelson [Thu, 6 Sep 2007 16:31:30 +0000 (16:31 +0000)]
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)

........

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

15 years agovarious changes to the documentation, and redefinition of
Luigi Rizzo [Thu, 6 Sep 2007 15:43:49 +0000 (15:43 +0000)]
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.

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

15 years agoMerged revisions 81682 via svnmerge from
Mark Michelson [Thu, 6 Sep 2007 15:21:45 +0000 (15:21 +0000)]
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)

........

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

15 years agoMerged revisions 81650 via svnmerge from
Philippe Sultan [Thu, 6 Sep 2007 14:24:29 +0000 (14:24 +0000)]
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.
........

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

15 years agoNot having this epoll specific code in wait_for_answer was causing app_queue to infin...
Mark Michelson [Wed, 5 Sep 2007 21:59:52 +0000 (21:59 +0000)]
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.

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

15 years agoMerged revisions 81569 via svnmerge from
Tilghman Lesher [Wed, 5 Sep 2007 21:45:19 +0000 (21:45 +0000)]
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

........

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

15 years agoadded ZAPATELLERSTATUS to app_zapateller
Dwayne M. Hubbard [Wed, 5 Sep 2007 20:58:48 +0000 (20:58 +0000)]
added ZAPATELLERSTATUS to app_zapateller

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

15 years agoMerged revisions 81599 via svnmerge from
Russell Bryant [Wed, 5 Sep 2007 20:58:19 +0000 (20:58 +0000)]
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)

........

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

15 years agoAdd two more generated files (requested by mvanbaak via irc)
Tilghman Lesher [Wed, 5 Sep 2007 16:48:43 +0000 (16:48 +0000)]
Add two more generated files (requested by mvanbaak via irc)

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

15 years agoDoxygen cleanups/fixes.
Jason Parker [Wed, 5 Sep 2007 16:31:39 +0000 (16:31 +0000)]
Doxygen cleanups/fixes.

Closes issue #10654, patch by snuffy

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

15 years agoWeird. When I merged my changes from 1.4, they merged into the wrong function.
Mark Michelson [Wed, 5 Sep 2007 15:32:58 +0000 (15:32 +0000)]
Weird. When I merged my changes from 1.4, they merged into the wrong function.
This should fix the build for trunk.

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

15 years agoMerged revisions 81525 via svnmerge from
Mark Michelson [Wed, 5 Sep 2007 15:23:57 +0000 (15:23 +0000)]
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...

........

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

15 years agoMerged revisions 81523 via svnmerge from
Jason Parker [Wed, 5 Sep 2007 15:16:50 +0000 (15:16 +0000)]
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.

........

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

15 years agoMerged revisions 81520 via svnmerge from
Mark Michelson [Wed, 5 Sep 2007 15:04:50 +0000 (15:04 +0000)]
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)

........

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

15 years agothis set of changes fixes issue # 10643 by keeping track of the last object defined...
Steve Murphy [Wed, 5 Sep 2007 14:47:45 +0000 (14:47 +0000)]
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.

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

15 years agoBlocked revisions 81492 via svnmerge
Joshua Colp [Wed, 5 Sep 2007 13:13:02 +0000 (13:13 +0000)]
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.

........

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

15 years agoFinish up commit from revision 81452 by removing last remnants of strlcat/strlcpy...
Joshua Colp [Wed, 5 Sep 2007 00:53:14 +0000 (00:53 +0000)]
Finish up commit from revision 81452 by removing last remnants of strlcat/strlcpy checks.

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

15 years agoMerged revisions 81455 via svnmerge from
Jason Parker [Tue, 4 Sep 2007 20:59:04 +0000 (20:59 +0000)]
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

........

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

15 years agoMerged revisions 81453 via svnmerge from
Jason Parker [Tue, 4 Sep 2007 19:56:46 +0000 (19:56 +0000)]
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

........

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

15 years agoDon't check for and include strlcpy and strlcat in editline. We also include
Russell Bryant [Tue, 4 Sep 2007 19:51:37 +0000 (19:51 +0000)]
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.

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

15 years agoMerged revisions 81448 via svnmerge from
Russell Bryant [Tue, 4 Sep 2007 18:40:07 +0000 (18:40 +0000)]
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.

........

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

15 years agologger.h depends on options.h, so go ahead and include it
Russell Bryant [Tue, 4 Sep 2007 18:02:02 +0000 (18:02 +0000)]
logger.h depends on options.h, so go ahead and include it

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

15 years agoMerged revisions 81442 via svnmerge from
Kevin P. Fleming [Tue, 4 Sep 2007 16:41:14 +0000 (16:41 +0000)]
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

........

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

15 years ago(closes issue #10633)
Joshua Colp [Tue, 4 Sep 2007 14:28:13 +0000 (14:28 +0000)]
(closes issue #10633)
Reported by: pabelanger
Patches:
      extensions.ael.sample.patch uploaded by pabelanger (license 224)
Update extensions.ael.sample with voicemail and | changes.

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

15 years agoMerged revisions 81439 via svnmerge from
Joshua Colp [Tue, 4 Sep 2007 14:25:21 +0000 (14:25 +0000)]
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.

........

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

15 years agoMerged revisions 81437 via svnmerge from
Joshua Colp [Tue, 4 Sep 2007 13:47:33 +0000 (13:47 +0000)]
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.

........

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

15 years agoMerged revisions 81435 via svnmerge from
Joshua Colp [Tue, 4 Sep 2007 13:11:49 +0000 (13:11 +0000)]
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.

........

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

15 years agoMerged revisions 81433 via svnmerge from
Russell Bryant [Mon, 3 Sep 2007 18:59:08 +0000 (18:59 +0000)]
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)

........

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

15 years agoOnce we get past the file checks, we're loading, so clear the FILEUNCHANGED flag...
Tilghman Lesher [Mon, 3 Sep 2007 18:01:58 +0000 (18:01 +0000)]
Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)

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

15 years agoMerged revisions 81415 via svnmerge from
Tilghman Lesher [Mon, 3 Sep 2007 03:01:31 +0000 (03:01 +0000)]
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)

........

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

15 years agoWe shouldn't use a filename blindly without checking to make sure it's unused first
Tilghman Lesher [Sun, 2 Sep 2007 14:37:53 +0000 (14:37 +0000)]
We shouldn't use a filename blindly without checking to make sure it's unused first

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

15 years agoMerged revisions 81426 via svnmerge from
Mark Michelson [Sat, 1 Sep 2007 06:03:22 +0000 (06:03 +0000)]
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

........

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

15 years agoMerged revisions 81418 via svnmerge from
Russell Bryant [Fri, 31 Aug 2007 21:29:25 +0000 (21:29 +0000)]
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

........

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

15 years agoMerged revisions 81416 via svnmerge from
Mark Michelson [Fri, 31 Aug 2007 19:50:26 +0000 (19:50 +0000)]
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.

........

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

15 years agoMerged revisions 81412 via svnmerge from
Jason Parker [Fri, 31 Aug 2007 18:46:02 +0000 (18:46 +0000)]
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

........

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