asterisk/asterisk.git
13 years agoa fix for bug 8251; the var_val needs to accept longer strings or mass confusion...
Steve Murphy [Wed, 1 Nov 2006 19:48:40 +0000 (19:48 +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/trunk@46801 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 46780 via svnmerge from
Joshua Colp [Wed, 1 Nov 2006 18:41:49 +0000 (18:41 +0000)]
Merged revisions 46780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46780 | file | 2006-11-01 13:39:47 -0500 (Wed, 01 Nov 2006) | 2 lines

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/trunk@46782 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd the ability to pass options to the Dial application when using the DUNDi
Russell Bryant [Wed, 1 Nov 2006 18:40:13 +0000 (18:40 +0000)]
Add the ability to pass options to the Dial application when using the DUNDi
switch in the dialplan by setting the DUNDIDIALARGS channel variable.
(issue #8084, patch by bluecrow76, with small modifications and documentation
updates)

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

13 years agoMerged revisions 46778 via svnmerge from
Russell Bryant [Wed, 1 Nov 2006 18:29:05 +0000 (18:29 +0000)]
Merged revisions 46778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r46778 | russell | 2006-11-01 13:26:35 -0500 (Wed, 01 Nov 2006) | 17 lines

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/trunk@46779 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 46775 via svnmerge from
Joshua Colp [Wed, 1 Nov 2006 18:26:12 +0000 (18:26 +0000)]
Merged revisions 46775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46775 | file | 2006-11-01 13:21:34 -0500 (Wed, 01 Nov 2006) | 2 lines

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/trunk@46777 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoOOps. forgot to add this to CHANGES
Steve Murphy [Wed, 1 Nov 2006 18:16:28 +0000 (18:16 +0000)]
OOps. forgot to add this to CHANGES

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

13 years agoThis introduces Brazilian Portuguese via 7663
Steve Murphy [Wed, 1 Nov 2006 18:14:17 +0000 (18:14 +0000)]
This introduces Brazilian Portuguese via 7663

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

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

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

13 years agomove variable declaration in the middle of a block
Luigi Rizzo [Wed, 1 Nov 2006 17:09:47 +0000 (17:09 +0000)]
move variable declaration in the middle of a block

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

13 years agoMerged revisions 46744 via svnmerge from
Russell Bryant [Wed, 1 Nov 2006 16:51:26 +0000 (16:51 +0000)]
Merged revisions 46744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46744 | russell | 2006-11-01 11:39:09 -0500 (Wed, 01 Nov 2006) | 2 lines

Prevent an infinite loop when config processing gets to a jitterbuffer option

........

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

13 years agochange default return extension after parking timeout.
Matt O'Gorman [Wed, 1 Nov 2006 00:07:37 +0000 (00:07 +0000)]
change default return extension after parking timeout.
6953 with minor changes.

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

13 years agoMerged revisions 46714 via svnmerge from
Kevin P. Fleming [Tue, 31 Oct 2006 22:19:08 +0000 (22:19 +0000)]
Merged revisions 46714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46714 | kpfleming | 2006-10-31 15:47:48 -0600 (Tue, 31 Oct 2006) | 2 lines

add an API so that translators can activate/deactivate themselves when needed

........

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

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

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

13 years agoBlocked revisions 46716 via svnmerge
Jason Parker [Tue, 31 Oct 2006 22:06:27 +0000 (22:06 +0000)]
Blocked revisions 46716 via svnmerge

........
r46716 | qwell | 2006-10-31 16:02:15 -0600 (Tue, 31 Oct 2006) | 2 lines

Fix "core show translation" output.  Issue #8243, patch by Damin.

........

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

13 years agoremove old/useless usecount handling
Luigi Rizzo [Tue, 31 Oct 2006 18:10:21 +0000 (18:10 +0000)]
remove old/useless usecount handling

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

13 years agoremove old/useless usecount stuff.
Luigi Rizzo [Tue, 31 Oct 2006 18:04:19 +0000 (18:04 +0000)]
remove old/useless usecount stuff.

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

13 years agoremove old/useless usecount management code.
Luigi Rizzo [Tue, 31 Oct 2006 17:58:49 +0000 (17:58 +0000)]
remove old/useless usecount management code.

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

13 years agoFix the new send text manager command. There is no way this could have worked.
Russell Bryant [Tue, 31 Oct 2006 15:22:28 +0000 (15:22 +0000)]
Fix the new send text manager command.  There is no way this could have worked.

- Check the channel name string length to be zero, not non-zero
- Check the message string length to be zero, not non-zero
- unlock the channel *after* calling sendtext

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

13 years agoSet #define for TIMER T1 value
Olle Johansson [Tue, 31 Oct 2006 13:56:33 +0000 (13:56 +0000)]
Set #define for TIMER T1 value

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

13 years agoCleaning up code
Olle Johansson [Tue, 31 Oct 2006 13:51:30 +0000 (13:51 +0000)]
Cleaning up code

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

13 years agoIssue #80898 - Restoring func_enum (otmar)
Olle Johansson [Tue, 31 Oct 2006 11:01:06 +0000 (11:01 +0000)]
Issue #80898 - Restoring func_enum (otmar)

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

13 years agoAdd manager sendtext action. (Issue 6131, ZX81 - thanks!)
Olle Johansson [Tue, 31 Oct 2006 10:42:22 +0000 (10:42 +0000)]
Add manager sendtext action. (Issue 6131, ZX81 - thanks!)

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

13 years agoFix rport handling.
Olle Johansson [Tue, 31 Oct 2006 10:29:24 +0000 (10:29 +0000)]
Fix rport handling.

...where did the 1.2 properties come from, really? they're back.

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

13 years ago- If peer that register fails ACL, fail him
Olle Johansson [Tue, 31 Oct 2006 09:24:55 +0000 (09:24 +0000)]
- If peer that register fails ACL, fail him
- Remove the 1.2 props I've set by mistake earlier

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

13 years agoBlock patch that only applies to 1.4
Olle Johansson [Tue, 31 Oct 2006 08:35:54 +0000 (08:35 +0000)]
Block patch that only applies to 1.4

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

13 years agoTake two, using find_resource on Kevin's suggestion.
Olle Johansson [Tue, 31 Oct 2006 08:08:56 +0000 (08:08 +0000)]
Take two, using find_resource on Kevin's suggestion.
Might need better locking support, giving up if we can't get the lock. Right now,
using existing locking in find_resource

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

13 years agoadd author doxygen tag (issue #8241, kshumard)
Russell Bryant [Tue, 31 Oct 2006 06:37:48 +0000 (06:37 +0000)]
add author doxygen tag (issue #8241, kshumard)

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

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

........
r46563 | russell | 2006-10-31 01:30:53 -0500 (Tue, 31 Oct 2006) | 3 lines

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/trunk@46564 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

................
r46561 | russell | 2006-10-31 01:19:56 -0500 (Tue, 31 Oct 2006) | 11 lines

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/trunk@46562 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

................
r46558 | russell | 2006-10-31 01:14:13 -0500 (Tue, 31 Oct 2006) | 11 lines

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/trunk@46559 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

........
r46554 | russell | 2006-10-31 00:55:07 -0500 (Tue, 31 Oct 2006) | 5 lines

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/trunk@46556 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoThese changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk...
Steve Murphy [Mon, 30 Oct 2006 23:11:55 +0000 (23:11 +0000)]
These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.

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

13 years agoMerged revisions 46526 via svnmerge from
Kevin P. Fleming [Mon, 30 Oct 2006 22:27:56 +0000 (22:27 +0000)]
Merged revisions 46526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46526 | kpfleming | 2006-10-30 16:19:55 -0600 (Mon, 30 Oct 2006) | 3 lines

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/trunk@46529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoshow, list, view, display... whatever.
Olle Johansson [Mon, 30 Oct 2006 21:56:48 +0000 (21:56 +0000)]
show, list, view, display... whatever.

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

13 years agoAdding dialplan function IFMODULE, so you can create dialplans that handle
Olle Johansson [Mon, 30 Oct 2006 21:48:41 +0000 (21:48 +0000)]
Adding dialplan function IFMODULE, so you can create dialplans that handle
various PBX installations and checks if a module is loaded before using
it.
example IFMODULE(chan_sip3.so)

issue #6671 in the bug tracker, finally gone. Thanks to mithraen for keeping
it updated.

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

13 years agoMerged revisions 46511 via svnmerge from
Kevin P. Fleming [Mon, 30 Oct 2006 21:46:34 +0000 (21:46 +0000)]
Merged revisions 46511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46511 | kpfleming | 2006-10-30 15:46:07 -0600 (Mon, 30 Oct 2006) | 2 lines

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/trunk@46512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoUpdate sip list to eventlist format.
Olle Johansson [Mon, 30 Oct 2006 21:22:41 +0000 (21:22 +0000)]
Update sip list to eventlist format.

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

13 years agoIssue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtrack...
Olle Johansson [Mon, 30 Oct 2006 21:18:39 +0000 (21:18 +0000)]
Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)

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

13 years agoMerged revisions 46506 via svnmerge from
Joshua Colp [Mon, 30 Oct 2006 21:11:37 +0000 (21:11 +0000)]
Merged revisions 46506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46506 | file | 2006-10-30 16:09:13 -0500 (Mon, 30 Oct 2006) | 2 lines

Don't explicitly link in crypt as it is not used on some platforms.

........

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

13 years agoChange name of "contact" setting to "callback" which better reflects what it
Olle Johansson [Mon, 30 Oct 2006 19:56:14 +0000 (19:56 +0000)]
Change name of "contact" setting to "callback" which better reflects what it
is to the person that configures asterisk. That we use it internally in the
contact header is a totally different story.

Still not convinced this is a good option.

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

13 years agoGlobals need the "global_" prefix in chan_sip, and need to be reset to default value...
Olle Johansson [Mon, 30 Oct 2006 18:34:51 +0000 (18:34 +0000)]
Globals need the "global_" prefix in chan_sip, and need to be reset to default value at reload.

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

13 years agoMerged revisions 46474 via svnmerge from
Joshua Colp [Mon, 30 Oct 2006 18:17:02 +0000 (18:17 +0000)]
Merged revisions 46474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46474 | file | 2006-10-30 13:13:07 -0500 (Mon, 30 Oct 2006) | 2 lines

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/trunk@46475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMake sure we give the linkset number, not the offset in the linksets array
Matthew Fredrickson [Mon, 30 Oct 2006 18:04:28 +0000 (18:04 +0000)]
Make sure we give the linkset number, not the offset in the linksets array

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

13 years agoSmall conversion to ast_channel_unlock
Olle Johansson [Mon, 30 Oct 2006 18:02:37 +0000 (18:02 +0000)]
Small conversion to ast_channel_unlock

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

13 years agoSpecify which linkset we're getting the messages from in the message
Matthew Fredrickson [Mon, 30 Oct 2006 17:32:04 +0000 (17:32 +0000)]
Specify which linkset we're getting the messages from in the message

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

13 years agoIn debug mode, recognize that someone is sending zrtp, even though we
Olle Johansson [Mon, 30 Oct 2006 16:59:02 +0000 (16:59 +0000)]
In debug mode, recognize that someone is sending zrtp, even though we
can't do anything with it yet. Ideally a first step would be a
passthrough mode.

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

13 years agoDon't make errors when we don't need them
Matthew Fredrickson [Mon, 30 Oct 2006 16:50:22 +0000 (16:50 +0000)]
Don't make errors when we don't need them

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

13 years agoIssue 8246 Doxygen updates (kshumard)
Olle Johansson [Mon, 30 Oct 2006 16:33:02 +0000 (16:33 +0000)]
Issue 8246 Doxygen updates (kshumard)

THANK YOU!

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

13 years agoThe RTCP patch started in trunk, so don't start all over again :-)
Olle Johansson [Mon, 30 Oct 2006 16:11:08 +0000 (16:11 +0000)]
The RTCP patch started in trunk, so don't start all over again :-)

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

13 years agoSmall formatting changes
Olle Johansson [Sun, 29 Oct 2006 20:47:01 +0000 (20:47 +0000)]
Small formatting changes

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

13 years agoBind RTCP to the same IP as RTP.
Olle Johansson [Sun, 29 Oct 2006 20:21:33 +0000 (20:21 +0000)]
Bind RTCP to the same IP as RTP.

I currently don't see this as a bug that needs to be fixed in 1.4/1.2 too,
but feel free to backport if you see it that way. RTCP now binds to
ALL IP addresses on the host, RTP to a specific address.

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

13 years agoIssue #7869 - Stop retransmission of 302 redirects.
Olle Johansson [Sun, 29 Oct 2006 19:35:04 +0000 (19:35 +0000)]
Issue #7869 - Stop retransmission of 302 redirects.

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

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

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

13 years agoBlock patch from other branch
Olle Johansson [Sun, 29 Oct 2006 19:14:46 +0000 (19:14 +0000)]
Block patch from other branch

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

13 years agoIssues related to issue #7828 - segfault with MWI subscriptions and realtime.
Olle Johansson [Sun, 29 Oct 2006 17:07:47 +0000 (17:07 +0000)]
Issues related to issue #7828 - segfault with MWI subscriptions and realtime.

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

13 years ago- Fix the OUTGOING stuff (merge from 1.4)
Olle Johansson [Sun, 29 Oct 2006 16:58:07 +0000 (16:58 +0000)]
- Fix the OUTGOING stuff (merge from 1.4)
- Make sure we UNREF authpeer when not needed

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

13 years agoSpelling fix.
Olle Johansson [Sun, 29 Oct 2006 08:40:57 +0000 (08:40 +0000)]
Spelling fix.

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

13 years agoDocumentation update again
Olle Johansson [Sun, 29 Oct 2006 08:27:31 +0000 (08:27 +0000)]
Documentation update again

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

13 years agoDocumentation update (I guess)
Olle Johansson [Sun, 29 Oct 2006 08:26:05 +0000 (08:26 +0000)]
Documentation update (I guess)

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

13 years agoDocumentation correction
Olle Johansson [Sun, 29 Oct 2006 08:22:22 +0000 (08:22 +0000)]
Documentation correction

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

13 years agomaxtime is not needed any more now that we actually set the T1 timer
Olle Johansson [Sun, 29 Oct 2006 08:15:26 +0000 (08:15 +0000)]
maxtime is not needed any more now that we actually set the T1 timer
based on the qualify result.

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

13 years agoOnly accept message once
Olle Johansson [Sat, 28 Oct 2006 20:27:21 +0000 (20:27 +0000)]
Only accept message once

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

13 years agoAdding documentation inspired by a virtual drink with an anonymous man in New Jersey
Olle Johansson [Sat, 28 Oct 2006 20:05:19 +0000 (20:05 +0000)]
Adding documentation inspired by a virtual drink with an anonymous man in New Jersey

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

13 years agoDon't duplicate function if not needed...
Olle Johansson [Sat, 28 Oct 2006 19:30:31 +0000 (19:30 +0000)]
Don't duplicate function if not needed...
- removing transmit_reinvite_with_t38_sdp in favour of adding an argument to
  transmit_reinvite_with_sdp

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

13 years agoMerge from 1.4 : Don't send 183 reliably...
Olle Johansson [Sat, 28 Oct 2006 19:16:23 +0000 (19:16 +0000)]
Merge from 1.4 : Don't send 183 reliably...

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

13 years ago- Don't lock the dialoglist during the whole destruction of a single SIP dialog....
Olle Johansson [Sat, 28 Oct 2006 17:25:23 +0000 (17:25 +0000)]
- Don't lock the dialoglist during the whole destruction of a single SIP dialog. Only
  lock when needed - when we remove the dialog from the dialog list
  If this doesn't lead to severe problems, it might help with some locking issues
  in 1.4/1.2.
- Remove the term "interface" as a synonym for a SIP dialog. Sorry, Mark, but no
  one understands it... ;-)

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

13 years agoMerged revisions 46377 via svnmerge from
Joshua Colp [Sat, 28 Oct 2006 16:39:40 +0000 (16:39 +0000)]
Merged revisions 46377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46377 | file | 2006-10-28 12:37:44 -0400 (Sat, 28 Oct 2006) | 2 lines

Don't build muted on OpenBSD, it is not supported.

........

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

13 years ago Let's make sure we hold the mutex lock before we go looking at values in the queue...
BJ Weschke [Fri, 27 Oct 2006 19:28:34 +0000 (19:28 +0000)]
 Let's make sure we hold the mutex lock before we go looking at values in the queue structure that could potentially be changing while we're running.

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

13 years agoMerged revisions 46370 via svnmerge from
Russell Bryant [Fri, 27 Oct 2006 19:04:34 +0000 (19:04 +0000)]
Merged revisions 46370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46370 | russell | 2006-10-27 14:03:32 -0500 (Fri, 27 Oct 2006) | 4 lines

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/trunk@46371 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago * Added option to run macro when a queue member is connected to a caller,
BJ Weschke [Fri, 27 Oct 2006 18:59:16 +0000 (18:59 +0000)]
  * Added option to run macro when a queue member is connected to a caller,
     see queues.conf.sample for details.
  * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
    setqueueentryvar options for each queue, see queues.conf.sample for details.
(#8216, jmls reported and submitted)

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

13 years agoraise the pressure on Christian :-)
Olle Johansson [Fri, 27 Oct 2006 18:31:19 +0000 (18:31 +0000)]
raise the pressure on Christian :-)

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

13 years agoFirst pass at implementation to be able to block and unblock zap channels for
Matthew Fredrickson [Fri, 27 Oct 2006 17:46:04 +0000 (17:46 +0000)]
First pass at implementation to be able to block and unblock zap channels for
use.

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

13 years agoPut this patch on hold pending further testing...
Olle Johansson [Fri, 27 Oct 2006 17:45:43 +0000 (17:45 +0000)]
Put this patch on hold pending further testing...

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

13 years agoMerged revisions 46363 via svnmerge from
Russell Bryant [Fri, 27 Oct 2006 17:42:57 +0000 (17:42 +0000)]
Merged revisions 46363 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46363 | russell | 2006-10-27 12:39:31 -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/trunk@46364 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd the ability to customize some of the prompts used within the voicemail
Russell Bryant [Fri, 27 Oct 2006 16:47:44 +0000 (16:47 +0000)]
Add the ability to customize some of the prompts used within the voicemail
application by configuring them in voicemail.conf (issue #7415, patch by
fkasumovic, with some fixes and documentation updates by myself)

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

13 years agoMerged revisions 46358 via svnmerge from
Russell Bryant [Fri, 27 Oct 2006 15:44:34 +0000 (15:44 +0000)]
Merged revisions 46358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46358 | russell | 2006-10-27 10:32:40 -0500 (Fri, 27 Oct 2006) | 5 lines

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/trunk@46359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 46351-46353 via svnmerge from
Christian Richter [Fri, 27 Oct 2006 11:18:32 +0000 (11:18 +0000)]
Merged revisions 46351-46353 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r46351 | crichter | 2006-10-27 11:49:20 +0200 (Fr, 27 Okt 2006) | 9 lines

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

................
r46352 | crichter | 2006-10-27 11:58:44 +0200 (Fr, 27 Okt 2006) | 1 line

fixed not compile issue, which was just introduced
................
r46353 | crichter | 2006-10-27 12:03:23 +0200 (Fr, 27 Okt 2006) | 9 lines

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/trunk@46354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 46347 via svnmerge from
Jason Parker [Thu, 26 Oct 2006 20:27:52 +0000 (20:27 +0000)]
Merged revisions 46347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46347 | qwell | 2006-10-26 15:25:44 -0500 (Thu, 26 Oct 2006) | 2 lines

Fix small formatting issue, that causes misaligned line

........

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

13 years agoShow if the channel is ready for video or T.38 udptl
Olle Johansson [Thu, 26 Oct 2006 20:22:14 +0000 (20:22 +0000)]
Show if the channel is ready for video or T.38 udptl

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

13 years agooops - somebody forgot to change this - long ago, probably.
Jason Parker [Thu, 26 Oct 2006 18:04:46 +0000 (18:04 +0000)]
oops - somebody forgot to change this - long ago, probably.

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

13 years agofix various spelling mistakes in comments (issue #8237, jmls)
Russell Bryant [Thu, 26 Oct 2006 17:52:15 +0000 (17:52 +0000)]
fix various spelling mistakes in comments (issue #8237, jmls)

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

13 years agoMerged revisions 46329 via svnmerge from
Russell Bryant [Thu, 26 Oct 2006 16:35:34 +0000 (16:35 +0000)]
Merged revisions 46329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46329 | russell | 2006-10-26 11:31:05 -0500 (Thu, 26 Oct 2006) | 11 lines

- 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/trunk@46330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix a problem that i recently introduced when
Luigi Rizzo [Thu, 26 Oct 2006 12:47:23 +0000 (12:47 +0000)]
fix a problem that i recently introduced when
the manager receives long commands.

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

13 years agodocument the match_auth_username option
Luigi Rizzo [Thu, 26 Oct 2006 07:32:00 +0000 (07:32 +0000)]
document the match_auth_username option

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

13 years agoMerged revisions 46298 via svnmerge from
Russell Bryant [Thu, 26 Oct 2006 04:19:09 +0000 (04:19 +0000)]
Merged revisions 46298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46298 | russell | 2006-10-25 23:18:00 -0500 (Wed, 25 Oct 2006) | 2 lines

update backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)

........

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

13 years agoFix comment preservation code (thanks murf!)
Mark Spencer [Thu, 26 Oct 2006 01:38:47 +0000 (01:38 +0000)]
Fix comment preservation code (thanks murf!)

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

13 years agoOld todo: Don't add Contact headers on BYE and CANCEL.
Olle Johansson [Wed, 25 Oct 2006 20:21:05 +0000 (20:21 +0000)]
Old todo: Don't add Contact headers on BYE and CANCEL.

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

13 years agoFirst stab at transaction direction fix, this for trunk for testing
Olle Johansson [Wed, 25 Oct 2006 20:12:06 +0000 (20:12 +0000)]
First stab at transaction direction fix, this for trunk for testing

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

13 years agoUgly code to try to remove issue discovered by Luigi as well as attack bug #7608
Olle Johansson [Wed, 25 Oct 2006 19:30:04 +0000 (19:30 +0000)]
Ugly code to try to remove issue discovered by Luigi as well as attack bug #7608

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

13 years agoBlocked revisions 46255 via svnmerge
Russell Bryant [Wed, 25 Oct 2006 19:25:51 +0000 (19:25 +0000)]
Blocked revisions 46255 via svnmerge

........
r46255 | russell | 2006-10-25 15:24:11 -0400 (Wed, 25 Oct 2006) | 2 lines

regenerate configure script

........

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

13 years agoSend CPG when we get a CONTROL_PROGRESS frame and make sure that it sends ACM (not...
Matthew Fredrickson [Wed, 25 Oct 2006 19:24:40 +0000 (19:24 +0000)]
Send CPG when we get a CONTROL_PROGRESS frame and make sure that it sends ACM (not CPG) when
we get CONTROL_PROCEEDING.

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

13 years agoBlocked revisions 46253 via svnmerge
Russell Bryant [Wed, 25 Oct 2006 19:21:55 +0000 (19:21 +0000)]
Blocked revisions 46253 via svnmerge

........
r46253 | russell | 2006-10-25 15:20:23 -0400 (Wed, 25 Oct 2006) | 3 lines

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/trunk@46254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoUpdate changes to do US style point code parsing/formatting (xxx.xxx.xxx)
Matthew Fredrickson [Wed, 25 Oct 2006 19:14:23 +0000 (19:14 +0000)]
Update changes to do US style point code parsing/formatting (xxx.xxx.xxx)

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

13 years agoMerged revisions 46249 via svnmerge from
Russell Bryant [Wed, 25 Oct 2006 19:10:43 +0000 (19:10 +0000)]
Merged revisions 46249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46249 | russell | 2006-10-25 14:08:18 -0500 (Wed, 25 Oct 2006) | 2 lines

update warning message to include "agi" option (issue #8225, jmls)

........

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

13 years agoMerged revisions 46237 via svnmerge from
Kevin P. Fleming [Wed, 25 Oct 2006 17:12:59 +0000 (17:12 +0000)]
Merged revisions 46237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46237 | kpfleming | 2006-10-25 12:08:58 -0500 (Wed, 25 Oct 2006) | 2 lines

add support for prebuilt G.722 prompts and music on hold files

........

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

13 years agoMerge from 1.4
Olle Johansson [Wed, 25 Oct 2006 16:01:22 +0000 (16:01 +0000)]
Merge from 1.4

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

13 years agoBlock change to 1.4 to block change to 1.2... This is confusing, but
Olle Johansson [Wed, 25 Oct 2006 15:54:47 +0000 (15:54 +0000)]
Block change to 1.4 to block change to 1.2... This is confusing, but
I think I got it right.

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

13 years agoMerged revisions 46082-46083,46152-46153 via svnmerge from
Kevin P. Fleming [Wed, 25 Oct 2006 14:55:11 +0000 (14:55 +0000)]
Merged revisions 46082-46083,46152-46153 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46082 | kpfleming | 2006-10-23 22:45:42 -0500 (Mon, 23 Oct 2006) | 2 lines

add an API call to allow channel drivers to determine which media formats are compatible (passthrough or transcode) with the format an existing channel is already using

........
r46083 | kpfleming | 2006-10-23 22:53:32 -0500 (Mon, 23 Oct 2006) | 2 lines

ensure that the translation matrix is properly lock-protected every place it is used

........
r46152 | kpfleming | 2006-10-24 18:45:19 -0500 (Tue, 24 Oct 2006) | 2 lines

if multiple translators are registered for the same source/dest combination, ensure that the lowest-cost one is always inserted earlier in the list

........
r46153 | kpfleming | 2006-10-24 19:10:54 -0500 (Tue, 24 Oct 2006) | 2 lines

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/trunk@46203 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agorestore bugfix that was reverted by trunk_mtu patch
Kevin P. Fleming [Wed, 25 Oct 2006 14:47:01 +0000 (14:47 +0000)]
restore bugfix that was reverted by trunk_mtu patch

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

13 years agoMerged revisions 46200 via svnmerge from
Kevin P. Fleming [Wed, 25 Oct 2006 14:44:50 +0000 (14:44 +0000)]
Merged revisions 46200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines

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/trunk@46201 65c4cc65-6c06-0410-ace0-fbb531ad65f3