asterisk/asterisk.git
11 years agoOlder versions of GNU gcc do not allow 'NULL' as sentinel.
Michiel van Baak [Thu, 19 Jun 2008 20:48:33 +0000 (20:48 +0000)]
Older versions of GNU gcc do not allow 'NULL' as sentinel.
They want (char *)NULL as sentinel.
An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4

This commit introduces a contstant SENTINEL which is declared as:
#define SENTINEL ((char *)NULL)

All places I could test compile on my openbsd system are converted.
Update CODING-GUIDELINES to tell about this constant.

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

11 years agoOops
Tilghman Lesher [Thu, 19 Jun 2008 20:35:56 +0000 (20:35 +0000)]
Oops

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

11 years agoMerged revisions 124112 via svnmerge from
Mark Michelson [Thu, 19 Jun 2008 20:30:23 +0000 (20:30 +0000)]
Merged revisions 124112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r124112 | mmichelson | 2008-06-19 15:28:41 -0500 (Thu, 19 Jun 2008) | 8 lines

Fix IMAP forwarding so that messages are sent to the proper mailbox.

(closes issue #12897)
Reported by: jaroth
Patches:
      destination_forward.patch uploaded by jaroth (license 50)

........

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

11 years agoMake OpenBSD compile again
Tilghman Lesher [Thu, 19 Jun 2008 20:25:37 +0000 (20:25 +0000)]
Make OpenBSD compile again
(reported by mvanbaak via IRC -dev)

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

11 years agoAdd errors that report any locks held by threads when they are being closed.
Brett Bryant [Thu, 19 Jun 2008 19:48:26 +0000 (19:48 +0000)]
Add errors that report any locks held by threads when they are being closed.

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

11 years agoAllow alternative extensions to be specified for a user.
Tilghman Lesher [Thu, 19 Jun 2008 19:22:59 +0000 (19:22 +0000)]
Allow alternative extensions to be specified for a user.
(closes issue #12830)
 Reported by: jcollie
 Patches:
       astertisk-trunk-121496-alternate-extensions.patch uploaded by jcollie (license 412)

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

11 years agoFix bug in sip registration that sets the default port to 5060 for tls.
Brett Bryant [Thu, 19 Jun 2008 18:57:04 +0000 (18:57 +0000)]
Fix bug in sip registration that sets the default port to 5060 for tls.

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

11 years ago- Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
Russell Bryant [Thu, 19 Jun 2008 18:30:49 +0000 (18:30 +0000)]
- Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
- change the "timing test" CLI command to let you specify a timing rate to test

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

11 years agoDetect if the installed gcc version supports the warn_unused_result attribute.
Tilghman Lesher [Thu, 19 Jun 2008 17:55:34 +0000 (17:55 +0000)]
Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.

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

11 years agoDon't change pointers that need to be later passed back for deallocation.
Tilghman Lesher [Thu, 19 Jun 2008 17:22:27 +0000 (17:22 +0000)]
Don't change pointers that need to be later passed back for deallocation.
(closes issue #12572)
 Reported by: flyn
 Patches:
       20080613__bug12572.diff.txt uploaded by Corydon76 (license 14)

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

11 years agoMerged revisions 123930 via svnmerge from
Tilghman Lesher [Thu, 19 Jun 2008 17:02:54 +0000 (17:02 +0000)]
Merged revisions 123930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5 lines

Change informative messages to use the _multiple variant when multiple formats
are possible.
(Closes issue #12848)
Reported by klaus3000

........

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

11 years agoMerged revisions 123909 via svnmerge from
Tilghman Lesher [Thu, 19 Jun 2008 16:26:50 +0000 (16:26 +0000)]
Merged revisions 123909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123909 | tilghman | 2008-06-19 11:26:03 -0500 (Thu, 19 Jun 2008) | 5 lines

Only process 40 arguments (20 files) at once with xargs, because some older
shells may force xargs to separate on an odd boundary.
(Closes issue #12883)
Reported by Nik Soggia

........

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

11 years agoMerged revisions 123883 via svnmerge from
Tilghman Lesher [Thu, 19 Jun 2008 16:21:32 +0000 (16:21 +0000)]
Merged revisions 123883 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123883 | tilghman | 2008-06-19 11:20:41 -0500 (Thu, 19 Jun 2008) | 4 lines

Correct description of notifyringing option.
(Closes issue #12890)
Reported by gminet

........

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

11 years agoMerged revisions 123869 via svnmerge from
Tilghman Lesher [Thu, 19 Jun 2008 16:08:29 +0000 (16:08 +0000)]
Merged revisions 123869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123869 | tilghman | 2008-06-19 11:07:23 -0500 (Thu, 19 Jun 2008) | 6 lines

The RDTSC instruction was introduced on the Pentium line of microprocessors,
and is not compatible with certain 586 clones, like Cyrix.  Hence, asking for
i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC
(Closes issue #12886)
Reported by tecnoxarxa

........

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

11 years agoForwarding non-urgent IMAP messages could inadvertently cause the messages
Mark Michelson [Thu, 19 Jun 2008 15:55:10 +0000 (15:55 +0000)]
Forwarding non-urgent IMAP messages could inadvertently cause the messages
to be marked urgent. This fixes that issue.

(closes issue #12895)
Reported by: jaroth
Patches:
      urgent_forwarding.patch uploaded by jaroth (license 50)

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

11 years agoMissing comma
Tilghman Lesher [Thu, 19 Jun 2008 15:52:17 +0000 (15:52 +0000)]
Missing comma
(closes issue #12891)
 Reported by: chris-mac

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

11 years agoUpdate the queuelog.tex documentation as well.
Sean Bright [Thu, 19 Jun 2008 14:28:56 +0000 (14:28 +0000)]
Update the queuelog.tex documentation as well.

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

11 years agoInclude original position in TRANSFER entries written to queue_log.
Sean Bright [Thu, 19 Jun 2008 14:24:43 +0000 (14:24 +0000)]
Include original position in TRANSFER entries written to queue_log.

(closes issue #12888)
Reported by: slavon
Patches:
      app_queue_transfer_patch_trunk.diff uploaded by slavon (license 288)

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

11 years agoMerged revisions 123769 via svnmerge from
Tilghman Lesher [Wed, 18 Jun 2008 22:17:17 +0000 (22:17 +0000)]
Merged revisions 123769 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines

Add support for saying numbers in Hebrew.
(closes issue #11662)
 Reported by: greenfieldtech
 Patches:
       say.c.patch-12042008 uploaded by greenfieldtech (license 369)
       Hebrew-Sounds.ods uploaded by greenfieldtech
       (with signficant changes to the spreadsheet by me)

........

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

11 years agoMerged revisions 123710 via svnmerge from
Tilghman Lesher [Wed, 18 Jun 2008 20:23:58 +0000 (20:23 +0000)]
Merged revisions 123710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123710 | tilghman | 2008-06-18 15:22:42 -0500 (Wed, 18 Jun 2008) | 7 lines

Set the variables top-down, so that if a script sets a variable more than once,
the last one will take precedence.
(closes issue #12673)
 Reported by: phber
 Patches:
       20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)

........

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

11 years agoFix a crash in tcp and tls connections related to reference counts.
Brett Bryant [Wed, 18 Jun 2008 20:07:56 +0000 (20:07 +0000)]
Fix a crash in tcp and tls connections related to reference counts.

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

11 years agoA portion of the code which handled the 'c' queue option had been
Mark Michelson [Wed, 18 Jun 2008 15:08:56 +0000 (15:08 +0000)]
A portion of the code which handled the 'c' queue option had been
removed. No telling when it happened. Anyway, it's back in now
and works properly.

(Based on issue reported on mailing list)

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

11 years agoSilly pointers. This fixes a memory corruption I introduced
Mark Michelson [Wed, 18 Jun 2008 14:54:47 +0000 (14:54 +0000)]
Silly pointers. This fixes a memory corruption I introduced
with the attended transfer logging.

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

11 years agoChannel lock janitor -- add locks around retrieval of channel variables
Tilghman Lesher [Wed, 18 Jun 2008 13:09:02 +0000 (13:09 +0000)]
Channel lock janitor -- add locks around retrieval of channel variables
(closes issue #12840)
 Reported by: pputman
 Patches:
       app_dial_threadsafe3.patch uploaded by pputman (license 81)

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

11 years agoWhitespace only
Sean Bright [Wed, 18 Jun 2008 00:33:31 +0000 (00:33 +0000)]
Whitespace only

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

11 years agoRevert a previous regression in astobj2.c from merging a branch.
Brett Bryant [Tue, 17 Jun 2008 22:24:45 +0000 (22:24 +0000)]
Revert a previous regression in astobj2.c from merging a branch.

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

11 years agoUpdates all usages of ast_tcptls_session_instance to be managed by reference counts...
Brett Bryant [Tue, 17 Jun 2008 21:46:57 +0000 (21:46 +0000)]
Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
them, and memory does not get free'd causing strange issues with SIP.

This code was originally written by russellb in the team/group/issue_11972/ branch.

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

11 years agoAdd an option, specifying maximum analysis time for talk detection.
Tilghman Lesher [Tue, 17 Jun 2008 21:42:42 +0000 (21:42 +0000)]
Add an option, specifying maximum analysis time for talk detection.
(closes issue #12149)
 Reported by: davevg
 Patches:
       app_talkdetect.c.diff uploaded by davevg (license 209)
       (Plus a few additional cleanups by moi)

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

11 years agoPut quotes around "test"
Mark Michelson [Tue, 17 Jun 2008 21:33:40 +0000 (21:33 +0000)]
Put quotes around "test"

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

11 years ago_ys pointed out in #asterisk-bugs that he was experiencing
Mark Michelson [Tue, 17 Jun 2008 21:26:31 +0000 (21:26 +0000)]
_ys pointed out in #asterisk-bugs that he was experiencing
a memory leak when running the astobj2 test CLI command. After
searching, it appears the leak was in the command handler itself.

Each object was allocated (recount = 1) and then linked into
a container (refounct = 2). Then at the end of the function,
the container was unreffed, causing all the objects to have
their refcount decremented by one, leaving the refcount for
all objects allocated in that function at 1. I've now added
an extra unref to the mix so that the refcount equals zero
when the container is unreffed.

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

11 years agoMerged revisions 123485 via svnmerge from
Mark Michelson [Tue, 17 Jun 2008 20:28:47 +0000 (20:28 +0000)]
Merged revisions 123485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123485 | mmichelson | 2008-06-17 15:26:38 -0500 (Tue, 17 Jun 2008) | 4 lines

Make chan_sip build under dev mode with compilers >= GCC 4.2
Thanks to jpeeler for alerting me of this

........

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

11 years agoAdd the same fix from revision 123271 to container_destruct_debug.
Mark Michelson [Tue, 17 Jun 2008 20:19:49 +0000 (20:19 +0000)]
Add the same fix from revision 123271 to container_destruct_debug.

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

11 years agoChanges to list peers and users in alpha. order, as per a reasonable request in 12494...
Steve Murphy [Tue, 17 Jun 2008 20:17:20 +0000 (20:17 +0000)]
Changes to list peers and users in alpha. order, as per a reasonable request in 12494. Due to changes in trunk to use the astobj2 i/f in the sip channel driver, the order of the entries in the config file was lost, thus the output was in a random order, but no longer.

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

11 years agoThis solves a crash in the cdr_tds module on 'stop gracefully', for situations where...
Steve Murphy [Tue, 17 Jun 2008 20:00:36 +0000 (20:00 +0000)]
This solves a crash in the cdr_tds module on 'stop gracefully', for situations where 'settings' is not set to a pointer

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

11 years agoFix the check against the max supported rate
Russell Bryant [Tue, 17 Jun 2008 19:00:14 +0000 (19:00 +0000)]
Fix the check against the max supported rate

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

11 years agoMerged revisions 123391 via svnmerge from
Tilghman Lesher [Tue, 17 Jun 2008 18:57:45 +0000 (18:57 +0000)]
Merged revisions 123391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123391 | tilghman | 2008-06-17 13:56:53 -0500 (Tue, 17 Jun 2008) | 3 lines

Fix 3 more places where failure to lock the structure could cause the wrong lock to be
unlocked.  (Closes issue #12795)

........

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

11 years agoIf we don't match registrar when destroying a context, it can cause a crash.
Tilghman Lesher [Tue, 17 Jun 2008 18:23:01 +0000 (18:23 +0000)]
If we don't match registrar when destroying a context, it can cause a crash.
(closes issue #12835)
 Reported by: ys
 Patches:
       pbx.c.diff uploaded by ys (license 281)

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

11 years agoMerged revisions 123333 via svnmerge from
Mark Michelson [Tue, 17 Jun 2008 18:09:54 +0000 (18:09 +0000)]
Merged revisions 123333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123333 | mmichelson | 2008-06-17 13:09:16 -0500 (Tue, 17 Jun 2008) | 11 lines

Cisco BTS sends SIP responses with a tab between the Cseq number and
SIP request method in the Cseq: header. Asterisk did not handle this
properly, but with this patch, all is well.

(closes issue #12834)
Reported by: tobias_e
Patches:
      12834.patch uploaded by putnopvut (license 60)
Tested by: tobias_e

........

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

11 years agoMerged revisions 123274 via svnmerge from
Mark Michelson [Tue, 17 Jun 2008 15:57:43 +0000 (15:57 +0000)]
Merged revisions 123274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123274 | mmichelson | 2008-06-17 10:56:55 -0500 (Tue, 17 Jun 2008) | 12 lines

davidw pointed out that the holdtime calculation used by
app_queue does not use "boxcar" filtering as the comments
say. The term "boxcar" means that the number of samples used
to calculate stays constant, with new samples replacing the
oldest ones. The queue holdtime calculation uses all holdtime
samples collected since the queue was loaded, so the comment
has been changed to be accurate.

(closes issue #12781)
Reported by: davidw

........

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

11 years agoMerged revisions 123271 via svnmerge from
Russell Bryant [Tue, 17 Jun 2008 15:52:13 +0000 (15:52 +0000)]
Merged revisions 123271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines

Fix a memory leak in astobj2 that was pointed out by seanbright.  When a container
got destroyed, the underlying bucket list entry for each object that was in the
container at that time did not get free'd.

........

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

11 years agoFix some (more) variables that were forgotten to be renamed, related to 117658
Jeff Peeler [Mon, 16 Jun 2008 23:05:18 +0000 (23:05 +0000)]
Fix some (more) variables that were forgotten to be renamed, related to 117658

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

11 years agoClean up code that handles fsk mwi message generation by pulling it from do_monitor...
Doug Bailey [Mon, 16 Jun 2008 21:42:46 +0000 (21:42 +0000)]
Clean up code that handles fsk mwi message generation by pulling it from do_monitor and creating its own thread.
Added RP-AS mwi message generation using patches from meneault as a basis.

(closes issue #8587)
Reported by: meneault
Tested by: meneault

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

11 years agoOopsie, breakage
Tilghman Lesher [Mon, 16 Jun 2008 21:31:43 +0000 (21:31 +0000)]
Oopsie, breakage

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

11 years agoFix some variables that were forgotten to be renamed, related to 117658
Jeff Peeler [Mon, 16 Jun 2008 21:15:12 +0000 (21:15 +0000)]
Fix some variables that were forgotten to be renamed, related to 117658

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

11 years ago(closes issue #12689)
Steve Murphy [Mon, 16 Jun 2008 20:43:46 +0000 (20:43 +0000)]
(closes issue #12689)
Reported by: ys

Many thanks to ys for doing the research on this problem.
I didn't think it would be best to unlock the contexts
and then relock them after the remove_extension2() call,
so I added an extra arg to remove_extension2() and set it
appropriately in each call. There were not that many.

I considered forcing the code to lock the contexts before
the call to remove_extension2(), but that would require
a slightly greater degree of changes, especially since
the find_context_locked is local to pbx.c

I did a simple sanity test to make sure the code doesn't
mess things up in general.

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

11 years agoChanges response to the ExternalIVR() P command from pipe delimited to comma delimite...
Chris Tooley [Mon, 16 Jun 2008 20:02:06 +0000 (20:02 +0000)]
Changes response to the ExternalIVR() P command from pipe delimited to comma delimited.  closes issue #12804

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

11 years agoMerged revisions 123113 via svnmerge from
Tilghman Lesher [Mon, 16 Jun 2008 19:57:05 +0000 (19:57 +0000)]
Merged revisions 123113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123113 | tilghman | 2008-06-16 14:50:12 -0500 (Mon, 16 Jun 2008) | 2 lines

Port "hasvoicemail" change from SIP to other channel drivers

........

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

11 years agoMerged revisions 123110 via svnmerge from
Tilghman Lesher [Mon, 16 Jun 2008 19:23:51 +0000 (19:23 +0000)]
Merged revisions 123110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue #12855)
 Reported by: PLL
 Patches:
       20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: PLL

........

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

11 years agoLast commit for a bit, minor cleanups and move the lock initialization.
Sean Bright [Mon, 16 Jun 2008 17:33:10 +0000 (17:33 +0000)]
Last commit for a bit, minor cleanups and move the lock initialization.

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

11 years agoConvert to use stringfields. Still some more work to do on config load/reload.
Sean Bright [Mon, 16 Jun 2008 17:14:11 +0000 (17:14 +0000)]
Convert to use stringfields.  Still some more work to do on config load/reload.

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

11 years agoRemove some unused variables
Sean Bright [Mon, 16 Jun 2008 16:29:18 +0000 (16:29 +0000)]
Remove some unused variables

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

11 years agoCoding guidelines stuff only.
Sean Bright [Mon, 16 Jun 2008 15:25:03 +0000 (15:25 +0000)]
Coding guidelines stuff only.

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

11 years agoNote that only one timing interface should get loaded.
Russell Bryant [Mon, 16 Jun 2008 13:31:36 +0000 (13:31 +0000)]
Note that only one timing interface should get loaded.

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

11 years agoMerge res_timing_pthread. This is a timing interface for Asterisk that
Russell Bryant [Mon, 16 Jun 2008 13:08:13 +0000 (13:08 +0000)]
Merge res_timing_pthread.  This is a timing interface for Asterisk that
does not require DAHDI.  It's called "pthread" because it uses a pthread
API call in the timing thread for sleeping and ensuring we wake up at
an appropriate time.  I wasn't sure what else to call it.  :)

The timing API requires a file descriptor that can be polled on.  So,
when you open a timer, this module creates a pipe and returns the read
end of the pipe.  There is a background thread that wakes up every 10ms
and checks to see if any of the currently open timers need a 'tick' and
writes to the appropriate pipe.

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

11 years agoAdd a "timing test" CLI command. It opens a timer and configures it for
Russell Bryant [Mon, 16 Jun 2008 13:03:40 +0000 (13:03 +0000)]
Add a "timing test" CLI command.  It opens a timer and configures it for
50 ticks per second, and then counts to see how many ticks it actually
gets in a second.

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

11 years ago - Fix a typo in a timing API call
Russell Bryant [Mon, 16 Jun 2008 12:48:11 +0000 (12:48 +0000)]
 - Fix a typo in a timing API call
 - Convert the last part of channel.c over to use the timing API.  This would
   not have made a difference when using the dahdi timing module.  I noticed
   it when trying to use another timing source.  Oops.  :)

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

11 years agoMerged revisions 122919 via svnmerge from
Joshua Colp [Mon, 16 Jun 2008 12:32:02 +0000 (12:32 +0000)]
Merged revisions 122919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122919 | file | 2008-06-16 09:31:09 -0300 (Mon, 16 Jun 2008) | 6 lines

Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
(closes issue #12803)
Reported by: lanzaandrea
Patches:
      chan_sip.c.diff uploaded by lanzaandrea (license 496)

........

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

11 years agoMerged revisions 122869 via svnmerge from
Joshua Colp [Mon, 16 Jun 2008 12:09:54 +0000 (12:09 +0000)]
Merged revisions 122869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122869 | file | 2008-06-16 09:08:28 -0300 (Mon, 16 Jun 2008) | 6 lines

Don't send a BYE on a dialog that is already gone during a REFER.
(closes issue #12865)
Reported by: flefoll
Patches:
      chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by flefoll (license 244)

........

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

11 years agoResurrected app_fax
Sean Bright [Mon, 16 Jun 2008 03:33:03 +0000 (03:33 +0000)]
Resurrected app_fax

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

11 years agoAdd some more IAX2-specific information about the channel to the CHANNEL()
Tilghman Lesher [Sun, 15 Jun 2008 15:21:16 +0000 (15:21 +0000)]
Add some more IAX2-specific information about the channel to the CHANNEL()
function and begin the transition from SIPCHANINFO() to just using CHANNEL().
(closes issue #12856)
 Reported by: mostyn
 Patches:
       iax_and_sip_channel_info.patch uploaded by mostyn (license 398)
       (with some additional cleanup by me)

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

11 years agoDocument the input for ast_realtime_require_field()
Tilghman Lesher [Fri, 13 Jun 2008 22:52:20 +0000 (22:52 +0000)]
Document the input for ast_realtime_require_field()

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

11 years agoProperly detect the size of char/varchar fields
Tilghman Lesher [Fri, 13 Jun 2008 21:50:28 +0000 (21:50 +0000)]
Properly detect the size of char/varchar fields

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

11 years agoMerged revisions 122713 via svnmerge from
Mark Michelson [Fri, 13 Jun 2008 21:45:21 +0000 (21:45 +0000)]
Merged revisions 122713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122713 | mmichelson | 2008-06-13 16:44:53 -0500 (Fri, 13 Jun 2008) | 9 lines

Short circuit the loop in autoservice_run if there are no channels to poll.
If we continued, then the result would be calling poll() with a NULL
pollfd array. While this is fine with POSIX's poll(2) system call, those
who use Asterisk's internal poll mechanism (Darwin systems) would have
a failed assertion occur when poll is called.

(related to issue #10342)

........

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

11 years agoBlocked revisions 122663 via svnmerge
Jeff Peeler [Fri, 13 Jun 2008 18:58:29 +0000 (18:58 +0000)]
Blocked revisions 122663 via svnmerge

........
r122663 | jpeeler | 2008-06-13 13:57:24 -0500 (Fri, 13 Jun 2008) | 1 line

fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)
........

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

11 years agoBlocked revisions 122613 via svnmerge
Jeff Peeler [Fri, 13 Jun 2008 17:38:28 +0000 (17:38 +0000)]
Blocked revisions 122613 via svnmerge

........
r122613 | jpeeler | 2008-06-13 12:36:56 -0500 (Fri, 13 Jun 2008) | 6 lines

(closes issue #12846)
Reported by: Netview
Tested by: jpeeler

Use correct location to search for tonezone.

........

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

11 years agoConvert one more delimiter to use comma.
Tilghman Lesher [Fri, 13 Jun 2008 14:15:07 +0000 (14:15 +0000)]
Convert one more delimiter to use comma.
(closes issue #12850)
 Reported by: bcnit
 Patches:
       20080613__bug12850.diff.txt uploaded by Corydon76 (license 14)
 Tested by: bcnit

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

11 years agoDo not allow res_timing_dahdi to be unloaded. We can re-enable this once we
Russell Bryant [Fri, 13 Jun 2008 12:53:08 +0000 (12:53 +0000)]
Do not allow res_timing_dahdi to be unloaded.  We can re-enable this once we
add automatic use count handling for timing modules.

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

11 years agoMerge changes from timing branch
Russell Bryant [Fri, 13 Jun 2008 12:45:50 +0000 (12:45 +0000)]
Merge changes from timing branch

 - Convert chan_iax2 to use the timing API
 - Convert usage of timing in the core to use the timing API instead of
   using DAHDI directly
 - Make a change to the timing API to add the set_rate() function
 - change the timing core to use a rwlock
 - merge a timing implementation, res_timing_dahdi

Basic testing was successful using res_timing_dahdi

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

11 years agoImplement call parking in chan_skinny.
Michiel van Baak [Fri, 13 Jun 2008 11:20:47 +0000 (11:20 +0000)]
Implement call parking in chan_skinny.

(closes issue #11342)
Reported by: DEA
Patches:
      chan_skinny-park.txt uploaded by DEA (license 3)
      chan_skinny-park-v2.diff.txt uploaded by mvanbaak (license 7)
Tested by: DEA, mvanbaak

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

11 years agoFix a segfault by not trying to store a stack address for
Mark Michelson [Thu, 12 Jun 2008 23:58:01 +0000 (23:58 +0000)]
Fix a segfault by not trying to store a stack address for
long-term use. Instead use the heap. I can't believe this
never happened *once* in my developer branch when I was testing.

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

11 years agoBlocked revisions 122208 via svnmerge
Jeff Peeler [Thu, 12 Jun 2008 23:09:16 +0000 (23:09 +0000)]
Blocked revisions 122208 via svnmerge

........
r122208 | jpeeler | 2008-06-12 10:46:08 -0500 (Thu, 12 Jun 2008) | 5 lines

(closes issue #12193)
Reported by: davidw
Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app

........

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

11 years ago(closes issue 0012193)
Jeff Peeler [Thu, 12 Jun 2008 23:08:37 +0000 (23:08 +0000)]
(closes issue 0012193)
Reported by: davidw
Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app

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

11 years agoRecommitting revision 122228, which was accidentally reverted
Mark Michelson [Thu, 12 Jun 2008 21:23:02 +0000 (21:23 +0000)]
Recommitting revision 122228, which was accidentally reverted
as a result of commit 122234.

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

11 years agoComplete the documentation for the timing API.
Russell Bryant [Thu, 12 Jun 2008 20:38:52 +0000 (20:38 +0000)]
Complete the documentation for the timing API.

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

11 years agoBlocked revisions 122314 via svnmerge
Jeff Peeler [Thu, 12 Jun 2008 19:11:23 +0000 (19:11 +0000)]
Blocked revisions 122314 via svnmerge

........
r122314 | jpeeler | 2008-06-12 14:08:20 -0500 (Thu, 12 Jun 2008) | 2 lines

Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.

........

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

11 years agoMerged revisions 122311 via svnmerge from
Mark Michelson [Thu, 12 Jun 2008 18:53:17 +0000 (18:53 +0000)]
Merged revisions 122311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122311 | mmichelson | 2008-06-12 13:50:58 -0500 (Thu, 12 Jun 2008) | 9 lines

Properly play a holdtime message if the announce-holdtime option is
set to "once."

(closes issue #12842)
Reported by: ramonpeek
Patches:
      patch001.diff uploaded by ramonpeek (license 266)

........

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

11 years agoMerged revisions 122259 via svnmerge from
Russell Bryant [Thu, 12 Jun 2008 18:23:54 +0000 (18:23 +0000)]
Merged revisions 122259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122259 | russell | 2008-06-12 13:22:44 -0500 (Thu, 12 Jun 2008) | 3 lines

Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
to remove an entry that wasn't in the scheduler

........

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

11 years agoFix pseudo channel allocation errors on startup when using SS7. (from mattf r121914...
Jeff Peeler [Thu, 12 Jun 2008 17:49:37 +0000 (17:49 +0000)]
Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914, moving from chan_zap to chan_dahdi)

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

11 years agoMake sure we hangup any calls we have and NULL out the ss7call value when we get...
Jeff Peeler [Thu, 12 Jun 2008 17:39:38 +0000 (17:39 +0000)]
Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug. (from mattf r121857, moving from chan_zap to chan_dahdi)

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

11 years agoGet default entity ID determination working on Linux again
Russell Bryant [Thu, 12 Jun 2008 17:38:27 +0000 (17:38 +0000)]
Get default entity ID determination working on Linux again
(closes issue #12839)

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

11 years agoclarify documentation on how timer intervals should be specified
Kevin P. Fleming [Thu, 12 Jun 2008 17:30:55 +0000 (17:30 +0000)]
clarify documentation on how timer intervals should be specified

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

11 years agoGoodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration...
Jeff Peeler [Thu, 12 Jun 2008 17:27:55 +0000 (17:27 +0000)]
Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.

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

11 years agoMake this build under dev mode
Russell Bryant [Thu, 12 Jun 2008 17:14:32 +0000 (17:14 +0000)]
Make this build under dev mode

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

11 years agoMerging the work done in the queue-log-atxfer branch. The
Mark Michelson [Thu, 12 Jun 2008 16:25:09 +0000 (16:25 +0000)]
Merging the work done in the queue-log-atxfer branch. The
net result of this work is that attended transfers made
by queue members will now show up in the queue_log as a
TRANSFER message instead of COMPLETECALLER as it had been.

As far as the details go, I created a datastore which is
attached to the calling channel just prior to when the caller
is bridged with the queue member. If the calling channel
is masqueraded, then during the "fixup" portion, the TRANSFER
will be logged and the datastore will be removed.

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

11 years agoMerged revisions 122137 via svnmerge from
Tilghman Lesher [Thu, 12 Jun 2008 15:26:07 +0000 (15:26 +0000)]
Merged revisions 122137 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122137 | tilghman | 2008-06-12 10:18:39 -0500 (Thu, 12 Jun 2008) | 8 lines

Flipflop the sections for two options, since the section for 'X' (exit context)
may otherwise absorb keypresses meant for 's' (admin/user menu).
(closes issue #12836)
 Reported by: blitzrage
 Patches:
       20080611__bug12836.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage

........

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

11 years agoMerged revisions 122130 via svnmerge from
Tilghman Lesher [Thu, 12 Jun 2008 15:14:37 +0000 (15:14 +0000)]
Merged revisions 122130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122130 | tilghman | 2008-06-12 10:11:30 -0500 (Thu, 12 Jun 2008) | 4 lines

Occasionally, the alertpipe loses its nonblocking status, so detect and correct
that situation before it causes a deadlock.  (Reported and tested by ctooley
via #asterisk-dev)

........

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

11 years agoMerged revisions 122127 via svnmerge from
Steve Murphy [Thu, 12 Jun 2008 14:56:26 +0000 (14:56 +0000)]
Merged revisions 122127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122127 | murf | 2008-06-12 08:51:44 -0600 (Thu, 12 Jun 2008) | 1 line

Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb.
........

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

11 years agoMerged revisions 122046 via svnmerge from
Steve Murphy [Thu, 12 Jun 2008 14:28:01 +0000 (14:28 +0000)]
Merged revisions 122046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines

(closes issue #10668)
Reported by: arkadia
Tested by: murf, arkadia

Options added to forkCDR() app and the CDR() func to
remove some roadblocks for CDR applications.

The "show application ForkCDR" output was upgraded
to more fully explain the inner workings of forkCDR.

The A option was added to forkCDR to force the
CDR system to NOT change the disposition on the
original CDR, after the fork. This involves
ast_cdr_answer, _busy, _failed, and so on.

The T option was added to forkCDR to force
obedience of the cdr LOCKED flag in the
ast_cdr_end, all the disposition changing
funcs (ast_cdr_answer, etc), and in the
ast_cdr_setvar func.

The CHANGES file was updated to explain ALL
the new options added to satisfy this bug report
(and some requests made verbally and via
email, irc, etc, over the past months/year)

The 's' option was added to the CDR() func,
to force it to skip LOCKED cdr's in the
chain.

Again, the new options should be totally transparent
to existing apps! Current behavior of CDR,
forkCDR, and the rest of the CDR system should
not change one little bit. Until you add the
new options, at least!

........

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

11 years agoadd infrastructure so that timing source can be a loadable module... next steps are...
Kevin P. Fleming [Thu, 12 Jun 2008 14:21:32 +0000 (14:21 +0000)]
add infrastructure so that timing source can be a loadable module... next steps are to convert channel.c and chan_iax2.c to use this new API, and to move all the DAHDI-specific timing source code into a new res_timing_dahdi module

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

11 years agoDon't log not being able to set a default EID. Most people don't care, and
Russell Bryant [Thu, 12 Jun 2008 14:06:38 +0000 (14:06 +0000)]
Don't log not being able to set a default EID.  Most people don't care, and
those that do can check their setup using CLI commands.
(closes issue #12839)

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

11 years agoBlocked revisions 121992 via svnmerge
Terry Wilson [Wed, 11 Jun 2008 23:48:38 +0000 (23:48 +0000)]
Blocked revisions 121992 via svnmerge

........
r121992 | twilson | 2008-06-11 18:47:23 -0500 (Wed, 11 Jun 2008) | 2 lines

Backport fix for 11520--for some reason I didn't do this back in February when I patched for trunk.

........

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

11 years agoInitialize parkingtime to DEFAULT_PARK_TIME instead of 0
Terry Wilson [Wed, 11 Jun 2008 21:38:40 +0000 (21:38 +0000)]
Initialize parkingtime to DEFAULT_PARK_TIME instead of 0

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

11 years agoFix pseudo channel allocation errors on startup when using SS7
Matthew Fredrickson [Wed, 11 Jun 2008 18:53:10 +0000 (18:53 +0000)]
Fix pseudo channel allocation errors on startup when using SS7

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

11 years agoMerged revisions 121861 via svnmerge from
Tilghman Lesher [Wed, 11 Jun 2008 18:19:24 +0000 (18:19 +0000)]
Merged revisions 121861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121861 | tilghman | 2008-06-11 13:18:16 -0500 (Wed, 11 Jun 2008) | 3 lines

Make calls to ast_assert() actually test something, so that the error message
printed is not nonsensical (reported by mvanbaak via #asterisk-bugs).

........

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

11 years agoMake sure we hangup any calls we have and NULL out the ss7call value when we get...
Matthew Fredrickson [Wed, 11 Jun 2008 17:50:17 +0000 (17:50 +0000)]
Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug

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

11 years agoExpand CDR uniqueid field to 150 chars, to account for maximum systemname.
Tilghman Lesher [Wed, 11 Jun 2008 17:44:39 +0000 (17:44 +0000)]
Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
(Closes issue #12831)

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

11 years agoMerged revisions 121804 via svnmerge from
Jeff Peeler [Wed, 11 Jun 2008 16:11:40 +0000 (16:11 +0000)]
Merged revisions 121804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121804 | jpeeler | 2008-06-11 11:11:09 -0500 (Wed, 11 Jun 2008) | 1 line

add instructions for logging gdb output via set logging on
........

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

11 years agoMerged revisions 121751 via svnmerge from
Christian Richter [Wed, 11 Jun 2008 11:52:18 +0000 (11:52 +0000)]
Merged revisions 121751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121751 | crichter | 2008-06-11 11:28:04 +0200 (Mi, 11 Jun 2008) | 1 line

fixed issue with previous commit, the find_free_channel test for channels which where inuse was broken.
........

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

11 years agodon't refer to asterisk-events, as that implies that the code was checked out from...
Russell Bryant [Tue, 10 Jun 2008 21:51:06 +0000 (21:51 +0000)]
don't refer to asterisk-events, as that implies that the code was checked out from a branch

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

11 years agoMove the table cache routines to res_odbc, so they can be used from other
Tilghman Lesher [Tue, 10 Jun 2008 21:14:58 +0000 (21:14 +0000)]
Move the table cache routines to res_odbc, so they can be used from other
places (app_voicemail, for example).
(Related to bug #11678)

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