asterisk/asterisk.git
14 years agoblack magic to make sure we recompile things after the changes to cli.c
Luigi Rizzo [Tue, 28 Mar 2006 22:59:34 +0000 (22:59 +0000)]
black magic to make sure we recompile things after the changes to cli.c

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

14 years agomake 'sip show subscriptions' include context for subscribed hints
Kevin P. Fleming [Tue, 28 Mar 2006 22:47:02 +0000 (22:47 +0000)]
make 'sip show subscriptions' include context for subscribed hints

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

14 years agoas reported in mantis #6066, fix a bunch of cli bugs and
Luigi Rizzo [Tue, 28 Mar 2006 22:44:55 +0000 (22:44 +0000)]
as reported in mantis #6066, fix a bunch of cli bugs and
inconsistencies.

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

14 years agobring in the code that was discussed on Mantis #6068,
Luigi Rizzo [Tue, 28 Mar 2006 22:25:08 +0000 (22:25 +0000)]
bring in the code that was discussed on Mantis #6068,
which is the basis for several simplifications and fixes
to the CLI interfaces.

The core is in cli.c, some documentation on a new function
to help command completion is in cli.h, and one line of
glue code in the other two files.

Next step is to bring in the patches described in #6066 and
other simplifications.

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

14 years agolet's format that output sanely instead :-(
Kevin P. Fleming [Tue, 28 Mar 2006 22:14:50 +0000 (22:14 +0000)]
let's format that output sanely instead :-(

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

14 years agomake 'show hints' CLI command show context name for each hint
Kevin P. Fleming [Tue, 28 Mar 2006 22:09:38 +0000 (22:09 +0000)]
make 'show hints' CLI command show context name for each hint

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

14 years agoThe condition to check the zaptel version was too strict.
Luigi Rizzo [Tue, 28 Mar 2006 21:24:48 +0000 (21:24 +0000)]
The condition to check the zaptel version was too strict.
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.

This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)

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

14 years agoBring in the new loader code as described in mantis #4377
Luigi Rizzo [Tue, 28 Mar 2006 21:15:10 +0000 (21:15 +0000)]
Bring in the new loader code as described in mantis #4377
and updated to today's version.

The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.

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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15745 65c4cc65-6c06-0410...
Russell Bryant [Tue, 28 Mar 2006 20:24:08 +0000 (20:24 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15745 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix a bug introduced in 15187 that scrambled the flags and
Luigi Rizzo [Tue, 28 Mar 2006 20:22:25 +0000 (20:22 +0000)]
fix a bug introduced in 15187 that scrambled the flags and
among other things prevented proper handling of NAT.
Don't think it exist in 1.2 but be careful if 15187 is merged.

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

14 years agoMerged revisions 15703 via svnmerge from
Russell Bryant [Tue, 28 Mar 2006 19:49:30 +0000 (19:49 +0000)]
Merged revisions 15703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15703 | russell | 2006-03-28 14:47:03 -0500 (Tue, 28 Mar 2006) | 2 lines

fix Bus Error on sparc (issue #6354)

........

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

14 years agoonly display a debug message if iaxdebug is enabled as well (issue #6673)
Russell Bryant [Tue, 28 Mar 2006 19:31:41 +0000 (19:31 +0000)]
only display a debug message if iaxdebug is enabled as well (issue #6673)

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

14 years agoFix NAT support breakage for peers with qualify=yes (imported from 1.2)
Olle Johansson [Tue, 28 Mar 2006 19:09:51 +0000 (19:09 +0000)]
Fix NAT support breakage for peers with qualify=yes (imported from 1.2)
- Blame KLM, still jetlagged :-)

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

14 years agoensure that 'zap show channel' will indicate that the echo canceler has been disabled...
Kevin P. Fleming [Tue, 28 Mar 2006 19:00:21 +0000 (19:00 +0000)]
ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel

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

14 years agoMerged revisions 15658 via svnmerge from
Russell Bryant [Tue, 28 Mar 2006 18:13:53 +0000 (18:13 +0000)]
Merged revisions 15658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15658 | russell | 2006-03-28 13:09:05 -0500 (Tue, 28 Mar 2006) | 2 lines

fix the order in which for loops are expanded (issue #6810)

........

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

14 years agostore f->callno in a local var (issue #6818)
Russell Bryant [Tue, 28 Mar 2006 18:00:05 +0000 (18:00 +0000)]
store f->callno in a local var (issue #6818)

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

14 years agooops :-(
Kevin P. Fleming [Tue, 28 Mar 2006 17:53:27 +0000 (17:53 +0000)]
oops :-(

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

14 years agoconversions to S_OR (issue #6817)
Russell Bryant [Tue, 28 Mar 2006 17:52:50 +0000 (17:52 +0000)]
conversions to S_OR (issue #6817)

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

14 years agoMerged revisions 15615 via svnmerge from
Tilghman Lesher [Tue, 28 Mar 2006 17:49:39 +0000 (17:49 +0000)]
Merged revisions 15615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines

Bug 6815 - Adding quotes to make bash happy

........

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

14 years agoFix typo (thanks, North) and update docs for IP-tos settings
Olle Johansson [Tue, 28 Mar 2006 17:18:02 +0000 (17:18 +0000)]
Fix typo (thanks, North) and update docs for IP-tos settings

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

14 years ago- remove an unnecessary cast and recomputation of (timeout - now);
Luigi Rizzo [Tue, 28 Mar 2006 15:19:32 +0000 (15:19 +0000)]
- remove an unnecessary cast and recomputation of (timeout - now);
- remove useless recomputations of strlen(word) in a loop, and
  normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
  thus removing the need for one LOCAL_USER_REMOVE() call.

The three chunks of the patch are fully disjoint.

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

14 years agoremove a few unneeded calls to strlen, and replace a while()
Luigi Rizzo [Tue, 28 Mar 2006 14:30:31 +0000 (14:30 +0000)]
remove a few unneeded calls to strlen, and replace a while()
loop with the equivalent function strchr()

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

14 years agoUse the standard macros to manipulate usecount.
Luigi Rizzo [Tue, 28 Mar 2006 14:15:13 +0000 (14:15 +0000)]
Use the standard macros to manipulate usecount.
This is in preparation to the import of the new loader.

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

14 years agoupdate example file
Luigi Rizzo [Tue, 28 Mar 2006 14:04:27 +0000 (14:04 +0000)]
update example file

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

14 years agoremove trailing whitespace
Luigi Rizzo [Tue, 28 Mar 2006 13:58:34 +0000 (13:58 +0000)]
remove trailing whitespace

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

14 years agodisable the http server by default at the request of people on IRC
Russell Bryant [Tue, 28 Mar 2006 13:52:57 +0000 (13:52 +0000)]
disable the http server by default at the request of people on IRC

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

14 years agoremove the long since unused STANDARD_LOCAL_USERS macro
Luigi Rizzo [Tue, 28 Mar 2006 13:52:04 +0000 (13:52 +0000)]
remove the long since unused STANDARD_LOCAL_USERS macro
so that new apps will not try to use it by mistake.

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

14 years agooptimize a bit name completion by avoiding repeated calls to
Luigi Rizzo [Tue, 28 Mar 2006 13:46:04 +0000 (13:46 +0000)]
optimize a bit name completion by avoiding repeated calls to
strlen(word), localize variables and normalize the test
for finding the candidate string.

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

14 years agofix documentation
Luigi Rizzo [Tue, 28 Mar 2006 13:23:05 +0000 (13:23 +0000)]
fix documentation

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

14 years agosupport subscription-based MWI, and use proper Call-ID on NOTIFY messages (issue...
Kevin P. Fleming [Tue, 28 Mar 2006 04:21:21 +0000 (04:21 +0000)]
support subscription-based MWI, and use proper Call-ID on NOTIFY messages (issue #6390)

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

14 years agouse proper file name
Kevin P. Fleming [Tue, 28 Mar 2006 03:36:17 +0000 (03:36 +0000)]
use proper file name

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

14 years agoimprove IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifica...
Kevin P. Fleming [Tue, 28 Mar 2006 03:28:52 +0000 (03:28 +0000)]
improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifications)

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

14 years agoIssue #6736 - use flags for OPTIONs messages
Olle Johansson [Mon, 27 Mar 2006 23:49:44 +0000 (23:49 +0000)]
Issue #6736 - use flags for OPTIONs messages

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

14 years agoReverting previous patch. Ok, let's take this from 1.2 instead... :-)
Olle Johansson [Mon, 27 Mar 2006 23:41:21 +0000 (23:41 +0000)]
Reverting previous patch. Ok, let's take this from 1.2 instead... :-)

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

14 years agoIssue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!)
Olle Johansson [Mon, 27 Mar 2006 23:39:48 +0000 (23:39 +0000)]
Issue #6736 - Enable NAT flags for OPTIONs requests (Thanks casper!)

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

14 years agoIssue #6597 - Show correct port in "sip show registry" - import from 1.2 branch
Olle Johansson [Mon, 27 Mar 2006 23:32:34 +0000 (23:32 +0000)]
Issue #6597 - Show correct port in "sip show registry" - import from 1.2 branch

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

14 years agoIssue #6409 - Make calls to URI without username go to "s" extension (imported from...
Olle Johansson [Mon, 27 Mar 2006 23:13:31 +0000 (23:13 +0000)]
Issue #6409 - Make calls to URI without username go to "s" extension (imported from 1.2)

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

14 years agoChanged some "register" methods to the proper "unregister" method. This is in a...
North Antara [Mon, 27 Mar 2006 21:13:54 +0000 (21:13 +0000)]
Changed some "register" methods to the proper "unregister" method.  This is in a #if 0 block, but it may still be useful someday.

Thanks eliel.

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

14 years agoJanitor work converting !ast_strlen_zero(a)?a:b
Matt O'Gorman [Mon, 27 Mar 2006 19:31:54 +0000 (19:31 +0000)]
Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.

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

14 years agofixed bug that we don't allocate the bchan in setup_acknowledge already .. wonder...
Christian Richter [Mon, 27 Mar 2006 16:15:44 +0000 (16:15 +0000)]
fixed bug that we don't allocate the bchan in setup_acknowledge already .. wonder why this wasn't fixed eearlier ..

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

14 years agofixed hicom busy bug, we now see if the systemphone is busy, also fixed the immediate...
Christian Richter [Mon, 27 Mar 2006 10:13:11 +0000 (10:13 +0000)]
fixed hicom busy bug, we now see if the systemphone is busy, also fixed the immediate=yes does not work anymore issue

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

14 years agosimplify flags/page2_flags stuff by using arrays instead
Kevin P. Fleming [Mon, 27 Mar 2006 04:54:06 +0000 (04:54 +0000)]
simplify flags/page2_flags stuff by using arrays instead
enhance handle_common_options to be able to set flags in the second set of flags (what used to be page2_flags)
various other minor fixes

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

14 years agoremove accidentally merged properties
Kevin P. Fleming [Mon, 27 Mar 2006 03:40:17 +0000 (03:40 +0000)]
remove accidentally merged properties

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

14 years agoIssue #5427
Olle Johansson [Mon, 27 Mar 2006 03:35:49 +0000 (03:35 +0000)]
Issue #5427
- Enable videosupport per device
- Implement maxcallbitrate setting for video calls

Patch by John Martin, thanks!

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

14 years agoIssue #6705 (oej)
Olle Johansson [Mon, 27 Mar 2006 02:57:17 +0000 (02:57 +0000)]
Issue #6705 (oej)
- Implement option for allow/disallow subscriptions
- Implement option for allow/disallow overlap dialling
- Set default to disable overlap dialling in sip.conf.sample for new installations
- Remove overlap dialling from subscription logic

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

14 years agorename file to match new application name
Kevin P. Fleming [Sun, 26 Mar 2006 23:46:06 +0000 (23:46 +0000)]
rename file to match new application name

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

14 years agorename application to have a more logical name
Kevin P. Fleming [Sun, 26 Mar 2006 23:45:53 +0000 (23:45 +0000)]
rename application to have a more logical name
various code cleanups
don't steal copyright from author

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

14 years agouse ast_calloc instead of calloc, and do a little bit of tweaking on the code formatting
Russell Bryant [Sun, 26 Mar 2006 16:55:34 +0000 (16:55 +0000)]
use ast_calloc instead of calloc, and do a little bit of tweaking on the code formatting

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

14 years agofix asterisk header include format and add the doxygen header
Russell Bryant [Sun, 26 Mar 2006 16:48:47 +0000 (16:48 +0000)]
fix asterisk header include format and add the doxygen header

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

14 years agoconversions to S_OR (issue #6803)
Russell Bryant [Sun, 26 Mar 2006 16:08:42 +0000 (16:08 +0000)]
conversions to S_OR (issue #6803)

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

14 years agosuppress some compiler warnings on mac
Russell Bryant [Sun, 26 Mar 2006 06:59:10 +0000 (06:59 +0000)]
suppress some compiler warnings on mac

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

14 years agoAdd micro-http server and abstract manager interface, make snmp not die
Mark Spencer [Sat, 25 Mar 2006 23:50:09 +0000 (23:50 +0000)]
Add micro-http server and abstract manager interface, make snmp not die
on reload.

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

14 years agorevert loader changes that have clearly not undergone adequate testing before commit
Kevin P. Fleming [Sat, 25 Mar 2006 23:22:44 +0000 (23:22 +0000)]
revert loader changes that have clearly not undergone adequate testing before commit

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

14 years agoBug 6508 - Redirect arbitrary channel to another extension from the dialplan
Tilghman Lesher [Sat, 25 Mar 2006 06:14:10 +0000 (06:14 +0000)]
Bug 6508 - Redirect arbitrary channel to another extension from the dialplan

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

14 years agoBug 4377 - Round 2 of the loader updates
Tilghman Lesher [Sat, 25 Mar 2006 06:02:46 +0000 (06:02 +0000)]
Bug 4377 - Round 2 of the loader updates

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

14 years agoBug 6670 - Additional parameters to the CHANNEL func
Tilghman Lesher [Sat, 25 Mar 2006 05:24:52 +0000 (05:24 +0000)]
Bug 6670 - Additional parameters to the CHANNEL func

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

14 years agoMerged revisions 14868 via svnmerge from
Tilghman Lesher [Sat, 25 Mar 2006 05:10:07 +0000 (05:10 +0000)]
Merged revisions 14868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14868 | tilghman | 2006-03-24 23:07:52 -0600 (Fri, 24 Mar 2006) | 2 lines

Bug 6601 - More configuration abilities for the RH init script

........

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

14 years agoMerged revisions 14830 via svnmerge from
Tilghman Lesher [Sat, 25 Mar 2006 05:02:19 +0000 (05:02 +0000)]
Merged revisions 14830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14830 | tilghman | 2006-03-24 23:01:16 -0600 (Fri, 24 Mar 2006) | 2 lines

Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100)

........

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

14 years agoMerged revisions 14821 via svnmerge from
Tilghman Lesher [Sat, 25 Mar 2006 04:10:35 +0000 (04:10 +0000)]
Merged revisions 14821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14821 | tilghman | 2006-03-24 22:09:04 -0600 (Fri, 24 Mar 2006) | 2 lines

Bug 6783 - When context is specified, voicemail should look for mailboxes in that context

........

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

14 years agoDo the (expensive) LOCAL_USER_ADD only after we are sure
Luigi Rizzo [Fri, 24 Mar 2006 18:33:48 +0000 (18:33 +0000)]
Do the (expensive) LOCAL_USER_ADD only after we are sure
that arguments are valid.

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

14 years agoas discussed on the -dev list, introduce a macro to simplify the
Luigi Rizzo [Fri, 24 Mar 2006 15:06:42 +0000 (15:06 +0000)]
as discussed on the -dev list, introduce a macro to simplify the
writing of common constructs like

chan = !ast_strlen_zero(cdr->channel) ? cdr->channel : "<unknown>";

(or the if/then/else form) into

chan = S_OR(cdr->channel, "<unknown>");

The name can be changed if we find a better (and not too long) one;
currently, it is S as String, OR as it mimics the behaviour of
the || operator, but applied to strings.

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

14 years agoAdd missing
Luigi Rizzo [Fri, 24 Mar 2006 15:01:22 +0000 (15:01 +0000)]
Add missing

    #include "asterisk.h"
    ASTERISK_FILE_VERSION(__FILE__, "$Revision$")

to these files.

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

14 years agoMerged revisions 14704 via svnmerge from
Russell Bryant [Fri, 24 Mar 2006 14:51:15 +0000 (14:51 +0000)]
Merged revisions 14704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14704 | russell | 2006-03-24 09:48:11 -0500 (Fri, 24 Mar 2006) | 2 lines

use the correct variable in an error message (issue #6791)

........

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

14 years agoMerged revisions 14659 via svnmerge from
BJ Weschke [Fri, 24 Mar 2006 04:55:09 +0000 (04:55 +0000)]
Merged revisions 14659 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14659 | bweschke | 2006-03-23 22:53:42 -0600 (Thu, 23 Mar 2006) | 3 lines

 Fix a typo in the app description

........

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

14 years ago Doxygen typo fix.
BJ Weschke [Fri, 24 Mar 2006 00:55:06 +0000 (00:55 +0000)]
 Doxygen typo fix.

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

14 years agoBlock r14610 from /trunk as it conflicts with sched.h in /trunk
BJ Weschke [Fri, 24 Mar 2006 00:54:27 +0000 (00:54 +0000)]
Block r14610 from /trunk as it conflicts with sched.h in /trunk

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

14 years agodon't treat timeouts as errors in ast_cond_timedwait
Kevin P. Fleming [Fri, 24 Mar 2006 00:03:21 +0000 (00:03 +0000)]
don't treat timeouts as errors in ast_cond_timedwait

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

14 years agocompute scheduler thread timeout properly
Kevin P. Fleming [Thu, 23 Mar 2006 23:57:18 +0000 (23:57 +0000)]
compute scheduler thread timeout properly

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

14 years agocommit file's work to convert iax2 multithreading to use pthread conditions instead...
Kevin P. Fleming [Thu, 23 Mar 2006 23:11:09 +0000 (23:11 +0000)]
commit file's work to convert iax2 multithreading to use pthread conditions instead of signals (with some modifications)

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

14 years agoMerged revisions 14523 via svnmerge from
Joshua Colp [Thu, 23 Mar 2006 22:00:11 +0000 (22:00 +0000)]
Merged revisions 14523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14523 | file | 2006-03-23 17:51:50 -0400 (Thu, 23 Mar 2006) | 2 lines

Issue #6764 - Return BUSY signal when other party is busy at Attended Transfer (Reported by mnachev)

........

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

14 years agoAllow channels to be moved if channel change is requested in SETUP_ACK, also add...
Matthew Fredrickson [Thu, 23 Mar 2006 21:41:23 +0000 (21:41 +0000)]
Allow channels to be moved if channel change is requested in SETUP_ACK, also add a WAY cool new field to the nsf option

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

14 years agoensure global variables lock is held during 'show globals' CLI command
Kevin P. Fleming [Thu, 23 Mar 2006 21:16:46 +0000 (21:16 +0000)]
ensure global variables lock is held during 'show globals' CLI command

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

14 years agocorrect typo
Kevin P. Fleming [Thu, 23 Mar 2006 21:06:26 +0000 (21:06 +0000)]
correct typo

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

14 years agodon't wrap this in ifdef... using va_start is safe on all platforms :-)
Kevin P. Fleming [Thu, 23 Mar 2006 21:01:19 +0000 (21:01 +0000)]
don't wrap this in ifdef... using va_start is safe on all platforms :-)

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

14 years agoMerged revisions 14467 via svnmerge from
BJ Weschke [Thu, 23 Mar 2006 20:48:08 +0000 (20:48 +0000)]
Merged revisions 14467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14467 | bweschke | 2006-03-23 14:43:05 -0600 (Thu, 23 Mar 2006) | 3 lines

 Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)

........

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

14 years agoMerged revisions 14462 via svnmerge from
Russell Bryant [Thu, 23 Mar 2006 20:15:01 +0000 (20:15 +0000)]
Merged revisions 14462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14462 | russell | 2006-03-23 15:13:48 -0500 (Thu, 23 Mar 2006) | 2 lines

don't crash when asked to read from a file that doesn't exist (issue #6786)

........

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

14 years ago- In response to asterisk-users discussion - show which peers in "sip show peers...
Olle Johansson [Thu, 23 Mar 2006 19:58:32 +0000 (19:58 +0000)]
- In response to asterisk-users discussion - show which peers in "sip show peers" and "sip show peer" that are cached realtime peers.

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

14 years agoReplace ast_say_* functionn with function pointers, so that modules
Luigi Rizzo [Thu, 23 Mar 2006 14:28:16 +0000 (14:28 +0000)]
Replace ast_say_* functionn with function pointers, so that modules
can override them.
On passing, fix a potential problem in the top level Makefile:

if a static library is not referenced by any of the core objects,
it is not linked in the main program, and will not be available
to modules, which leads to failure at runtime when the modules
are loaded.
This is the case of stdtime/localtime.o, which supplies some core
symbolx, but is only linked in as a library. Fix the problem by
linking in the object.

NOTE: this is intended as a temporary aid to replace the
existing say.c with a newer implementation. Once the
task is completed, we may decide whether or not the ast_say*()
functions should be pluggable or not and possibly revert
part of this change.

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

14 years agoremove duplicate CFLAGS and SOLINK definitions that are
Luigi Rizzo [Thu, 23 Mar 2006 13:39:36 +0000 (13:39 +0000)]
remove duplicate CFLAGS and SOLINK definitions that are
already in the top level Makefile

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

14 years agoFix a compile problem on FreeBSD for a missing header.
Luigi Rizzo [Thu, 23 Mar 2006 12:47:50 +0000 (12:47 +0000)]
Fix a compile problem on FreeBSD for a missing header.
In this specific case the problem triggered on app_amd.c,
but it keeps coming out from time to time so it is better
to fix it in a more central place.

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

14 years agoMerged revisions 14276 via svnmerge from
Joshua Colp [Wed, 22 Mar 2006 22:28:36 +0000 (22:28 +0000)]
Merged revisions 14276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14276 | file | 2006-03-22 18:18:32 -0400 (Wed, 22 Mar 2006) | 2 lines

Fix a minor code issue

........

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

14 years agoMerged revisions 14275 via svnmerge from
Joshua Colp [Wed, 22 Mar 2006 22:27:11 +0000 (22:27 +0000)]
Merged revisions 14275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14275 | file | 2006-03-22 18:13:30 -0400 (Wed, 22 Mar 2006) | 2 lines

Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi)

........

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

14 years agoMerged revisions 14234 via svnmerge from
Joshua Colp [Wed, 22 Mar 2006 21:43:38 +0000 (21:43 +0000)]
Merged revisions 14234 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14234 | file | 2006-03-22 17:38:32 -0400 (Wed, 22 Mar 2006) | 2 lines

Issue #5918 - Disposition showing FAILED even though call is answered successfully (Reported by tracinet)

........

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

14 years agoIssue #6780 - ast_pbx_outgoing_cdr_failed description fix. (Reported and fixed by...
Joshua Colp [Wed, 22 Mar 2006 21:05:24 +0000 (21:05 +0000)]
Issue #6780 - ast_pbx_outgoing_cdr_failed description fix. (Reported and fixed by casper) - imported from 1.2

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

14 years agoMore whitespace and typo fixes for chan_skinny - yay!
North Antara [Wed, 22 Mar 2006 20:45:00 +0000 (20:45 +0000)]
More whitespace and typo fixes for chan_skinny - yay!

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

14 years agoIssue #6766 - Make ;user=phone work again - imported from 1.2
Olle Johansson [Wed, 22 Mar 2006 09:14:42 +0000 (09:14 +0000)]
Issue #6766 - Make ;user=phone work again - imported from 1.2

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

14 years agoIssue #6759, generate warning when refusing connection requiring unsupported SIP...
Olle Johansson [Wed, 22 Mar 2006 08:00:32 +0000 (08:00 +0000)]
Issue #6759, generate warning when refusing connection requiring unsupported SIP extensions

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

14 years agoAdded separate outsignalling specification, and fixed FEATDMF to allow for
Jim Dixon [Tue, 21 Mar 2006 22:31:36 +0000 (22:31 +0000)]
Added separate outsignalling specification, and fixed FEATDMF to allow for
international inbound calls.

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

14 years agoupdate enum documentation to reflect recent changes to the ENUMLOOKUP function (issue...
Russell Bryant [Tue, 21 Mar 2006 21:52:30 +0000 (21:52 +0000)]
update enum documentation to reflect recent changes to the ENUMLOOKUP function (issue #6513)

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

14 years agoadd a CLI command that allows converting files to other formats using
Russell Bryant [Tue, 21 Mar 2006 20:45:29 +0000 (20:45 +0000)]
add a CLI command that allows converting files to other formats using
the Asterisk file format and codec translator modules (issue #6062)

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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14001 65c4cc65-6c06-0410...
Matthew Fredrickson [Tue, 21 Mar 2006 19:28:12 +0000 (19:28 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14001 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate LOCAL_USER_ADD to use ast_calloc
Russell Bryant [Tue, 21 Mar 2006 19:19:35 +0000 (19:19 +0000)]
update LOCAL_USER_ADD to use ast_calloc

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

14 years agoMerged revisions 13964 via svnmerge from
Russell Bryant [Tue, 21 Mar 2006 19:00:26 +0000 (19:00 +0000)]
Merged revisions 13964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13964 | russell | 2006-03-21 13:59:29 -0500 (Tue, 21 Mar 2006) | 3 lines

add a note explaining how to set the DYNAMIC_FEATURES variable to allow the use
of custom features (issue #6747)

........

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

14 years agoMerged revisions 13961 via svnmerge from
Russell Bryant [Tue, 21 Mar 2006 18:22:38 +0000 (18:22 +0000)]
Merged revisions 13961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13961 | russell | 2006-03-21 13:21:47 -0500 (Tue, 21 Mar 2006) | 3 lines

fix crash when using the ParkAndAnnounce application.  When using this application,
there will be no peer channel to play the parking announcement to. (issue #6756)

........

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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13926 65c4cc65-6c06-0410...
Russell Bryant [Tue, 21 Mar 2006 17:49:50 +0000 (17:49 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13926 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 13888 via svnmerge from
Russell Bryant [Tue, 21 Mar 2006 16:24:19 +0000 (16:24 +0000)]
Merged revisions 13888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13888 | russell | 2006-03-21 11:22:16 -0500 (Tue, 21 Mar 2006) | 2 lines

fix spelling of whiskey

........

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

14 years agoadd note about phonetic sounds being removed from asterisk-sounds
Russell Bryant [Tue, 21 Mar 2006 16:18:54 +0000 (16:18 +0000)]
add note about phonetic sounds being removed from asterisk-sounds

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

14 years agoMerged revisions 13851 via svnmerge from
Russell Bryant [Tue, 21 Mar 2006 15:55:38 +0000 (15:55 +0000)]
Merged revisions 13851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13851 | russell | 2006-03-21 10:53:27 -0500 (Tue, 21 Mar 2006) | 2 lines

don't add conference participant if the user hangs up while recording their name (issue #6661)

........

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

14 years agospelling and formatting fixes (issue #6760)
Russell Bryant [Tue, 21 Mar 2006 15:12:41 +0000 (15:12 +0000)]
spelling and formatting fixes (issue #6760)

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

14 years agoThis was from issue #6765
Russell Bryant [Tue, 21 Mar 2006 14:23:06 +0000 (14:23 +0000)]
This was from issue #6765

Merged revisions 13814 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13814 | russell | 2006-03-21 09:20:28 -0500 (Tue, 21 Mar 2006) | 3 lines

re-add the Account parameter to the sample call file since it's not really
deprecated since the CDR function is no longer built in

........

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