Russell Bryant
1bd94abf57
avoid multiple strlen calls in complete_queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-29 08:15:48 +00:00
Russell Bryant
a6d13ff79f
Merged revisions 7665 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7665 | russell | 2005-12-28 12:35:56 -0500 (Wed, 28 Dec 2005) | 2 lines
fix memory leak in build_rpid (issue #6070 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-28 17:37:35 +00:00
Russell Bryant
33fafb28f8
restore alphabetical order for builtin cli commands (issue #6073 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-28 17:31:12 +00:00
Russell Bryant
e458091585
fix permissions of created recordings (issue #6067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 21:03:18 +00:00
Russell Bryant
04fc58d038
minor cleanups for another cli completion function ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 20:03:07 +00:00
Russell Bryant
27a345626c
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
2005-12-27 19:59:09 +00:00
Russell Bryant
37e21fc61c
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
2005-12-27 19:48:44 +00:00
Tilghman Lesher
a19361c684
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
2005-12-27 19:13:13 +00:00
Russell Bryant
e4e5b423a4
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
2005-12-27 18:18:41 +00:00
Tilghman Lesher
478052caa0
Bug 5237 - Optional filename argument
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 17:53:48 +00:00
Russell Bryant
1f73717188
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
2005-12-27 17:24:54 +00:00
Tilghman Lesher
7fae5bb20e
Bug 5382 - Allow VM_CATEGORY in voicemail emails
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 07:13:37 +00:00
Tilghman Lesher
340f5b67de
Bug 5906 - ARRAY dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 06:50:25 +00:00
Tilghman Lesher
ca92ea82d6
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
2005-12-27 06:42:29 +00:00
Tilghman Lesher
cdab512c9f
Bug 5183 - Inline stack backtraces
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 06:24:28 +00:00
Tilghman Lesher
b7272182d1
Reduce warnings on signedness conversions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 02:05:56 +00:00
Tilghman Lesher
dd161bec3b
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
2005-12-27 02:02:23 +00:00
Mark Spencer
63ed37defd
Don't do DTMF detect on pseudo's!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 23:56:44 +00:00
Russell Bryant
a4f1d606b7
- 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
2005-12-26 21:38:50 +00:00
Tilghman Lesher
cf1e68e4e8
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
2005-12-26 20:34:46 +00:00
Jim Dixon
a945b5598e
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
2005-12-26 20:01:35 +00:00
Russell Bryant
ef1ce7aec9
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
2005-12-26 18:35:28 +00:00
Tilghman Lesher
dc51afacc6
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
2005-12-26 16:48:12 +00:00
Mark Spencer
ec0b96837e
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
2005-12-26 00:47:28 +00:00
Mark Spencer
96b3a24637
Fix multiple free of a frame (bug #6058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-25 01:27:47 +00:00
Tilghman Lesher
eeb58dcd81
Bug 5727 - reduce duplicate code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-25 00:25:41 +00:00
Russell Bryant
85efb20313
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
2005-12-24 06:23:36 +00:00
Russell Bryant
22315a44c4
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
2005-12-24 05:18:40 +00:00
Tilghman Lesher
af4d531322
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
2005-12-23 23:42:58 +00:00
Tilghman Lesher
c66748df1c
Alphabetize the functions list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23 22:47:26 +00:00
Tilghman Lesher
5323442db4
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
2005-12-23 21:03:25 +00:00
Tilghman Lesher
06d1a99163
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
2005-12-23 20:43:11 +00:00
Tilghman Lesher
8d2b85d10a
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
2005-12-23 06:39:44 +00:00
Kevin P. Fleming
dea5bdd8e1
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
2005-12-23 03:04:38 +00:00
BJ Weschke
3f035b3dfc
Another app documentation tweak.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 23:59:13 +00:00
Tilghman Lesher
2f9eb968e7
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
2005-12-22 22:06:35 +00:00
Russell Bryant
b60daeb58f
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
2005-12-22 20:38:43 +00:00
Russell Bryant
80322c1bdb
remove stray unlock (issue #5955 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-22 16:14:38 +00:00
Kevin P. Fleming
9adc59ca3a
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
2005-12-22 03:50:44 +00:00
Kevin P. Fleming
2f66f7cfe9
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
2005-12-22 03:49:41 +00:00
Russell Bryant
1d498c35cd
- 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
2005-12-22 02:20:44 +00:00
Tilghman Lesher
134c3757d8
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
2005-12-21 20:02:36 +00:00
BJ Weschke
a3bd5d11d3
Bug #6040 - Documentation correction
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 19:44:51 +00:00
Tilghman Lesher
84d98f6b84
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
2005-12-21 19:24:56 +00:00
Tilghman Lesher
28af98ae95
Bug 5055 - Simple SQL commands from the dialplan
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 18:43:10 +00:00
Tilghman Lesher
6c3eda3e5f
Bug 5440 - Add STAT() dialplan function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 17:09:54 +00:00
Russell Bryant
da1d91b688
move heading to the top of the file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 16:36:48 +00:00
Tilghman Lesher
f31bb6d7ed
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
2005-12-21 15:16:08 +00:00
Russell Bryant
a63f3dffa1
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
2005-12-21 09:33:41 +00:00
Russell Bryant
f49974f314
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
2005-12-21 08:51:44 +00:00