asterisk/asterisk.git
17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoremoved unneeded debugs in level=0
Christian Richter [Tue, 21 Mar 2006 09:47:51 +0000 (09:47 +0000)]
removed unneeded debugs in level=0

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

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

........
r13748 | tilghman | 2006-03-21 00:24:56 -0600 (Tue, 21 Mar 2006) | 2 lines

Bug 6714 - Workaround to avoid retrieving incomplete voicemail message

........

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

17 years agoadd indications for Malaysia (issue #6758)
Russell Bryant [Tue, 21 Mar 2006 06:04:49 +0000 (06:04 +0000)]
add indications for Malaysia (issue #6758)

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

17 years agoMeetme file is parsed with comma-delimiters, not vertical bars
Tilghman Lesher [Tue, 21 Mar 2006 06:03:58 +0000 (06:03 +0000)]
Meetme file is parsed with comma-delimiters, not vertical bars

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

17 years agoBug 6699 - Fix for ENUMLOOKUP
Tilghman Lesher [Tue, 21 Mar 2006 05:54:04 +0000 (05:54 +0000)]
Bug 6699 - Fix for ENUMLOOKUP

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

17 years agoBug 6745 - Fix for ranges that wrap around the ends
Tilghman Lesher [Tue, 21 Mar 2006 05:48:17 +0000 (05:48 +0000)]
Bug 6745 - Fix for ranges that wrap around the ends

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

17 years agoMerged revisions 13707 via svnmerge from
Tilghman Lesher [Tue, 21 Mar 2006 05:30:32 +0000 (05:30 +0000)]
Merged revisions 13707 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13707 | tilghman | 2006-03-20 23:27:33 -0600 (Mon, 20 Mar 2006) | 2 lines

Do away with some warnings and fix some indentation

........

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

17 years ago Fix more svn properties on files that need it.
BJ Weschke [Mon, 20 Mar 2006 21:25:50 +0000 (21:25 +0000)]
 Fix more svn properties on files that need it.

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

17 years ago Set correct SVN properties on these files.
BJ Weschke [Mon, 20 Mar 2006 21:08:10 +0000 (21:08 +0000)]
 Set correct SVN properties on these files.

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

17 years agoremoved dynamic switching from transparent to hdlc mode. Instead we've got a config...
Christian Richter [Mon, 20 Mar 2006 18:04:05 +0000 (18:04 +0000)]
removed dynamic switching from transparent to hdlc mode. Instead we've got a config option hdlc=yes now which enables the hdlc controller for a data call

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

17 years agoDon't overwrite ANI if it's already sent with IES (imported from 1.2 branch)
Olle Johansson [Mon, 20 Mar 2006 17:39:14 +0000 (17:39 +0000)]
Don't overwrite ANI if it's already sent with IES (imported from 1.2 branch)

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

17 years agothese traceing option do not exist anymore
Christian Richter [Mon, 20 Mar 2006 10:00:34 +0000 (10:00 +0000)]
these traceing option do not exist anymore

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

17 years agofix astmm on sparc or any other architecture that doesn't allow unaligned
Russell Bryant [Mon, 20 Mar 2006 02:00:30 +0000 (02:00 +0000)]
fix astmm on sparc or any other architecture that doesn't allow unaligned
memory access

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

17 years agofix the build of eagi-test on Solaris in combination with astmm
Russell Bryant [Sun, 19 Mar 2006 21:40:42 +0000 (21:40 +0000)]
fix the build of eagi-test on Solaris in combination with astmm

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

17 years agofix the return value for the provided unsetenv() for Solaris
Russell Bryant [Sun, 19 Mar 2006 21:28:55 +0000 (21:28 +0000)]
fix the return value for the provided unsetenv() for Solaris

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

17 years agofix memory leak due to not freeing the channel's string fields in
Russell Bryant [Sun, 19 Mar 2006 21:01:04 +0000 (21:01 +0000)]
fix memory leak due to not freeing the channel's string fields in
ast_channel_destroy() (issue #6746)

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

17 years ago- Doxygen fixes.
Olle Johansson [Sun, 19 Mar 2006 20:23:16 +0000 (20:23 +0000)]
- Doxygen fixes.

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

17 years agoconvert a few more uses of strlen where ast_strlen_zero should be used
Russell Bryant [Sun, 19 Mar 2006 15:53:40 +0000 (15:53 +0000)]
convert a few more uses of strlen where ast_strlen_zero should be used

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

17 years agoconvert a couple uses of strlen() to use ast_strlen_zero()
Russell Bryant [Sun, 19 Mar 2006 15:42:49 +0000 (15:42 +0000)]
convert a couple uses of strlen() to use ast_strlen_zero()

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

17 years agoMerged revisions 13550 via svnmerge from
Russell Bryant [Sun, 19 Mar 2006 10:11:29 +0000 (10:11 +0000)]
Merged revisions 13550 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13550 | russell | 2006-03-19 04:59:55 -0500 (Sun, 19 Mar 2006) | 4 lines

revert the change made in revision 12927 in favor of keeping the original
behavior of the option.  The documentation has now been updated to reflect
the actual behavior.  (issue #6523)

........

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

17 years agoFix reference to README files
Olle Johansson [Sun, 19 Mar 2006 09:35:11 +0000 (09:35 +0000)]
Fix reference to README files

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

17 years agoImport revision 13547 from branch 1.2 - reset global_rtautoclear at reload
Olle Johansson [Sun, 19 Mar 2006 09:32:36 +0000 (09:32 +0000)]
Import revision 13547 from branch 1.2 - reset global_rtautoclear at reload

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

17 years ago- Remove comment about non-existing XML format ;-)
Olle Johansson [Sun, 19 Mar 2006 09:08:57 +0000 (09:08 +0000)]
- Remove comment about non-existing XML format ;-)

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

17 years ago- change "regcontext" to "global_regcontext" to mark it as a global setting
Olle Johansson [Sun, 19 Mar 2006 09:07:29 +0000 (09:07 +0000)]
- change "regcontext" to "global_regcontext" to mark it as a global setting
- show regexten in "sip show peer <name"

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

17 years agoWhen astmm is in use, define ast_malloc and friends to malloc, etc., so that
Russell Bryant [Sun, 19 Mar 2006 01:39:14 +0000 (01:39 +0000)]
When astmm is in use, define ast_malloc and friends to malloc, etc., so that
it doesn't report that all allocations are coming from utils.h.  Also, add some
more information to the error message astmm reports when a memory allocation
failure occurs.

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

17 years agosuppress compiler warning on mac
Russell Bryant [Sun, 19 Mar 2006 00:38:02 +0000 (00:38 +0000)]
suppress compiler warning on mac

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

17 years agouse ast_calloc instead of malloc+memset and remove some unnecessary initializations
Russell Bryant [Sat, 18 Mar 2006 19:16:36 +0000 (19:16 +0000)]
use ast_calloc instead of malloc+memset and remove some unnecessary initializations

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

17 years agoconvert malloc+memset to ast_calloc
Russell Bryant [Sat, 18 Mar 2006 18:55:35 +0000 (18:55 +0000)]
convert malloc+memset to ast_calloc

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

17 years ago- remove some unnecessary extern keywords
Russell Bryant [Sat, 18 Mar 2006 17:38:51 +0000 (17:38 +0000)]
- remove some unnecessary extern keywords
- cleanups to doxygen formatted documentation

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

17 years agomove the definition of the mappings between extension states and their text
Russell Bryant [Fri, 17 Mar 2006 21:39:36 +0000 (21:39 +0000)]
move the definition of the mappings between extension states and their text
representation into pbx.c so that every file that includes pbx.h does not
unnecessarily get a copy of it

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

17 years agoAdd reference to examples for files and custom, too make it more obious
Olle Johansson [Fri, 17 Mar 2006 08:46:31 +0000 (08:46 +0000)]
Add reference to examples for files and custom, too make it more obious
that you're required to read on... (hello xrobau)

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

17 years agoMerged revisions 13279 via svnmerge from
Tilghman Lesher [Thu, 16 Mar 2006 20:16:56 +0000 (20:16 +0000)]
Merged revisions 13279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13279 | tilghman | 2006-03-16 14:05:00 -0600 (Thu, 16 Mar 2006) | 2 lines

Bug 6737 - Fix compile warning on OS X

........

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

17 years agofix compiler warning on mac (issue #6737)
Russell Bryant [Thu, 16 Mar 2006 20:11:05 +0000 (20:11 +0000)]
fix compiler warning on mac (issue #6737)

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

17 years agoClarify documentation for "progressinband" - imported from 1.2
Olle Johansson [Thu, 16 Mar 2006 18:01:08 +0000 (18:01 +0000)]
Clarify documentation for "progressinband" - imported from 1.2

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

17 years agoMerged revisions 13237 via svnmerge from
Russell Bryant [Thu, 16 Mar 2006 17:46:15 +0000 (17:46 +0000)]
Merged revisions 13237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13237 | russell | 2006-03-16 12:42:46 -0500 (Thu, 16 Mar 2006) | 3 lines

always use the callerid signalling method set in the zt_pvt strucutre as
opposed to the last one read from the config file (issue #6734, with mods)

........

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

17 years agoImporting "oops" fix from 1.2 branch.
Olle Johansson [Thu, 16 Mar 2006 08:40:45 +0000 (08:40 +0000)]
Importing "oops" fix from 1.2 branch.

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

17 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13162 65c4cc65-6c06-0410...
Russell Bryant [Wed, 15 Mar 2006 22:24:11 +0000 (22:24 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13162 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFurthermore, set the disposition to FAILED if the CDR was never even started
Russell Bryant [Wed, 15 Mar 2006 22:04:49 +0000 (22:04 +0000)]
Furthermore, set the disposition to FAILED if the CDR was never even started

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

17 years agodon't calculate a duration if the CDR wasn't started, as it will result in a
Russell Bryant [Wed, 15 Mar 2006 21:59:08 +0000 (21:59 +0000)]
don't calculate a duration if the CDR wasn't started, as it will result in a
totally bogus value.  Thanks, Luigi!  :)

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

17 years agoMerged revisions 13095 via svnmerge from
Tilghman Lesher [Wed, 15 Mar 2006 18:15:33 +0000 (18:15 +0000)]
Merged revisions 13095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13095 | tilghman | 2006-03-15 12:07:06 -0600 (Wed, 15 Mar 2006) | 2 lines

Reverting patch from bug 6667

........

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

17 years agoBug 6316 - Add flag to not speak single user announcement
Tilghman Lesher [Wed, 15 Mar 2006 17:12:15 +0000 (17:12 +0000)]
Bug 6316 - Add flag to not speak single user announcement

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

17 years agoImport of rev 13026 from 1.2 branch: Fix parameters to event: header
Olle Johansson [Wed, 15 Mar 2006 13:06:48 +0000 (13:06 +0000)]
Import of rev 13026 from 1.2 branch: Fix parameters to event: header
in SUBSCRIBE request

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

17 years agoremove calculations that always evaluate to zero, thanks Luigi!
Russell Bryant [Wed, 15 Mar 2006 00:29:25 +0000 (00:29 +0000)]
remove calculations that always evaluate to zero, thanks Luigi!

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

17 years agoadd a CLI command that allows conversion of files to other formats using
Russell Bryant [Tue, 14 Mar 2006 19:50:27 +0000 (19:50 +0000)]
add a CLI command that allows conversion of files to other formats using
the Asterisk file format and codec translation modules (issue #6062)

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

17 years agoupdate to reflect conversion of the accountcode to use stringfields (issue #6722)
Russell Bryant [Tue, 14 Mar 2006 19:09:13 +0000 (19:09 +0000)]
update to reflect conversion of the accountcode to use stringfields (issue #6722)

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

17 years agoupdate UPGRADE.txt to reflect the last change to chan_iax2
Russell Bryant [Tue, 14 Mar 2006 19:06:25 +0000 (19:06 +0000)]
update UPGRADE.txt to reflect the last change to chan_iax2

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

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

........
r12927 | russell | 2006-03-14 13:41:05 -0500 (Tue, 14 Mar 2006) | 3 lines

when using the G() option to Dial, fix sending the called channel to 1 priority
beyond what was specified (issue #6523)

........

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