app_sendtext: Allow content types other than text/plain
There was no real reason to limit the conteny type to text/plain other
than that's what it was limited to before. Now any text/* content
type will be allowed for channel drivers that don't support enhanced
messaging and any type will be allowed for channel drivers that do
support enhanced messaging.
Change-Id: I94a90cfee98b4bc8e22aa5c0b6afb7b862f979d9

app_sendtext: Enhance SendText to support Enhanced Messaging
SendText now accepts new channel variables that can be used
to override the To and From display names and set the Content-Type
of a message. Since you can now set Content-Type, other text/*
content types are now valid.
Change-Id: I648b4574478119f95de09d9f08e9595831b02830

Remove as much trailing whitespace as possible.2017-12-22T14:23:22ZSean Brightsean.bright@gmail.comSean Brightsean.bright@gmail.com2017-12-22T14:23:22Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=fd0ca1c3f9b972a52d48a82b492fd6bac772dc78

Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0

Remove ASTERISK_REGISTER_FILE.
ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes
all traces of it.
Previously exported symbols removed:
* __ast_register_file
* __ast_unregister_file
* ast_complete_source_filename
This also removes the mtx_prof static variable that was declared when
MTX_PROFILE was enabled. This variable was only used in lock.c so it
is now initialized in that file only.
ASTERISK-26480 #close
Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966

git migration: Refactor the ASTERISK_FILE_VERSION macro
Git does not support the ability to replace a token with a version
string during check-in. While it does have support for replacing a
token on clone, this is somewhat sub-optimal: the token is replaced
with the object hash, which is not particularly easy for human
consumption. What's more, in practice, the source file version was often
not terribly useful. Generally, when triaging bugs, the overall version
of Asterisk is far more useful than an individual SVN version of a file. As a
result, this patch removes Asterisk's support for showing source file
versions.
Specifically, it does the following:
* Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
remove passing the version in with the macro. Other facilities
than 'core show file version' make use of the file names, such as
setting a debug level only on a specific file. As such, the act of
registering source files with the Asterisk core still has use. The
macro rename now reflects the new macro purpose.
* main/asterisk:
- Refactor the file_version structure to reflect that it no longer
tracks a version field.
- Remove the "core show file version" CLI command. Without the file
version, it is no longer useful.
- Remove the ast_file_version_find function. The file version is no
longer tracked.
- Rename ast_register_file_version/ast_unregister_file_version to
ast_register_file/ast_unregister_file, respectively.
* main/manager: Remove value from the Version key of the ModuleCheck
Action. The actual key itself has not been removed, as doing so would
absolutely constitute a backwards incompatible change. However, since
the file version is no longer tracked, there is no need to attempt to
include it in the Version key.
* UPGRADE: Add notes for:
- Modification to the ModuleCheck AMI Action
- Removal of the "core show file version" CLI command
Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e

Merged revisions 328247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10
................
r328247 | lmadsen | 2011-07-14 16:25:31 -0400 (Thu, 14 Jul 2011) | 14 lines
Merged revisions 328209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r328209 | lmadsen | 2011-07-14 16:13:06 -0400 (Thu, 14 Jul 2011) | 6 lines
Introduce <support_level> tags in MODULEINFO.
This change introduces MODULEINFO into many modules in Asterisk in order to show
the community support level for those modules. This is used by changes committed
to menuselect by Russell Bryant recently (r917 in menuselect). More information about
the support level types and what they mean is available on the wiki at
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@328259 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Const-ify the world (or at least a good part of it)2009-05-21T21:13:09ZKevin P. Flemingkpfleming@digium.comKevin P. Flemingkpfleming@digium.com2009-05-21T21:13:09Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=e6b2e9a7501b5d2e351a5e626fa13dfc3c113f1e

Const-ify the world (or at least a good part of it)
This patch adds 'const' tags to a number of Asterisk APIs where they are appropriate (where the API already demanded that the function argument not be modified, but the compiler was not informed of that fact). The list includes:
- CLI command handlers
- CLI command handler arguments
- AGI command handlers
- AGI command handler arguments
- Dialplan application handler arguments
- Speech engine API function arguments
In addition, various file-scope and function-scope constant arrays got 'const' and/or 'static' qualifiers where they were missing.
Review: https://reviewboard.asterisk.org/r/251/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196072 65c4cc65-6c06-0410-ace0-fbb531ad65f3

add 'const' qualifiers in various places where they should have been2009-05-12T13:59:35ZKevin P. Flemingkpfleming@digium.comKevin P. Flemingkpfleming@digium.com2009-05-12T13:59:35Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=1c988d8996678d782ab6cc50e352b4870eb6fd5d

add 'const' qualifiers in various places where they should have been
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193832 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Merge changes from team/group/appdocsxml
This commit introduces the first phase of an effort to manage documentation of the
interfaces in Asterisk in an XML format. Currently, a new format is available for
applications and dialplan functions. A good number of conversions to the new format
are also included.
For more information, see the following message to asterisk-dev:
http://lists.digium.com/pipermail/asterisk-dev/2008-October/034968.html
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153365 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Fix a bug where SENDTEXTSTATUS isn't set properly when it isn't2008-07-21T20:54:09ZBrett Bryantbbryant@digium.comBrett Bryantbbryant@digium.com2008-07-21T20:54:09Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=16374ad40df69a01b55482cd45f5289511a49016

remove another set of redundant #include "asterisk/options.h"2007-11-21T23:24:55ZLuigi Rizzorizzo@icir.orgLuigi Rizzorizzo@icir.org2007-11-21T23:24:55Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=7e8835e0d79b129fe07a5f1a67aee35548e616cd

remove another set of redundant #include "asterisk/options.h"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include "logger.h" and errno.h from asterisk.h - usage shows that they2007-11-19T18:52:04ZLuigi Rizzorizzo@icir.orgLuigi Rizzorizzo@icir.org2007-11-19T18:52:04Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=0595b5e2aa6a868b01c617881cfefc6028817a28

include "logger.h" and errno.h from asterisk.h - usage shows that they
were included almost everywhere.
Remove some of the instances.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89424 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Start untangling header inclusion in a way that does not affect2007-11-16T20:04:58ZLuigi Rizzorizzo@icir.orgLuigi Rizzorizzo@icir.org2007-11-16T20:04:58Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=fdb7f7ba3da0b1bb02c782eba68aa1fa4ba96800

Start untangling header inclusion in a way that does not affect
build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better.
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Mostly cleanup of documentation to substitute the pipe with the comma, but a few... 2007-07-31T01:10:47ZTilghman Leshertilghman@meg.abyt.esTilghman Leshertilghman@meg.abyt.es2007-07-31T01:10:47Zhttp://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=commitdiff;h=20bbd09de3f3de70a0b365082795d90614fc4532

Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77808 65c4cc65-6c06-0410-ace0-fbb531ad65f3