27 const char *content_type,
29 const char *useragent_filter)
42 ast_log(
LOG_WARNING,
"SIP provider %s has already registered. Not registering provider %s\n",
48 ast_log(
LOG_WARNING,
"SIP API provider version mismatch: Current version is %d but provider "
Asterisk main include file. File version handling, generic pbx functions.
static struct prometheus_metrics_provider provider
Support for logging to various files, console and syslog Configuration in file logger....
int ast_sip_api_provider_register(const struct ast_sip_api_tech *provider)
Register a SIP API provider.
void ast_sip_api_provider_unregister(void)
Unregister a SIP API provider.
static const struct ast_sip_api_tech * api_provider
int ast_sipinfo_send(struct ast_channel *chan, struct ast_variable *headers, const char *content_type, const char *content, const char *useragent_filter)
Send a customized SIP INFO request.
#define AST_SIP_API_VERSION
Main Channel structure associated with a channel.
int(* sipinfo_send)(struct ast_channel *chan, struct ast_variable *headers, const char *content_type, const char *content, const char *useragent_filter)
Structure for variables, used for configurations and for channel variables.
const char * name
Handy name of the provider for debugging purposes.