........
r156575 | eliel | 2008-11-13 13:46:06 -0200 (Thu, 13 Nov 2008) | 12 lines
Introduce XML documentation for:
- MeetMe()
- MeetMeCount()
- MeetMeChannelAdmin()
- MeetMeAdmin()
- SLAStation()
- SLATrunk()
- Add an attribute to optionlist 'hasparams' with the same functionality as the one
we have in <parameter> and <argument> (the DTD was updated)
- Fix a leak when getting an attribute while parsing an <optionlist>.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156541 | eliel | 2008-11-13 11:53:13 -0200 (Thu, 13 Nov 2008) | 3 lines
Fix a typo introduced when changing xmldoc_has_arguments() to xmldoc_has_inside()
we need to pass the name of the node that we are looking for.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156355 | eliel | 2008-11-12 18:27:40 -0200 (Wed, 12 Nov 2008) | 4 lines
- Make alias->real_cmd point to the allocated space outside alias->alias.
- Register the aliased cli command (or we will not alias anything).
- Use ARRAY_LEN() when possible.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r156299 | murf | 2008-11-12 12:47:29 -0700 (Wed, 12 Nov 2008) | 26 lines
Merged revisions 156297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r156297 | murf | 2008-11-12 12:36:16 -0700 (Wed, 12 Nov 2008) | 18 lines
It turns out that the 0x0XX00 codes being returned for
N, X, and Z are off by one, as per conversation with
jsmith on #asterisk-dev; he was teaching a class
and disconcerted that this published rule was not
being followed, with patterns _NXX, _[1-8]22 and
_[2-9]22... and NXX was winning, but [1-8] should
have been.
This change, tested on these 3 patterns now
picks the proper one.
However, this change may surprise users who
set up dialplans based on previous behavior,
which has been there for what, 2 and half
years or so now.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r156243 | tilghman | 2008-11-12 12:55:18 -0600 (Wed, 12 Nov 2008) | 18 lines
Merged revisions 156229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r156229 | tilghman | 2008-11-12 12:39:21 -0600 (Wed, 12 Nov 2008) | 11 lines
Revert revision 132506, since it occasionally caused IAX2 HANGUP packets not
to be sent, and instead, schedule a task to destroy the iax2 pvt structure
10 seconds later. This allows the IAX2 HANGUP packet to be queued,
transmitted, and ACKed before the pvt is destroyed.
(closes issue #13645)
Reported by: dzajro
Patches:
20081111__bug13645__3.diff.txt uploaded by Corydon76 (license 14)
Tested by: vazir
Reviewed: http://reviewboard.digium.com/r/51/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r156228 | jpeeler | 2008-11-12 12:32:46 -0600 (Wed, 12 Nov 2008) | 16 lines
Merged revisions 156178 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r156178 | jpeeler | 2008-11-12 11:53:44 -0600 (Wed, 12 Nov 2008) | 8 lines
(closes issue #13173)
Reported by: pep
This change adds an announce_thread responsible for playing announcements to an existing conference. This allows all announcing to be immediately stopped if necessary but more importantly allows other threads that need to play something to not block. There are multiple benefits to this, but the actual bug is for solving the scenario for a channel to be unusable after hang up for the entire duration of the parting announcement. The parting announcement can be extremely long depending on what the user recorded upon joining the conference.
Reviewed by Russell on Review Board:
http://reviewboard.digium.com/r/25/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r156169 | mmichelson | 2008-11-12 11:41:56 -0600 (Wed, 12 Nov 2008) | 15 lines
Merged revisions 156167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r156167 | mmichelson | 2008-11-12 11:38:33 -0600 (Wed, 12 Nov 2008) | 7 lines
When doing some tests, I was having a crash at the end of every call
if an attended transfer occurred during the call. I traced the cause to
the CDR on one of the channels being NULL. murf suggested a check in
the end bridge callback to be sure the CDR is non-NULL before proceeding,
so that's what I'm adding.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r156166 | russell | 2008-11-12 11:38:20 -0600 (Wed, 12 Nov 2008) | 15 lines
Merged revisions 156164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r156164 | russell | 2008-11-12 11:29:52 -0600 (Wed, 12 Nov 2008) | 7 lines
Move the sanity check that makes sure "always fork" is not set along with the
console option to be after the code that reads options from asterisk.conf.
This resolves a situation where Asterisk can start taking up 100% when
misconfigured.
(Thanks to Bryce Porter (x86 on IRC) for letting me log in to his system to
figure out what was causing the 100% CPU problem.)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156162 | eliel | 2008-11-12 15:28:02 -0200 (Wed, 12 Nov 2008) | 3 lines
- The paramname is a pointer allocated with strdup() or malloc(), so,
we need to free it with ast_free().
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156125 | eliel | 2008-11-12 11:43:46 -0200 (Wed, 12 Nov 2008) | 8 lines
Add XML documentation for AGI commands:
- database deltree
- database get
- exec
- get data
- get full variable
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156120 | mvanbaak | 2008-11-12 07:46:04 +0100 (Wed, 12 Nov 2008) | 16 lines
This commit does two things:
- Add CLI aliases module to asterisk.
- Remove all deprecated CLI commands from the code
Initial work done by file.
Junk-Y and lmadsen did a lot of work and testing to
get the list of deprecated commands into the configuration file.
Deprecated CLI commands are now handled by this new module,
see cli_aliases.conf for more info about that.
ok russellb@ via reviewboard
(closes issue #13735)
Reported by: mvanbaak
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156087 | eliel | 2008-11-12 00:20:05 -0200 (Wed, 12 Nov 2008) | 3 lines
- Add 'database del', 'database put' and 'set music' AGI commands XML documentation.
- Add to the DTD the possibility to put a parameter inside an <enum>.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156051 | eliel | 2008-11-11 22:17:43 -0200 (Tue, 11 Nov 2008) | 7 lines
Implement AGI XML documentation parsing functions.
A new <agi> element is used to describe the XML documentation.
We have the usual synopsis,syntax,description and seealso for AGI commands.
The CLI 'agi show commands' command was changed to show all the documentation se
ctions.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r156017 | pari | 2008-11-11 17:02:43 -0600 (Tue, 11 Nov 2008) | 5 lines
Patch by Ryan Brindley -- Make sure that manager refuses any duplicate 'new category' requests in updateconfig
........
r156018 | pari | 2008-11-11 17:32:31 -0600 (Tue, 11 Nov 2008) | 4 lines
changing comment style to conform coding guidelines
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155967 | kpfleming | 2008-11-11 11:57:20 -0600 (Tue, 11 Nov 2008) | 3 lines
use some fancy compiler magic (thanks to Matthew Woehlke on the gcc-help mailing list) to restore type-safety to S_OR by going back to a macro, but preserve the side-effect-safe usage of the macro arguments
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r155863 | mmichelson | 2008-11-10 15:14:44 -0600 (Mon, 10 Nov 2008) | 22 lines
Merged revisions 155861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r155861 | mmichelson | 2008-11-10 15:07:39 -0600 (Mon, 10 Nov 2008) | 14 lines
Channel drivers assume that when their indicate callback
is invoked, that the channel on which the callback was called
is locked. This patch corrects an instance in chan_agent where
a channel's indicate callback is called directly without first
locking the channel.
This was leading to some observed locking issues in chan_local,
but considering that all channel drivers operate under the
same expectations, the generic fix in chan_agent is the right
way to go.
AST-126
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155711 | eliel | 2008-11-10 11:53:23 -0200 (Mon, 10 Nov 2008) | 11 lines
Move all the XML documentation API from pbx.c to xmldoc.c.
Export the XML documentation API:
ast_xmldoc_build_synopsis()
ast_xmldoc_build_syntax()
ast_xmldoc_build_description()
ast_xmldoc_build_seealso()
ast_xmldoc_build_arguments()
ast_xmldoc_printable()
ast_xmldoc_load_documentation()
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155590 | seanbright | 2008-11-08 20:59:59 -0500 (Sat, 08 Nov 2008) | 5 lines
In order to move away from nested function use, some changes to the recently introduced
ast_channel_search_locked need to be made. Specifically, the caller needs to be able to
pass arbitrary data which in turn is passed to the callback. This patch addresses all
of the nested functions currently in asterisk trunk.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r155467 | mmichelson | 2008-11-07 17:41:44 -0600 (Fri, 07 Nov 2008) | 12 lines
Set the invite state to INV_CANCELLED in a place that
makes more sense. Where it was set before, it was impossible
to actually delay sending a CANCEL if we had not yet received
a provisional response to an INVITE.
(closes issue #13626)
Reported by: atis
Patches:
13626.patch uploaded by putnopvut (license 60)
Tested by: atis
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155401 | seanbright | 2008-11-07 17:39:30 -0500 (Fri, 07 Nov 2008) | 8 lines
Add ability to pass arbitrary data to the ao2_callback_fn (called from
ao2_callback and ao2_find). Currently, passing OBJ_POINTER to either
of these mandates that the passed 'arg' is a hashable object, making
searching for an ao2 object based on outside criteria difficult.
Reviewed by Russell and Mark M. via ReviewBoard:
http://reviewboard.digium.com/r/36/
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r155360 | mmichelson | 2008-11-07 15:14:49 -0600 (Fri, 07 Nov 2008) | 8 lines
Remove one more instance of the sample configuration
lying about what's possible. The tz cannot be set in a
context like this. It can only be set in the general
section or per-mailbox.
Thanks to sasargen on #asterisk-dev for pointing this out
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155284 | seanbright | 2008-11-07 11:18:52 -0500 (Fri, 07 Nov 2008) | 6 lines
Convert open-coded linked list in indications to the AST_LIST_* macros. This
cleans the code up some and should make it more maintainable as time goes on.
Reviewed by Russell, Kevin, Mark M., and Tilghman via ReviewBoard:
http://reviewboard.digium.com/r/34/
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r155241 | russell | 2008-11-07 08:50:30 -0600 (Fri, 07 Nov 2008) | 4 lines
Fix some code in chan_sip that was intended to unlink multiple objects from a
container. The OBJ_MULTIPLE flag must be provided here. Otherwise, this would
only remove a single object.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155204 | eliel | 2008-11-07 01:02:01 -0200 (Fri, 07 Nov 2008) | 4 lines
If 'asterisk.conf' is not found, instead of giving up,
load documentation for the 'en_US' language (fix my last
commit).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155066 | kpfleming | 2008-11-06 14:51:26 -0600 (Thu, 06 Nov 2008) | 5 lines
put ifdef protection around the rest of the libpri function calls that were added at the same time as progress_with_cause
move parsing of the qsig channel mapping configuration option outside ifdef HAVE_PRI_INBANDDISCONNECT and into a properly ifdef'd block
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r155079 | kpfleming | 2008-11-06 15:09:24 -0600 (Thu, 06 Nov 2008) | 3 lines
make S_OR and S_COR safe to use even if the parameters are function calls or have side effects. it still bothers me that these are called S_OR and not something like ast_string_or, but that's water over the bridge
........
r155080 | kpfleming | 2008-11-06 15:12:03 -0600 (Thu, 06 Nov 2008) | 3 lines
coding style/guidelines cleanup, plus use new side-effect safe S_OR
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155115 65c4cc65-6c06-0410-ace0-fbb531ad65f3