asterisk/main
David M. Lee a2a53cc306 Stasis application WebSocket support
This is the API that binds the Stasis dialplan application to external
Stasis applications. It also adds the beginnings of WebSocket
application support.

This module registers a dialplan function named Stasis, which is used
to put a channel into the named Stasis app. As a channel enters and
leaves the Stasis diaplan application, the Stasis app receives a
'stasis-start' and 'stasis-end' events.

Stasis apps register themselves using the stasis_app_register and
stasis_app_unregister functions. Messages are sent to an application
using stasis_app_send.

Finally, Stasis apps control channels through the use of the
stasis_app_control object, and the family of stasis_app_control_*
functions.

Other changes along for the ride are:
 * An ast_frame_dtor function that's RAII_VAR safe
 * Some common JSON encoders for name/number, timeval, and
   context/extension/priority

Review: https://reviewboard.asterisk.org/r/2361/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-04-08 13:27:45 +00:00
..
editline Enable usage of system-provided NetBSD editline library if available. 2012-07-25 12:21:54 +00:00
stdtime Merged revisions 377138 via svnmerge from 2012-12-03 21:19:40 +00:00
Makefile Fixed another issue from r383579. 2013-03-22 20:51:33 +00:00
abstract_jb.c Unit tests for the Jitter Buffer API; remove unnecessary resync 2012-07-23 21:15:26 +00:00
acl.c Trivial patch to make 'best_score' defined for all architectures. 2012-10-07 17:33:38 +00:00
adsi.c Fix crash in unloading of res_adsi module 2012-06-26 13:23:12 +00:00
alaw.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
aoc.c Reset automerge property. 2012-12-11 22:25:21 +00:00
app.c Break the world. Stasis message type accessors should now all be named correctly. 2013-03-28 15:45:18 +00:00
ast_expr2.c Allow the REALTIME() function to report errors back to the caller. 2012-07-11 17:16:50 +00:00
ast_expr2.fl Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
ast_expr2.h Allow the REALTIME() function to report errors back to the caller. 2012-07-11 17:16:50 +00:00
ast_expr2.y Multiple revisions 360356-360357 2012-03-24 02:42:42 +00:00
ast_expr2f.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
asterisk.c Corrected some module issues introduced by r383579. 2013-03-22 19:26:37 +00:00
asterisk.dynamics Remove the old stub files, preferring the optional_api method. 2010-07-14 20:48:59 +00:00
asterisk.exports.in This patch adds a new message bus API to Asterisk. 2013-03-08 15:15:13 +00:00
astfd.c Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
astmm.c Merged revisions 377402 via svnmerge from 2012-12-08 00:19:39 +00:00
astobj2.c astobj2: Fix rbtree duplicate handling. 2013-04-03 16:01:51 +00:00
audiohook.c Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
autochan.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
autoservice.c Stopped spamming of debug messages during attended transfer. 2013-02-15 17:38:22 +00:00
bridging.c Fixup some bridge and format capabilities comments and whitespace. 2013-03-04 21:15:36 +00:00
buildinfo.c fix a few small things found by using sparse 2008-10-30 16:49:02 +00:00
callerid.c Allow for redirecting reasons to be set to arbitrary strings. 2012-09-25 19:29:14 +00:00
ccss.c Merged revisions 378322 via svnmerge from 2013-01-02 18:20:03 +00:00
cdr.c Resolve deadlock between pending CDR and batch CDR locks 2013-03-26 01:58:45 +00:00
cel.c Reset automerge property. 2012-12-11 22:25:21 +00:00
channel.c Break the world. Stasis message type accessors should now all be named correctly. 2013-03-28 15:45:18 +00:00
channel_internal_api.c Move NewCallerid, HangupRequest and SoftHangupRequest to Stasis 2013-03-25 16:19:55 +00:00
chanvars.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
cli.c Add The Status Of A Module To The Output Of "CLI> module show" 2013-02-19 17:17:10 +00:00
config.c Merged revisions 378374,378377,378384 via svnmerge from 2013-01-02 22:19:49 +00:00
config_options.c Disable strict XML documentation config checking; fix crash caused by sorcery 2013-02-15 18:44:24 +00:00
cygload.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
data.c Revamp of terminal color codes 2013-02-14 18:47:56 +00:00
datastore.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
db.c Properly finalize prepared SQLite3 statements to prevent memory leak 2012-11-04 01:19:43 +00:00
devicestate.c Merged revisions 378322 via svnmerge from 2013-01-02 18:20:03 +00:00
dial.c Separate option_types[] from the struct definition. 2013-02-05 18:13:09 +00:00
dns.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
dnsmgr.c Merged revisions 377707,377711 via svnmerge from 2012-12-11 01:19:39 +00:00
dsp.c Doxygen Updates - Title update 2012-10-18 14:17:40 +00:00
ecdisa.h Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
enum.c Doxygen Updates - Title update 2012-10-18 14:17:40 +00:00
event.c Separate some event struct definitions from instantiation. 2013-04-04 18:15:34 +00:00
features.c Write the correct callid to the data1 field in queue_log for transfer events. 2013-02-19 19:47:42 +00:00
file.c Change cleanup ordering in filestream destructor. 2013-01-28 01:58:41 +00:00
fixedjitterbuf.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fixedjitterbuf.h Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
format.c Merged revisions 377245-377246 via svnmerge from 2012-12-05 03:19:08 +00:00
format_cap.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
format_pref.c Address uninitialized conditional that valgrind found 2013-03-27 19:52:19 +00:00
frame.c Stasis application WebSocket support 2013-04-08 13:27:45 +00:00
framehook.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fskmodem.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fskmodem_float.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
fskmodem_int.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
global_datastores.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
hashtab.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
heap.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
http.c Fix a file descriptor leak in off nominal path 2013-03-27 18:52:16 +00:00
image.c Reset automerge property. 2012-12-11 22:25:21 +00:00
indications.c Merged revisions 377743 via svnmerge from 2012-12-11 02:19:39 +00:00
io.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
jitterbuf.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
json.c Stasis application WebSocket support 2013-04-08 13:27:45 +00:00
libasteriskssl.c Resolve memory leaks in TLS initialization and TLS client connections 2012-09-14 19:53:43 +00:00
libasteriskssl.exports.in Address OpenSSL initialization issues when using third-party libraries. 2012-01-30 21:21:16 +00:00
loader.c Add The Status Of A Module To The Output Of "CLI> module show" 2013-02-19 17:17:10 +00:00
lock.c Merged revisions 376589 via svnmerge from 2012-11-23 00:20:55 +00:00
logger.c Ensure that logmsgs are freed properly 2013-03-07 15:09:01 +00:00
manager.c Properly format an intmax_t value 2013-03-30 05:15:42 +00:00
manager_channels.c Break the world. Stasis message type accessors should now all be named correctly. 2013-03-28 15:45:18 +00:00
md5.c md5: supress some compiler warnings. 2012-04-28 01:33:49 +00:00
message.c Update documentation for MessageSend application/command's From field for XMPP 2012-10-06 01:47:00 +00:00
named_acl.c Add CLI configuration documentation 2013-02-15 13:38:12 +00:00
netsock.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
netsock2.c Fix NULL pointer segfault in ast_sockaddr_parse() 2012-06-20 02:07:00 +00:00
pbx.c Break the world. Stasis message type accessors should now all be named correctly. 2013-03-28 15:45:18 +00:00
plc.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
poll.c Merged revisions 285268 via svnmerge from 2010-09-07 19:09:08 +00:00
presencestate.c Fix crash in PresenceState AMI action when specifying an invalid provider 2013-02-15 23:29:28 +00:00
privacy.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
rtp_engine.c Add a 'secret' probation strictrtp mode to handle delayed changes in RTP source 2013-03-07 15:48:06 +00:00
say.c Fix saying of date in Dutch. 2012-09-25 23:10:22 +00:00
sched.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
security_events.c Merged revisions 376472 via svnmerge from 2012-11-19 20:20:36 +00:00
sha1.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
sip_api.c Don't make chan_sip export global symbols. 2012-10-11 15:49:02 +00:00
slinfactory.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
sorcery.c Pass the object type name to the configuration framework. 2013-04-02 12:18:50 +00:00
srv.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
stasis.c stasis: Fixed message ordering issues when forwarding 2013-04-01 13:37:51 +00:00
stasis_cache.c Break the world. Stasis message type accessors should now all be named correctly. 2013-03-28 15:45:18 +00:00
stasis_message.c A simplistic router for stasis_message's. 2013-03-15 17:35:16 +00:00
stasis_message_router.c Fix lock destruction/unlock inversion 2013-03-19 19:07:46 +00:00
strcompat.c Add builtin roundf() for systems lacking it. 2013-01-19 20:54:07 +00:00
strings.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
stun.c Reset automerge property. 2012-12-11 22:25:21 +00:00
syslog.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
taskprocessor.c Add a serializer interface to the threadpool 2013-02-12 21:45:59 +00:00
tcptls.c tcptls: Prevent unsupported options from being set 2013-03-15 12:53:03 +00:00
tdd.c Doxygen Updates - janitor work 2012-09-21 17:14:59 +00:00
term.c Revamp of terminal color codes 2013-02-14 18:47:56 +00:00
test.c Convert TestEvent AMI events over to Stasis Core 2013-03-30 05:06:54 +00:00
threadpool.c Changing log level of "Not changing threadpool size" from notice to debug. 2013-03-07 21:55:28 +00:00
threadstorage.c Clean up and ensure proper usage of alloca() 2012-07-31 20:21:43 +00:00
timing.c Reset automerge property. 2012-12-11 22:25:21 +00:00
translate.c Add support for parsing SDP attributes, generating SDP attributes, and passing it through. 2012-07-13 16:49:40 +00:00
udptl.c Add CLI configuration documentation 2013-02-15 13:38:12 +00:00
ulaw.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
utils.c Merged revisions 378935 via svnmerge from 2013-01-12 07:21:01 +00:00
uuid.c Add uuid wrapper API call ast_uuid_generate_str(). 2013-03-28 23:59:20 +00:00
xml.c Add CLI configuration documentation 2013-02-15 13:38:12 +00:00
xmldoc.c Make things work again 2013-04-02 11:40:05 +00:00