asterisk/asterisk.git
14 years agofix permissions of created recordings (issue #6067)
Russell Bryant [Tue, 27 Dec 2005 21:03:18 +0000 (21:03 +0000)]
fix permissions of created recordings (issue #6067)

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

14 years agominor cleanups for another cli completion function ...
Russell Bryant [Tue, 27 Dec 2005 20:03:07 +0000 (20:03 +0000)]
minor cleanups for another cli completion function ...

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

14 years agoavoid duplicate strlen calls for the command completion functions for
Russell Bryant [Tue, 27 Dec 2005 19:59:09 +0000 (19:59 +0000)]
avoid duplicate strlen calls for the command completion functions for
'show application' and 'show applications'

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

14 years agoavoid unneeded calls to strlen in iax2 completion functions
Russell Bryant [Tue, 27 Dec 2005 19:48:44 +0000 (19:48 +0000)]
avoid unneeded calls to strlen in iax2 completion functions

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

14 years agoBug 4880 - add priority label matching and dialplan function retrieval
Tilghman Lesher [Tue, 27 Dec 2005 19:13:13 +0000 (19:13 +0000)]
Bug 4880 - add priority label matching and dialplan function retrieval

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

14 years agoavoid repeated calls to strlen in command completion functions and normalize
Russell Bryant [Tue, 27 Dec 2005 18:18:41 +0000 (18:18 +0000)]
avoid repeated calls to strlen in command completion functions and normalize
some loops

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

14 years agoBug 5237 - Optional filename argument
Tilghman Lesher [Tue, 27 Dec 2005 17:53:48 +0000 (17:53 +0000)]
Bug 5237 - Optional filename argument

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

14 years agowhen doing tab completion, iterate the list of matches to count how many there
Russell Bryant [Tue, 27 Dec 2005 17:24:54 +0000 (17:24 +0000)]
when doing tab completion, iterate the list of matches to count how many there
are instead of having the list of matches generated twice (issue #6066)

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

14 years agoBug 5382 - Allow VM_CATEGORY in voicemail emails
Tilghman Lesher [Tue, 27 Dec 2005 07:13:37 +0000 (07:13 +0000)]
Bug 5382 - Allow VM_CATEGORY in voicemail emails

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

14 years agoBug 5906 - ARRAY dialplan function
Tilghman Lesher [Tue, 27 Dec 2005 06:50:25 +0000 (06:50 +0000)]
Bug 5906 - ARRAY dialplan function

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

14 years agoBug 5854 - Allow quotation of the second field in extconfig, for the purpose of inclu...
Tilghman Lesher [Tue, 27 Dec 2005 06:42:29 +0000 (06:42 +0000)]
Bug 5854 - Allow quotation of the second field in extconfig, for the purpose of including commas (for LDAP configuration)

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

14 years agoBug 5183 - Inline stack backtraces
Tilghman Lesher [Tue, 27 Dec 2005 06:24:28 +0000 (06:24 +0000)]
Bug 5183 - Inline stack backtraces

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

14 years agoReduce warnings on signedness conversions
Tilghman Lesher [Tue, 27 Dec 2005 02:05:56 +0000 (02:05 +0000)]
Reduce warnings on signedness conversions

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

14 years agoAdd SQL_ESC to allow single ticks to be escaped
Tilghman Lesher [Tue, 27 Dec 2005 02:02:23 +0000 (02:02 +0000)]
Add SQL_ESC to allow single ticks to be escaped

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

14 years agoDon't do DTMF detect on pseudo's!
Mark Spencer [Mon, 26 Dec 2005 23:56:44 +0000 (23:56 +0000)]
Don't do DTMF detect on pseudo's!

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

14 years ago- normalize some loops
Russell Bryant [Mon, 26 Dec 2005 21:38:50 +0000 (21:38 +0000)]
- normalize some loops
- simplify and reduce code by keeping track of return value
- replace some simple if/then sections with conditional expressions
(issue #6065)

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

14 years agoMerged revisions 7637 via svnmerge from
Tilghman Lesher [Mon, 26 Dec 2005 20:34:46 +0000 (20:34 +0000)]
Merged revisions 7637 via svnmerge from
/branches/1.2

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

14 years agoAdded support for Feature Group C CAMA trunks (both DP and MF), and support
Jim Dixon [Mon, 26 Dec 2005 20:01:35 +0000 (20:01 +0000)]
Added support for Feature Group C CAMA trunks (both DP and MF), and support
for Feature Group D Tamdem trunks inbound (outbound was already there)

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

14 years agoMerged revisions 7634 via svnmerge from
Russell Bryant [Mon, 26 Dec 2005 18:35:28 +0000 (18:35 +0000)]
Merged revisions 7634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines

cast time_t to an int in printf/scanf (issue #5635)

........

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

14 years agoBug 6057 - Deprecate builtins that have been replaced by functions
Tilghman Lesher [Mon, 26 Dec 2005 16:48:12 +0000 (16:48 +0000)]
Bug 6057 - Deprecate builtins that have been replaced by functions

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

14 years agoAdd "local channel" variation so that we don't read/write to the same
Mark Spencer [Mon, 26 Dec 2005 00:47:28 +0000 (00:47 +0000)]
Add "local channel" variation so that we don't read/write to the same
channel...  (bug #6058)

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

14 years agoFix multiple free of a frame (bug #6058)
Mark Spencer [Sun, 25 Dec 2005 01:27:47 +0000 (01:27 +0000)]
Fix multiple free of a frame (bug #6058)

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

14 years agoBug 5727 - reduce duplicate code
Tilghman Lesher [Sun, 25 Dec 2005 00:25:41 +0000 (00:25 +0000)]
Bug 5727 - reduce duplicate code

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

14 years agominor cleanups ...
Russell Bryant [Sat, 24 Dec 2005 06:23:36 +0000 (06:23 +0000)]
minor cleanups ...
- use for loops instead of while loops for basic list traversals
- only calculate word length one time in CLI complete functions
- use calloc instead of malloc + memset
- remove some unnecessary casts
- formatting tweaks

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

14 years agominor cleanups ...
Russell Bryant [Sat, 24 Dec 2005 05:18:40 +0000 (05:18 +0000)]
minor cleanups ...
- use for loops instead of while loops for basic list traversals
- remove an unused 'res' variable
- formatting tweaks

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

14 years agoBug 5759 - Remove unused datetime code (current DateTime app is in app_sayunixtime)
Tilghman Lesher [Fri, 23 Dec 2005 23:42:58 +0000 (23:42 +0000)]
Bug 5759 - Remove unused datetime code (current DateTime app is in app_sayunixtime)

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

14 years agoAlphabetize the functions list
Tilghman Lesher [Fri, 23 Dec 2005 22:47:26 +0000 (22:47 +0000)]
Alphabetize the functions list

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

14 years agoBug 5327 - new function FILTER and optional argument to CALLERID
Tilghman Lesher [Fri, 23 Dec 2005 21:03:25 +0000 (21:03 +0000)]
Bug 5327 - new function FILTER and optional argument to CALLERID

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

14 years agoMake the English language of date format 'Q' and 'q' sound a little bit more natural
Tilghman Lesher [Fri, 23 Dec 2005 20:43:11 +0000 (20:43 +0000)]
Make the English language of date format 'Q' and 'q' sound a little bit more natural

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

14 years agoMerged revisions 7608 via svnmerge from
Tilghman Lesher [Fri, 23 Dec 2005 06:39:44 +0000 (06:39 +0000)]
Merged revisions 7608 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7606 via svnmerge from
Kevin P. Fleming [Fri, 23 Dec 2005 03:04:38 +0000 (03:04 +0000)]
Merged revisions 7606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7606 | kpfleming | 2005-12-22 21:01:24 -0600 (Thu, 22 Dec 2005) | 3 lines

add license reference to copyright notice displayed when CLI session begins
add 'show warranty' and 'show license' CLI commands (still need a complete list of non-GPL components included in Asterisk)

........

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

14 years ago Another app documentation tweak.
BJ Weschke [Thu, 22 Dec 2005 23:59:13 +0000 (23:59 +0000)]
 Another app documentation tweak.

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

14 years agoMerged revisions 7601 via svnmerge from
Tilghman Lesher [Thu, 22 Dec 2005 22:06:35 +0000 (22:06 +0000)]
Merged revisions 7601 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7599 via svnmerge from
Russell Bryant [Thu, 22 Dec 2005 20:38:43 +0000 (20:38 +0000)]
Merged revisions 7599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7599 | russell | 2005-12-22 15:36:47 -0500 (Thu, 22 Dec 2005) | 3 lines

revert changes to videosupport to allow per-peer setting, since it isn't quite
complete and there is not an obvious fix at this point

........

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

14 years agoremove stray unlock (issue #5955)
Russell Bryant [Thu, 22 Dec 2005 16:14:38 +0000 (16:14 +0000)]
remove stray unlock (issue #5955)

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

14 years agoforward-port per-peer videosupport changes from branches/1.2
Kevin P. Fleming [Thu, 22 Dec 2005 03:50:44 +0000 (03:50 +0000)]
forward-port per-peer videosupport changes from branches/1.2

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

14 years agodon't try to build func_odbc when ODBC headers/libraries are not present
Kevin P. Fleming [Thu, 22 Dec 2005 03:49:41 +0000 (03:49 +0000)]
don't try to build func_odbc when ODBC headers/libraries are not present

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

14 years ago- construct the difference and have only one call to snprintf in build_via
Russell Bryant [Thu, 22 Dec 2005 02:20:44 +0000 (02:20 +0000)]
- construct the difference and have only one call to snprintf in build_via
- convert some while loops to for loops
- localize some variables and remove unneeded initializations
- store result of get_header locally so it only has to be called once
- remove some duplicate calls to strcasecmp by storing result
(issue #5955)

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

14 years agoMerged revisions 7582 via svnmerge from
Tilghman Lesher [Wed, 21 Dec 2005 20:02:36 +0000 (20:02 +0000)]
Merged revisions 7582 via svnmerge from
/branches/1.2

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

14 years ago Bug #6040 - Documentation correction
BJ Weschke [Wed, 21 Dec 2005 19:44:51 +0000 (19:44 +0000)]
 Bug #6040 - Documentation correction

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

14 years agoMerged revisions 7577 via svnmerge from
Tilghman Lesher [Wed, 21 Dec 2005 19:24:56 +0000 (19:24 +0000)]
Merged revisions 7577 via svnmerge from
/branches/1.2

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

14 years agoBug 5055 - Simple SQL commands from the dialplan
Tilghman Lesher [Wed, 21 Dec 2005 18:43:10 +0000 (18:43 +0000)]
Bug 5055 - Simple SQL commands from the dialplan

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

14 years agoBug 5440 - Add STAT() dialplan function
Tilghman Lesher [Wed, 21 Dec 2005 17:09:54 +0000 (17:09 +0000)]
Bug 5440 - Add STAT() dialplan function

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

14 years agomove heading to the top of the file
Russell Bryant [Wed, 21 Dec 2005 16:36:48 +0000 (16:36 +0000)]
move heading to the top of the file

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

14 years agoBug 5734 - add status variables indicating the success or failure of the realtime...
Tilghman Lesher [Wed, 21 Dec 2005 15:16:08 +0000 (15:16 +0000)]
Bug 5734 - add status variables indicating the success or failure of the realtime apps

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

14 years agoadd Log application for generating custom log messages from the dialplan (issue ...
Russell Bryant [Wed, 21 Dec 2005 09:33:41 +0000 (09:33 +0000)]
add Log application for generating custom log messages from the dialplan (issue #5287)

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

14 years agoadd a header to indicate who the call was parked by to the ParkedCall manager
Russell Bryant [Wed, 21 Dec 2005 08:51:44 +0000 (08:51 +0000)]
add a header to indicate who the call was parked by to the ParkedCall manager
events generated when parking status is requested.  This header was already
in the events that are generated when the call is first parked. (issue #5883)

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

14 years ago- change the default value of the global priority jumping option to 'off'
Russell Bryant [Wed, 21 Dec 2005 08:44:51 +0000 (08:44 +0000)]
- change the default value of the global priority jumping option to 'off'
- update the UPGRADE.txt file to reflect this change
- remove old information from UPGRADE.txt

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

14 years agoAdded docs for new features (duplex mode & tailmessages)
Jim Dixon [Tue, 20 Dec 2005 23:53:26 +0000 (23:53 +0000)]
Added docs for new features (duplex mode & tailmessages)

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

14 years agoNew version, including half/semi-half duplex modes and system announcements
Jim Dixon [Tue, 20 Dec 2005 23:41:59 +0000 (23:41 +0000)]
New version, including half/semi-half duplex modes and system announcements

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

14 years agoAvoid multiple free
Mark Spencer [Tue, 20 Dec 2005 23:36:22 +0000 (23:36 +0000)]
Avoid multiple free

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

14 years ago- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
Russell Bryant [Tue, 20 Dec 2005 20:20:04 +0000 (20:20 +0000)]
- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue #5868)

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

14 years agoadd AGENT function, similar to SIPPEER or IAXPEER (issue #5531)
Russell Bryant [Tue, 20 Dec 2005 19:56:52 +0000 (19:56 +0000)]
add AGENT function, similar to SIPPEER or IAXPEER (issue #5531)

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

14 years agoMajor RTP fixes for using inbound SDP on outbound connection, get rid of
Mark Spencer [Tue, 20 Dec 2005 17:52:31 +0000 (17:52 +0000)]
Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...

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

14 years agoDon't bother decode on muted participants
Mark Spencer [Tue, 20 Dec 2005 14:14:01 +0000 (14:14 +0000)]
Don't bother decode on muted participants

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

14 years agoMajor peformance improvements to meetme
Mark Spencer [Tue, 20 Dec 2005 13:07:02 +0000 (13:07 +0000)]
Major peformance improvements to meetme

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

14 years agoFix choppy audio with > 20ms audio frames (bug #5697)
Mark Spencer [Tue, 20 Dec 2005 10:26:53 +0000 (10:26 +0000)]
Fix choppy audio with > 20ms audio frames (bug #5697)

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

14 years agoFix segfault on directed pickup when no CDR is available (bug #5998)
Mark Spencer [Tue, 20 Dec 2005 09:56:55 +0000 (09:56 +0000)]
Fix segfault on directed pickup when no CDR is available (bug #5998)

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

14 years agoFix reload of peer contexts (bug #6007)
Mark Spencer [Tue, 20 Dec 2005 09:39:31 +0000 (09:39 +0000)]
Fix reload of peer contexts (bug #6007)

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

14 years agouse the system libgsm if available (issue #5434, modified to still work with builtin...
Russell Bryant [Tue, 20 Dec 2005 08:16:53 +0000 (08:16 +0000)]
use the system libgsm if available (issue #5434, modified to still work with builtin libgsm)

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

14 years agoallow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
Russell Bryant [Tue, 20 Dec 2005 07:45:05 +0000 (07:45 +0000)]
allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
how we already have WITHOUT_ZAPTEL (issue #5985)

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

14 years ago- add note on required values of sip_methods struct
Russell Bryant [Mon, 19 Dec 2005 23:41:53 +0000 (23:41 +0000)]
- add note on required values of sip_methods struct
- remove duplicate function prototype
- remove duplicate ast_mutex_lock (issue #6025)

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

14 years agoMerged revisions 7523 via svnmerge from
Tilghman Lesher [Mon, 19 Dec 2005 19:08:42 +0000 (19:08 +0000)]
Merged revisions 7523 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7521 via svnmerge from
Tilghman Lesher [Mon, 19 Dec 2005 05:42:55 +0000 (05:42 +0000)]
Merged revisions 7521 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7519 via svnmerge from
Tilghman Lesher [Sat, 17 Dec 2005 18:58:57 +0000 (18:58 +0000)]
Merged revisions 7519 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7517 via svnmerge from
Tilghman Lesher [Sat, 17 Dec 2005 17:22:24 +0000 (17:22 +0000)]
Merged revisions 7517 via svnmerge from
/branches/1.2

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

14 years agoMerged revisions 7515 via svnmerge from
Kevin P. Fleming [Sat, 17 Dec 2005 03:59:27 +0000 (03:59 +0000)]
Merged revisions 7515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7515 | kpfleming | 2005-12-16 21:59:05 -0600 (Fri, 16 Dec 2005) | 2 lines

Max-Forwards headers must only be present on requests, not responses

........

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

14 years agoMerged revisions 7513 via svnmerge from
Kevin P. Fleming [Sat, 17 Dec 2005 03:45:25 +0000 (03:45 +0000)]
Merged revisions 7513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7513 | kpfleming | 2005-12-16 21:44:30 -0600 (Fri, 16 Dec 2005) | 2 lines

forcibly expire previous subscriptions from a peer when they resubscribe (keeps them from building up and waiting for expiration, and stops us sending unwanted NOTIFY messages to devices)

........

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

14 years agoMerged revision 7510 via svnmerge from
Kevin P. Fleming [Sat, 17 Dec 2005 02:22:24 +0000 (02:22 +0000)]
Merged revision 7510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7510 | kpfleming | 2005-12-16 20:20:04 -0600 (Fri, 16 Dec 2005) | 2 lines

fix some buglet when building team branch version strings

........

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

14 years agoblock a commit to a module that no longer exists in trunk
Kevin P. Fleming [Sat, 17 Dec 2005 02:21:36 +0000 (02:21 +0000)]
block a commit to a module that no longer exists in trunk

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

14 years agoMerged revisions 7508 via svnmerge from
Tilghman Lesher [Sat, 17 Dec 2005 01:07:44 +0000 (01:07 +0000)]
Merged revisions 7508 via svnmerge from
/branches/1.2

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

14 years agoFirst field was truncated.
Tilghman Lesher [Fri, 16 Dec 2005 00:55:39 +0000 (00:55 +0000)]
First field was truncated.
(Don't kill me; this attempted merge didn't work because the paths changed.)

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

14 years agoProperly move these functions over to the funcs directory (since they no longer conta...
Tilghman Lesher [Thu, 15 Dec 2005 19:05:41 +0000 (19:05 +0000)]
Properly move these functions over to the funcs directory (since they no longer contain apps)

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

14 years agoMake sure the functions CUT and SORT are built.
Tilghman Lesher [Thu, 15 Dec 2005 17:31:52 +0000 (17:31 +0000)]
Make sure the functions CUT and SORT are built.

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

14 years ago Bug #6003 - Don't free the channel structure until after having sent the manager...
BJ Weschke [Thu, 15 Dec 2005 02:49:17 +0000 (02:49 +0000)]
 Bug #6003 - Don't free the channel structure until after having sent the manager event.

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

14 years agoreduce some duplicated code when doing a strdup (issue #5986)
Russell Bryant [Tue, 13 Dec 2005 22:03:06 +0000 (22:03 +0000)]
reduce some duplicated code when doing a strdup (issue #5986)

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

14 years agoMerged revisions 7470 via svnmerge from
Kevin P. Fleming [Tue, 13 Dec 2005 18:54:41 +0000 (18:54 +0000)]
Merged revisions 7470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7470 | kpfleming | 2005-12-13 12:54:22 -0600 (Tue, 13 Dec 2005) | 2 lines

clarify substring documentation

........

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

14 years agoMerged revisions 7468 via svnmerge from
Kevin P. Fleming [Tue, 13 Dec 2005 16:07:19 +0000 (16:07 +0000)]
Merged revisions 7468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7468 | kpfleming | 2005-12-13 10:06:27 -0600 (Tue, 13 Dec 2005) | 2 lines

correct broken math in tvfix() for timestamp values over one million

........

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

14 years agoMerged revisions 7448-7449,7451,7453 via svnmerge from
Kevin P. Fleming [Tue, 13 Dec 2005 06:00:17 +0000 (06:00 +0000)]
Merged revisions 7448-7449,7451,7453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7448 | kpfleming | 2005-12-12 22:25:14 -0600 (Mon, 12 Dec 2005) | 2 lines

use the stream's current point when pausing/unpausing, instead of elapsed time (which doesn't work when the stream has been skipped forward or backward) (issue #5897)

........
r7449 | kpfleming | 2005-12-12 22:43:38 -0600 (Mon, 12 Dec 2005) | 2 lines

only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902)

........
r7451 | kpfleming | 2005-12-12 23:14:27 -0600 (Mon, 12 Dec 2005) | 2 lines

ensure that hangups while incoming calls are in early state are handled properly (issue #5919)

........
r7453 | kpfleming | 2005-12-12 23:53:00 -0600 (Mon, 12 Dec 2005) | 2 lines

restore ability of caller to hangup calls that are still ringing (issue #5839)

........

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

14 years agoupdated the documentation and the sample config to meet the present
Christian Richter [Mon, 12 Dec 2005 22:26:35 +0000 (22:26 +0000)]
updated the documentation and the sample config to meet the present

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

14 years agoMerged revisions 7433,7435 via svnmerge from
Kevin P. Fleming [Mon, 12 Dec 2005 17:31:45 +0000 (17:31 +0000)]
Merged revisions 7433,7435 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7433 | tilghman | 2005-12-12 11:19:29 -0600 (Mon, 12 Dec 2005) | 2 lines

Typo

........
r7435 | kpfleming | 2005-12-12 11:30:59 -0600 (Mon, 12 Dec 2005) | 2 lines

set all the child file descriptors to non-blocking so that we don't hang if the child fails to send a newline-terminated command or error message

........

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

14 years agoTypo
Tilghman Lesher [Mon, 12 Dec 2005 17:20:21 +0000 (17:20 +0000)]
Typo

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

14 years agoMerged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
Russell Bryant [Sun, 11 Dec 2005 06:17:36 +0000 (06:17 +0000)]
Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7404 | tilghman | 2005-12-08 18:32:08 -0500 (Thu, 08 Dec 2005) | 2 lines

Documenting two keywords that were previously missing

........
r7406 | tilghman | 2005-12-08 18:45:36 -0500 (Thu, 08 Dec 2005) | 2 lines

Bug 5960

........
r7425 | bweschke | 2005-12-10 13:10:50 -0500 (Sat, 10 Dec 2005) | 4 lines

 Bug #5877
 Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.

........
r7427 | tilghman | 2005-12-10 20:15:15 -0500 (Sat, 10 Dec 2005) | 2 lines

Bug 5967

........
r7429 | tilghman | 2005-12-10 20:26:51 -0500 (Sat, 10 Dec 2005) | 2 lines

Bug 5965 - major bug in AST_LIST_REMOVE

........
r7430 | russell | 2005-12-11 01:08:56 -0500 (Sun, 11 Dec 2005) | 2 lines

silence a couple of compiler warnings about pointer signedness

........

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

14 years agoBug 5965 - major bug in AST_LIST_REMOVE
Tilghman Lesher [Sun, 11 Dec 2005 01:26:09 +0000 (01:26 +0000)]
Bug 5965 - major bug in AST_LIST_REMOVE

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

14 years ago Bug #5877
BJ Weschke [Sat, 10 Dec 2005 18:05:00 +0000 (18:05 +0000)]
 Bug #5877
 Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.

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

14 years agocommitted head of chan_misdn with a lot of new features. Most important of all: chan_...
Christian Richter [Fri, 9 Dec 2005 11:01:18 +0000 (11:01 +0000)]
committed head of chan_misdn with a lot of new features. Most important of all: chan_misdn supports now the mISDN mqueue tree (smp,preemptible,gcc-4 aware\!). Additionally there are some code optimizations, new facility management (Calldeflect works for now).

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

14 years agochan_misdn links against shared mISDNuser libraries now
Christian Richter [Fri, 9 Dec 2005 11:00:48 +0000 (11:00 +0000)]
chan_misdn links against shared mISDNuser libraries now

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

14 years agoDocument other use of courtesytone, make association of "One Touch Record" with ...
Josh Roberson [Fri, 9 Dec 2005 00:27:11 +0000 (00:27 +0000)]
Document other use of courtesytone, make association of "One Touch Record" with "Touch monitor"

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

14 years agoDocument addition of variable from Touch Monitor.
Josh Roberson [Fri, 9 Dec 2005 00:24:59 +0000 (00:24 +0000)]
Document addition of variable from Touch Monitor.

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

14 years agoBug 5960
Tilghman Lesher [Thu, 8 Dec 2005 23:46:21 +0000 (23:46 +0000)]
Bug 5960

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

14 years agoDocument two keywords that were previously missing
Tilghman Lesher [Thu, 8 Dec 2005 23:33:08 +0000 (23:33 +0000)]
Document two keywords that were previously missing

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

14 years agoAllow retrieval of generated filename from one touch monitor feature.
Josh Roberson [Thu, 8 Dec 2005 18:18:59 +0000 (18:18 +0000)]
Allow retrieval of generated filename from one touch monitor feature.
Adds new variable TOUCH_MONITOR_OUTPUT to both legs on completion.

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

14 years agofix a bug from the recent removal of deprecated applications by initializing
Russell Bryant [Thu, 8 Dec 2005 17:52:43 +0000 (17:52 +0000)]
fix a bug from the recent removal of deprecated applications by initializing
a variable on its first use (issue #5951)

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

14 years agoMerged revisions 7386 via svnmerge from
Kevin P. Fleming [Thu, 8 Dec 2005 01:06:09 +0000 (01:06 +0000)]
Merged revisions 7386 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7386 | kpfleming | 2005-12-07 19:05:43 -0600 (Wed, 07 Dec 2005) | 2 lines

initialize the buffer before using it...

........

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

14 years agoMerged revisions 7382 via svnmerge from
Kevin P. Fleming [Wed, 7 Dec 2005 20:47:59 +0000 (20:47 +0000)]
Merged revisions 7382 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7382 | kpfleming | 2005-12-07 14:46:55 -0600 (Wed, 07 Dec 2005) | 2 lines

ensure that hints are allowed to use global variable references

........

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

14 years agore-add app_setcallerid since it was not actually marked deprecated in 1.2
Russell Bryant [Wed, 7 Dec 2005 16:41:26 +0000 (16:41 +0000)]
re-add app_setcallerid since it was not actually marked deprecated in 1.2

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

14 years agoThis is the first round of removing applications that were marked as deprecated
Russell Bryant [Wed, 7 Dec 2005 15:36:55 +0000 (15:36 +0000)]
This is the first round of removing applications that were marked as deprecated
in the 1.2 release. They are being removed from the trunk and will not be in
the next major release.  The following is a list of the applications that are
being removed in this commit:

Curl, Cut, Sort, DBPut, DBGet, ENUMLookup, Eval
GetGroupCount, SetGroup, CheckGroup, GetGroupMatchCount
MD5, MD5Check, Math, SetCIDName, SetCIDNum, SetRDNIS, SetCallerID
TXTCIDName, AbsoluteTimeout, DigitTimeout, ResponseTimeout, SetAccount
SetLanguage, SetVar (renamed to Set)

These changes also include moving the "group show channels" cli command from
app_groupcount.c to cli.c.

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

14 years agoClarify purpose of function, by renaming
Tilghman Lesher [Tue, 6 Dec 2005 00:25:13 +0000 (00:25 +0000)]
Clarify purpose of function, by renaming

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

14 years agoMerged revisions 7351 via svnmerge from
Kevin P. Fleming [Tue, 6 Dec 2005 00:24:55 +0000 (00:24 +0000)]
Merged revisions 7351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7351 | kpfleming | 2005-12-05 18:23:05 -0600 (Mon, 05 Dec 2005) | 2 lines

ensure that sound/music files are handled as binary

........

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

14 years agoMerged revisions 7349 via svnmerge from
Kevin P. Fleming [Tue, 6 Dec 2005 00:19:49 +0000 (00:19 +0000)]
Merged revisions 7349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7349 | kpfleming | 2005-12-05 18:19:17 -0600 (Mon, 05 Dec 2005) | 2 lines

replace with unmodified file

........

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