Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include "asterisk/stasis.h"
Go to the source code of this file.
struct stasis_message_type * ast_cc_available_type | ( | void | ) |
A stasis_message_type for CCSS Available messages.
Referenced by ast_stasis_system_init(), cc_publish_available(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_callerrecalling_type | ( | void | ) |
A stasis_message_type for CCSS Caller Recalling messages.
Referenced by ast_stasis_system_init(), cc_publish_callerrecalling(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_callerstartmonitoring_type | ( | void | ) |
A stasis_message_type for CCSS Caller Start Monitoring messages.
Referenced by ast_stasis_system_init(), cc_publish_callerstartmonitoring(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_callerstopmonitoring_type | ( | void | ) |
A stasis_message_type for CCSS Caller Stop Monitoring messages.
Referenced by ast_stasis_system_init(), cc_publish_callerstopmonitoring(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_failure_type | ( | void | ) |
A stasis_message_type for CCSS Failure messages.
Referenced by ast_stasis_system_init(), cc_publish_failure(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_monitorfailed_type | ( | void | ) |
A stasis_message_type for CCSS Monitor Failed messages.
Referenced by ast_stasis_system_init(), cc_publish_monitorfailed(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_offertimerstart_type | ( | void | ) |
A stasis_message_type for CCSS Offer Timer Start messages.
Referenced by ast_stasis_system_init(), cc_publish_offertimerstart(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_recallcomplete_type | ( | void | ) |
A stasis_message_type for CCSS Recall Complete messages.
Referenced by ast_stasis_system_init(), cc_publish_recallcomplete(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_requestacknowledged_type | ( | void | ) |
A stasis_message_type for CCSS Request Acknowledged messages.
Referenced by ast_stasis_system_init(), cc_publish_requestacknowledged(), and stasis_system_cleanup().
struct stasis_message_type * ast_cc_requested_type | ( | void | ) |
A stasis_message_type for CCSS Requested messages.
Referenced by ast_stasis_system_init(), cc_publish_requested(), and stasis_system_cleanup().
struct stasis_message_type * ast_cluster_discovery_type | ( | void | ) |
A stasis_message_type for Cluster discovery.
Referenced by ast_stasis_system_init(), publish_cluster_discovery_to_stasis_full(), and stasis_system_cleanup().
struct stasis_message_type * ast_network_change_type | ( | void | ) |
A stasis_message_type for network changes.
NULL | on error |
Referenced by ast_stasis_system_init(), load_module(), network_change_stasis_cb(), network_change_stasis_subscribe(), stasis_system_cleanup(), and stun_monitor_request().
int ast_stasis_system_init | ( | void | ) |
Initialize the stasis system topic and message types.
0 | on success |
-1 | on failure |
Initialize the stasis system topic and message types.
Definition at line 373 of file stasis_system.c.
References ast_cc_available_type(), ast_cc_callerrecalling_type(), ast_cc_callerstartmonitoring_type(), ast_cc_callerstopmonitoring_type(), ast_cc_failure_type(), ast_cc_monitorfailed_type(), ast_cc_offertimerstart_type(), ast_cc_recallcomplete_type(), ast_cc_requestacknowledged_type(), ast_cc_requested_type(), ast_cluster_discovery_type(), ast_network_change_type(), ast_register_cleanup(), ast_system_registry_type(), STASIS_MESSAGE_TYPE_INIT, stasis_system_cleanup(), stasis_topic_create(), and system_topic.
Referenced by asterisk_daemon().
void ast_system_publish_registry | ( | const char * | channeltype, |
const char * | username, | ||
const char * | domain, | ||
const char * | status, | ||
const char * | cause | ||
) |
Publish a channel driver outgoing registration message.
channeltype | The channel driver that published the message |
username | The username that was used to register |
domain | The domain that was used to register |
status | The result of the registration |
cause | The reason for the result |
Definition at line 118 of file stasis_system.c.
References ao2_ref, ast_json_pack(), ast_json_payload_create(), ast_json_unref(), ast_system_registry_type(), ast_system_topic(), S_OR, stasis_message_create(), stasis_publish(), and status.
Referenced by handle_registration_response(), and iax2_publish_registry().
struct stasis_message_type * ast_system_registry_type | ( | void | ) |
A stasis_message_type for outbound registration.
Referenced by ast_stasis_system_init(), ast_system_publish_registry(), pjsip_outbound_registration_metrics_init(), and stasis_system_cleanup().
struct stasis_topic * ast_system_topic | ( | void | ) |
A Stasis Message Bus API topic which publishes messages regarding system changes.
NULL | on error |
Definition at line 347 of file stasis_system.c.
References system_topic.
Referenced by ast_system_publish_registry(), cc_publish(), load_module(), manager_system_init(), network_change_stasis_subscribe(), pjsip_outbound_registration_metrics_init(), publish_cluster_discovery_to_stasis_full(), publish_format_update(), and stun_monitor_request().