Asterisk - The Open Source Telephony Project GIT-master-d856a3e
|
Callbacks that event publisher handlers will define. More...
#include <res_pjsip_outbound_publish.h>
Data Fields | |
const char * | event_name |
The name of the event this handler deals with. More... | |
struct { | |
struct ast_sip_event_publisher_handler * next | |
} | next |
int(* | start_publishing )(struct ast_sip_outbound_publish *configuration, struct ast_sip_outbound_publish_client *client) |
Called when a publisher should start publishing. More... | |
int(* | stop_publishing )(struct ast_sip_outbound_publish_client *client) |
Called when a publisher should stop publishing. More... | |
Callbacks that event publisher handlers will define.
Definition at line 41 of file res_pjsip_outbound_publish.h.
const char* event_name |
The name of the event this handler deals with.
Definition at line 43 of file res_pjsip_outbound_publish.h.
Referenced by find_publisher_handler_for_event_name(), load_module(), and sip_outbound_publish_synchronize().
struct ast_sip_event_publisher_handler* next |
Definition at line 66 of file res_pjsip_outbound_publish.h.
Referenced by ast_sip_unregister_event_publisher_handler(), and find_publisher_handler_for_event_name().
struct { ... } next |
int(* start_publishing) (struct ast_sip_outbound_publish *configuration, struct ast_sip_outbound_publish_client *client) |
Called when a publisher should start publishing.
configuration | The outbound publish configuration, event-specific configuration is accessible using extended sorcery fields |
client | The publish client that can be used to send PUBLISH messages. |
0 | success |
-1 | failure |
Definition at line 54 of file res_pjsip_outbound_publish.h.
int(* stop_publishing) (struct ast_sip_outbound_publish_client *client) |
Called when a publisher should stop publishing.
client | The publish client that was used to send PUBLISH messages. |
0 | success |
-1 | failure |
Definition at line 64 of file res_pjsip_outbound_publish.h.