Commit Graph

6616 Commits

Author SHA1 Message Date
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
Russell Bryant 5039373b99 - 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
2005-12-21 08:44:51 +00:00
Jim Dixon 1187d236bc Added docs for new features (duplex mode & tailmessages)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 23:53:26 +00:00
Jim Dixon 13e757450d 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
2005-12-20 23:41:59 +00:00
Mark Spencer 7f23f1b5de Avoid multiple free
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 23:36:22 +00:00
Russell Bryant 0da13c21b4 - 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
2005-12-20 20:20:04 +00:00
Russell Bryant 9398c57e6f 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
2005-12-20 19:56:52 +00:00
Mark Spencer 0d32a85be1 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
2005-12-20 17:52:31 +00:00
Mark Spencer 93d1d0dcfb Don't bother decode on muted participants
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 14:14:01 +00:00
Mark Spencer d6b8ce3921 Major peformance improvements to meetme
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 13:07:02 +00:00
Mark Spencer 74460d2e8b 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
2005-12-20 10:26:53 +00:00
Mark Spencer a965978a25 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
2005-12-20 09:56:55 +00:00
Mark Spencer 6322aaad68 Fix reload of peer contexts (bug #6007)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 09:39:31 +00:00
Russell Bryant 62084f9736 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
2005-12-20 08:16:53 +00:00
Russell Bryant 1bd64edd17 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
2005-12-20 07:45:05 +00:00
Russell Bryant dca08fd878 - 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
2005-12-19 23:41:53 +00:00
Tilghman Lesher 154d9ada80 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
2005-12-19 19:08:42 +00:00
Tilghman Lesher 9b166d3319 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
2005-12-19 05:42:55 +00:00
Tilghman Lesher c7786ce493 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
2005-12-17 18:58:57 +00:00
Tilghman Lesher 4f72086b8f 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
2005-12-17 17:22:24 +00:00
Kevin P. Fleming 2a3dacfc3d 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
2005-12-17 03:59:27 +00:00
Kevin P. Fleming caa2e580da 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
2005-12-17 03:45:25 +00:00
Kevin P. Fleming 9cc6ad4880 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
2005-12-17 02:22:24 +00:00
Kevin P. Fleming 5bca3c5440 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
2005-12-17 02:21:36 +00:00
Tilghman Lesher 6350e25aa7 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
2005-12-17 01:07:44 +00:00
Tilghman Lesher eea40f2025 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
2005-12-16 00:55:39 +00:00
Tilghman Lesher cbab537375 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
2005-12-15 19:05:41 +00:00
Tilghman Lesher 3a257db366 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
2005-12-15 17:31:52 +00:00