]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
19 years agoclean up sample config, and make native file playback the more obvious default choice
Kevin P. Fleming [Tue, 7 Nov 2006 18:56:21 +0000 (18:56 +0000)] 
clean up sample config, and make native file playback the more obvious default choice

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

19 years agolarge overhaul to voicemail imap support. Allows support for more imap servers,
Matt O'Gorman [Tue, 7 Nov 2006 18:38:32 +0000 (18:38 +0000)] 
large overhaul to voicemail imap support.  Allows support for more imap servers,
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades.

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

19 years agoIssue 8303 (lrizzo) - break instead of continue.
Olle Johansson [Tue, 7 Nov 2006 17:30:17 +0000 (17:30 +0000)] 
Issue 8303 (lrizzo) - break instead of continue.

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

19 years agoremove another incorrect property
Kevin P. Fleming [Tue, 7 Nov 2006 14:25:33 +0000 (14:25 +0000)] 
remove another incorrect property

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

19 years agouse editable URL for menuselect
Kevin P. Fleming [Tue, 7 Nov 2006 14:12:43 +0000 (14:12 +0000)] 
use editable URL for menuselect

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

19 years agoFixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply...
Olle Johansson [Tue, 7 Nov 2006 13:13:51 +0000 (13:13 +0000)] 
Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK

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

19 years agoMerged revisions 47238 via svnmerge from
Russell Bryant [Tue, 7 Nov 2006 01:25:10 +0000 (01:25 +0000)] 
Merged revisions 47238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47238 | russell | 2006-11-06 20:22:58 -0500 (Mon, 06 Nov 2006) | 5 lines

If random order is enabled for files mode music on hold, set a random initial
position, instead of always starting at the first file, and doing the random
operation only when switching to the next file.
(bug reported by John Lange on the asterisk-dev mailing list)

........

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

19 years agoIssue #8284: Fixes to Invite/replaces and transfer from "john"
Olle Johansson [Sat, 4 Nov 2006 18:32:02 +0000 (18:32 +0000)] 
Issue #8284: Fixes to Invite/replaces and transfer from "john"
Thank you!

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

19 years agoFix another bug in "core set debug" ...
Russell Bryant [Sat, 4 Nov 2006 18:10:22 +0000 (18:10 +0000)] 
Fix another bug in "core set debug" ...

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

19 years agoReally fix the "core set debug" and "core set verbose" CLI commands.
Russell Bryant [Sat, 4 Nov 2006 17:59:39 +0000 (17:59 +0000)] 
Really fix the "core set debug" and "core set verbose" CLI commands.

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

19 years agofix the "atleast" option to the "core set verbose" and "core set debug"
Russell Bryant [Sat, 4 Nov 2006 17:38:24 +0000 (17:38 +0000)] 
fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands

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

19 years agoThis fix introduced via bug 8233
Steve Murphy [Fri, 3 Nov 2006 23:17:01 +0000 (23:17 +0000)] 
This fix introduced via bug 8233

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

19 years agoalign bootstrap.sh with the version in trunk
Luigi Rizzo [Fri, 3 Nov 2006 17:53:13 +0000 (17:53 +0000)] 
align bootstrap.sh with the version in trunk
(needs to be blocked as it is already in trunk)

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

19 years agoadd proper environment vars to detect modules on freebsd.
Luigi Rizzo [Fri, 3 Nov 2006 17:46:10 +0000 (17:46 +0000)] 
add proper environment vars to detect modules on freebsd.
(already applied to trunk so it needs to be blocked there)

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

19 years agoMore changes making the CLI more consistent with "category verb arguments" (continuat...
Tilghman Lesher [Thu, 2 Nov 2006 23:49:13 +0000 (23:49 +0000)] 
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)

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

19 years agoReverse change of "show" to "list" and make several other commands more consistent...
Tilghman Lesher [Thu, 2 Nov 2006 23:00:20 +0000 (23:00 +0000)] 
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"

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

19 years agoMove check for codec translation to sip_call() instead of in add_sdp. No one bothers
Olle Johansson [Thu, 2 Nov 2006 19:56:30 +0000 (19:56 +0000)] 
Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
with the result of add_sdp anyway... Yet...

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

19 years agoDisable code for T38 over TCP and RTP since there's no trace of actual functionality...
Olle Johansson [Thu, 2 Nov 2006 18:26:57 +0000 (18:26 +0000)] 
Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)

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

19 years agoMerged revisions 46964 via svnmerge from
Russell Bryant [Thu, 2 Nov 2006 17:49:54 +0000 (17:49 +0000)] 
Merged revisions 46964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46964 | russell | 2006-11-02 12:47:56 -0500 (Thu, 02 Nov 2006) | 3 lines

ignore files in a music on hold directory that begin with '.'
(issue #8249, cboie)

........

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

19 years agofind_free_chan_in_stack usage fix
Nadi Sarrar [Thu, 2 Nov 2006 17:17:36 +0000 (17:17 +0000)] 
find_free_chan_in_stack usage fix

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

19 years agodon't send INVITE when we have determined that we can't offer any audio formats due...
Kevin P. Fleming [Thu, 2 Nov 2006 16:45:32 +0000 (16:45 +0000)] 
don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)

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

19 years agoMerged revisions 46920 via svnmerge from
Joshua Colp [Thu, 2 Nov 2006 16:06:39 +0000 (16:06 +0000)] 
Merged revisions 46920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines

Repeat after me oej: I will at least make sure my code compiles before I commit it.

........

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

19 years agoDont overwrite pkt->flags (from 1.2)
Olle Johansson [Thu, 2 Nov 2006 15:24:30 +0000 (15:24 +0000)] 
Dont overwrite pkt->flags (from 1.2)

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

19 years agoAdd the missing call to free described in issue #8268. Also, add a bunch of
Russell Bryant [Thu, 2 Nov 2006 14:02:37 +0000 (14:02 +0000)] 
Add the missing call to free described in issue #8268.  Also, add a bunch of
missing calls to free in callerid_feed_jp().

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

19 years agofix saying one hundred and two hundred in hebrew (issue #7810, eldadran)
Russell Bryant [Wed, 1 Nov 2006 23:01:48 +0000 (23:01 +0000)] 
fix saying one hundred and two hundred in hebrew (issue #7810, eldadran)

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

19 years agoFixes for cross-compilation on mips
Russell Bryant [Wed, 1 Nov 2006 22:51:21 +0000 (22:51 +0000)] 
Fixes for cross-compilation on mips
(issue #8058, ywalther, with some modifications)

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

19 years agoAdd a check in the configure script to determine whether ld is GNU ld or not.
Russell Bryant [Wed, 1 Nov 2006 22:32:12 +0000 (22:32 +0000)] 
Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)

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

19 years agobind address support from bug 8164
Matt O'Gorman [Wed, 1 Nov 2006 20:35:41 +0000 (20:35 +0000)] 
bind address support from bug 8164

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

19 years agoa fix for bug 8251; the var_val needs to accept longer strings or mass confusion...
Steve Murphy [Wed, 1 Nov 2006 19:49:40 +0000 (19:49 +0000)] 
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result

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

19 years agoForce poll() emulation for Darwin to always be on. It's too broken to consider being...
Joshua Colp [Wed, 1 Nov 2006 18:39:47 +0000 (18:39 +0000)] 
Force poll() emulation for Darwin to always be on. It's too broken to consider being used. This resolves the console issue OSX users have been seeing. I would have liked to autoconf this but I haven't been able to come up with a test case that works. Que sera.

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

19 years agoMerged revisions 46776 via svnmerge from
Russell Bryant [Wed, 1 Nov 2006 18:26:35 +0000 (18:26 +0000)] 
Merged revisions 46776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) | 9 lines

soxmix and Asterisk expect different file extensions for certain formats.  This
was already handled for the wav49 format.  However, it was not handled for
ulaw and alaw.  I fixed this in such a way that using the alternate extensions
for ulaw and alaw will only happen if we know we're calling soxmix, and not a
custom script defined using the MONITOR_EXEC variable.  The wav49 processing
was left alone so that external scripts will see no behavior change.
(issue #7550, reported by mnicholson, proposed patch by junky, committed fix
is a bit different)

........

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

19 years agoIt's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues peopl...
Joshua Colp [Wed, 1 Nov 2006 18:21:34 +0000 (18:21 +0000)] 
It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.

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

19 years agoCleanups suggested by Russell.
Steve Murphy [Wed, 1 Nov 2006 17:48:48 +0000 (17:48 +0000)] 
Cleanups suggested by Russell.

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

19 years agoPrevent an infinite loop when config processing gets to a jitterbuffer option
Russell Bryant [Wed, 1 Nov 2006 16:39:09 +0000 (16:39 +0000)] 
Prevent an infinite loop when config processing gets to a jitterbuffer option

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

19 years agoFix "core show translation" output. Issue #8243, patch by Damin.
Jason Parker [Tue, 31 Oct 2006 22:02:15 +0000 (22:02 +0000)] 
Fix "core show translation" output.  Issue #8243, patch by Damin.

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

19 years agoadd an API so that translators can activate/deactivate themselves when needed
Kevin P. Fleming [Tue, 31 Oct 2006 21:47:48 +0000 (21:47 +0000)] 
add an API so that translators can activate/deactivate themselves when needed

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

19 years agorevert changes that were the wrong way to address this... proper fix coming
Kevin P. Fleming [Tue, 31 Oct 2006 21:36:17 +0000 (21:36 +0000)] 
revert changes that were the wrong way to address this... proper fix coming

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

19 years agolet's set the seen flag early enough to actually make a difference...
Kevin P. Fleming [Tue, 31 Oct 2006 21:25:20 +0000 (21:25 +0000)] 
let's set the seen flag early enough to actually make a difference...

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

19 years agodon't re-do setup operations for translators that can dynamically register themselves
Kevin P. Fleming [Tue, 31 Oct 2006 21:23:06 +0000 (21:23 +0000)] 
don't re-do setup operations for translators that can dynamically register themselves

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

19 years agoBlocked revisions 46662 via svnmerge
Tilghman Lesher [Tue, 31 Oct 2006 15:49:15 +0000 (15:49 +0000)] 
Blocked revisions 46662 via svnmerge

........
r46662 | tilghman | 2006-10-31 09:46:04 -0600 (Tue, 31 Oct 2006) | 3 lines

Move thread-unsafe initializer to the module loading code; add the
corresponding function to the module unload to fix a memory leak.

........

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

19 years agoIssue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
Olle Johansson [Tue, 31 Oct 2006 10:56:20 +0000 (10:56 +0000)] 
Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!

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

19 years agoSupport ;rport when we're supposed to support ;rport. Issue #7473.
Olle Johansson [Tue, 31 Oct 2006 10:26:16 +0000 (10:26 +0000)] 
Support ;rport when we're supposed to support ;rport. Issue #7473.

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

19 years agoIf peer fails ACL check, fail peer at REGISTER
Olle Johansson [Tue, 31 Oct 2006 09:17:53 +0000 (09:17 +0000)] 
If peer fails ACL check, fail peer at REGISTER

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

19 years agoBlock my messing around in the 1.2 branch...
Olle Johansson [Tue, 31 Oct 2006 09:07:40 +0000 (09:07 +0000)] 
Block my messing around in the 1.2 branch...

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

19 years agoFix T38 too. Thanks, tgrman !
Olle Johansson [Tue, 31 Oct 2006 08:28:38 +0000 (08:28 +0000)] 
Fix T38 too. Thanks, tgrman !

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

19 years agoStart Asterisk later in the boot process to ensure it starts after stuff like
Russell Bryant [Tue, 31 Oct 2006 06:30:53 +0000 (06:30 +0000)] 
Start Asterisk later in the boot process to ensure it starts after stuff like
MySQL (issue #8253, Alric)

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

19 years agoMerged revisions 46560 via svnmerge from
Russell Bryant [Tue, 31 Oct 2006 06:19:56 +0000 (06:19 +0000)] 
Merged revisions 46560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) | 3 lines

When handling the case where the hostname is just an IPV4 numeric address,
be sure to set the address type.  (issue #8247, alexr)

........

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

19 years agoMerged revisions 46557 via svnmerge from
Russell Bryant [Tue, 31 Oct 2006 06:14:13 +0000 (06:14 +0000)] 
Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines

fix some copy/paste bugs in the checking of arguments for the
"control stream file" AGI command (issue #8255, mnicholson)

........

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

19 years agoAdd a small tweak to the code that checks to see whether destination formats
Russell Bryant [Tue, 31 Oct 2006 05:55:07 +0000 (05:55 +0000)] 
Add a small tweak to the code that checks to see whether destination formats
are translatable based on the source format.  If we have already determined
that there is no translation path in one direction, don't bother checking the
other direction.

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

19 years agospelling typo
Matt O'Gorman [Mon, 30 Oct 2006 22:25:43 +0000 (22:25 +0000)] 
spelling typo

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

19 years agoformatting fix.
Matt O'Gorman [Mon, 30 Oct 2006 22:22:34 +0000 (22:22 +0000)] 
formatting fix.

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

19 years agowhen unregistering a translator, don't rebuild the translation matrix unless needed
Kevin P. Fleming [Mon, 30 Oct 2006 22:19:55 +0000 (22:19 +0000)] 
when unregistering a translator, don't rebuild the translation matrix unless needed
when filtering formats out of an offer, ensure we check for translation ability in both directions

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

19 years agoensure that items removed from a list are always unlinked from the list (next pointer...
Kevin P. Fleming [Mon, 30 Oct 2006 21:46:07 +0000 (21:46 +0000)] 
ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)

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

19 years agoDon't explicitly link in crypt as it is not used on some platforms.
Joshua Colp [Mon, 30 Oct 2006 21:09:13 +0000 (21:09 +0000)] 
Don't explicitly link in crypt as it is not used on some platforms.

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

19 years agoWe need to lock the pvt structure during retransmission as another worker thread...
Joshua Colp [Mon, 30 Oct 2006 18:13:07 +0000 (18:13 +0000)] 
We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.

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

19 years agoIssue #8246 - Doxygen fixes from kshumard.
Olle Johansson [Mon, 30 Oct 2006 16:27:34 +0000 (16:27 +0000)] 
Issue #8246 - Doxygen fixes from kshumard.

An extra big thankyou is given to everyone that contributes to doxygen!

THANK YOU!

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

19 years agoBind RTCP to the same IP as RTP
Olle Johansson [Mon, 30 Oct 2006 16:09:05 +0000 (16:09 +0000)] 
Bind RTCP to the same IP as RTP

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

19 years agoIssue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
Olle Johansson [Sun, 29 Oct 2006 19:31:58 +0000 (19:31 +0000)] 
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)

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

19 years agoIssue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
Olle Johansson [Sun, 29 Oct 2006 19:12:18 +0000 (19:12 +0000)] 
Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)

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

19 years agoBackport of patch for #7828 that was reported for trunk, but obviously
Olle Johansson [Sun, 29 Oct 2006 17:16:38 +0000 (17:16 +0000)] 
Backport of patch for #7828 that was reported for trunk, but obviously
exists in 1.4 too.

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

19 years agoRestoring the old logic, since working around it and fixing it seemed too complicated.
Olle Johansson [Sun, 29 Oct 2006 08:45:05 +0000 (08:45 +0000)] 
Restoring the old logic, since working around it and fixing it seemed too complicated.

- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the
  latest transaction.

Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!

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

19 years agoAccepting a message twice may be misinterpreted...
Olle Johansson [Sat, 28 Oct 2006 20:25:18 +0000 (20:25 +0000)] 
Accepting a message twice may be misinterpreted...

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

19 years ago- 183 is not reliable message...
Olle Johansson [Sat, 28 Oct 2006 19:08:58 +0000 (19:08 +0000)] 
- 183 is not reliable message...
- Error should not have SDP

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

19 years agoDon't build muted on OpenBSD, it is not supported.
Joshua Colp [Sat, 28 Oct 2006 16:37:44 +0000 (16:37 +0000)] 
Don't build muted on OpenBSD, it is not supported.

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

19 years agomove the copy of the default settings to the global settings back out of
Russell Bryant [Fri, 27 Oct 2006 19:03:32 +0000 (19:03 +0000)] 
move the copy of the default settings to the global settings back out of
process_zap, so that they aren't overwritten when process_zap is called
multiple times

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

19 years agoPut some doxygen pressure on Christian :-)
Olle Johansson [Fri, 27 Oct 2006 18:29:21 +0000 (18:29 +0000)] 
Put some doxygen pressure on Christian :-)

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

19 years agoWe should always be using _exit() after a fork() or vfork() instead of exit().
Russell Bryant [Fri, 27 Oct 2006 17:39:31 +0000 (17:39 +0000)] 
We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)

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

19 years agoBlocked revisions 46361 via svnmerge
Russell Bryant [Fri, 27 Oct 2006 17:37:20 +0000 (17:37 +0000)] 
Blocked revisions 46361 via svnmerge

........
r46361 | russell | 2006-10-27 12:36:07 -0500 (Fri, 27 Oct 2006) | 5 lines

We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)

........

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

19 years agoInstead of iterating all of the options once to look for jitterbuffer options,
Russell Bryant [Fri, 27 Oct 2006 15:32:40 +0000 (15:32 +0000)] 
Instead of iterating all of the options once to look for jitterbuffer options,
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options.  (issue #8226)

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

19 years agoMerged revisions 46350 via svnmerge from
Christian Richter [Fri, 27 Oct 2006 10:03:23 +0000 (10:03 +0000)] 
Merged revisions 46350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line

fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c
........

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

19 years agofixed not compile issue, which was just introduced
Christian Richter [Fri, 27 Oct 2006 09:58:44 +0000 (09:58 +0000)] 
fixed not compile issue, which was just introduced

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

19 years agoMerged revisions 46176 via svnmerge from
Christian Richter [Fri, 27 Oct 2006 09:49:20 +0000 (09:49 +0000)] 
Merged revisions 46176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line

added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session
........

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

19 years agoFix small formatting issue, that causes misaligned line
Jason Parker [Thu, 26 Oct 2006 20:25:44 +0000 (20:25 +0000)] 
Fix small formatting issue, that causes misaligned line

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

19 years agoBlock patch that only applies to 1.2
Olle Johansson [Thu, 26 Oct 2006 20:12:07 +0000 (20:12 +0000)] 
Block patch that only applies to 1.2

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

19 years agoMerged revisions 46337 via svnmerge from
Jason Parker [Thu, 26 Oct 2006 17:57:56 +0000 (17:57 +0000)] 
Merged revisions 46337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46337 | qwell | 2006-10-26 12:47:52 -0500 (Thu, 26 Oct 2006) | 2 lines

oops - somebody forgot to change this - long ago, probably.

........

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

19 years agogrammar check
Jason Parker [Thu, 26 Oct 2006 17:38:05 +0000 (17:38 +0000)] 
grammar check

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

19 years agoCorrections to changes
Olle Johansson [Thu, 26 Oct 2006 16:38:56 +0000 (16:38 +0000)] 
Corrections to changes
(Multiparking is not included)

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

19 years ago- If the source has no audio or no video portion, do not call powerof() to
Russell Bryant [Thu, 26 Oct 2006 16:31:05 +0000 (16:31 +0000)] 
- If the source has no audio or no video portion, do not call powerof() to
  get the format index.
- Don't run through the audio and video loops if there is no audio or video
  portion of the source
If 0 is passed to powerof, it will return -1.  This value of -1 was then being
used as an array index in these loops, which caused a crash on some systems.
Other than this issue, this code works as we expected it to.  If a format is
not in the source, and we have to translation path to it, it is not offered in
the list of acceptable destination formats.
(fixes issue #8231)

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

19 years agoupdate to reflect G.722 addition
Kevin P. Fleming [Thu, 26 Oct 2006 12:15:58 +0000 (12:15 +0000)] 
update to reflect G.722 addition

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

19 years agoupdate backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)
Russell Bryant [Thu, 26 Oct 2006 04:18:00 +0000 (04:18 +0000)] 
update backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)

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

19 years agoFix config comment code preservation code (thanks murf!)
Mark Spencer [Thu, 26 Oct 2006 01:37:40 +0000 (01:37 +0000)] 
Fix config comment code preservation code (thanks murf!)

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

19 years agoOld todo note - Don't add Contact header on BYE and Cancel
Olle Johansson [Wed, 25 Oct 2006 20:14:57 +0000 (20:14 +0000)] 
Old todo note - Don't add Contact header on BYE and Cancel

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

19 years agoregenerate configure script
Russell Bryant [Wed, 25 Oct 2006 19:24:11 +0000 (19:24 +0000)] 
regenerate configure script

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

19 years agofix error output when checking for openh323 to refer to openh323 instead
Russell Bryant [Wed, 25 Oct 2006 19:20:23 +0000 (19:20 +0000)] 
fix error output when checking for openh323 to refer to openh323 instead
of pwlib (issue #8222, misaksen)

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

19 years agoSomewhat ugly code to try to fix issue #7608.
Olle Johansson [Wed, 25 Oct 2006 19:16:10 +0000 (19:16 +0000)] 
Somewhat ugly code to try to fix issue #7608.
Since the problem was not very well defined, the fix is a bit fuzzy too...
Thanks to Luigi for accidentally spotting the possible problem!

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

19 years agoupdate warning message to include "agi" option (issue #8225, jmls)
Russell Bryant [Wed, 25 Oct 2006 19:08:18 +0000 (19:08 +0000)] 
update warning message to include "agi" option (issue #8225, jmls)

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

19 years agouse 1.4.3 extra sounds with corrected silence files
Kevin P. Fleming [Wed, 25 Oct 2006 18:13:54 +0000 (18:13 +0000)] 
use 1.4.3 extra sounds with corrected silence files

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

19 years agoadd support for prebuilt G.722 prompts and music on hold files
Kevin P. Fleming [Wed, 25 Oct 2006 17:08:58 +0000 (17:08 +0000)] 
add support for prebuilt G.722 prompts and music on hold files

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

19 years agoshow settings doesn't produce a list
Olle Johansson [Wed, 25 Oct 2006 15:56:08 +0000 (15:56 +0000)] 
show settings doesn't produce a list
of similar objects, it should stay a "show"

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

19 years agoBlock change to 1.2 that was already committed to 1.4
Olle Johansson [Wed, 25 Oct 2006 15:52:29 +0000 (15:52 +0000)] 
Block change to 1.2 that was already committed to 1.4

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

19 years agoapparently developers are still not aware that they should be use ast_copy_string...
Kevin P. Fleming [Wed, 25 Oct 2006 14:32:08 +0000 (14:32 +0000)] 
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process

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

19 years agoWaitExten truncates decimals of times to wait, instead of accepting them (Bug 8208)
Tilghman Lesher [Wed, 25 Oct 2006 04:58:44 +0000 (04:58 +0000)] 
WaitExten truncates decimals of times to wait, instead of accepting them (Bug 8208)

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

19 years agoadd passthrough and file format support for G.722 16KHz audio (issue #5084, original...
Kevin P. Fleming [Wed, 25 Oct 2006 00:26:17 +0000 (00:26 +0000)] 
add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)

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

19 years agocode zone experiment: don't offer formats in the outbound INVITE that aren't either...
Kevin P. Fleming [Wed, 25 Oct 2006 00:10:54 +0000 (00:10 +0000)] 
code zone experiment: don't offer formats in the outbound INVITE that aren't either passthrough or translatable

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

19 years agoif multiple translators are registered for the same source/dest combination, ensure...
Kevin P. Fleming [Tue, 24 Oct 2006 23:45:19 +0000 (23:45 +0000)] 
if multiple translators are registered for the same source/dest combination, ensure that the lowest-cost one is always inserted earlier in the list

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

19 years agoFix FastAGI when there is no pid (bug #7628, #8147)
Mark Spencer [Tue, 24 Oct 2006 20:30:25 +0000 (20:30 +0000)] 
Fix FastAGI when there is no pid (bug #7628, #8147)

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

19 years agoWe need to initialize our scheduler pthread condition... yes.
Joshua Colp [Tue, 24 Oct 2006 19:29:56 +0000 (19:29 +0000)] 
We need to initialize our scheduler pthread condition... yes.

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

19 years agomerge 45152 don't leak descriptors in http.c
Luigi Rizzo [Tue, 24 Oct 2006 08:34:23 +0000 (08:34 +0000)] 
merge 45152   don't leak descriptors in http.c

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

19 years agomerge 45966 refer_to_domain potentially containing options
Luigi Rizzo [Tue, 24 Oct 2006 08:32:15 +0000 (08:32 +0000)] 
merge 45966   refer_to_domain potentially containing options

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

19 years agomerge 46026 improper checks on get_header() return values
Luigi Rizzo [Tue, 24 Oct 2006 08:30:26 +0000 (08:30 +0000)] 
merge 46026   improper checks on get_header() return values

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