Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include "asterisk.h"
#include <pjsip.h>
#include <pjsip_simple.h>
#include <pjlib.h>
#include "asterisk/module.h"
#include "asterisk/res_pjsip.h"
#include "asterisk/res_pjsip_pubsub.h"
#include "asterisk/res_pjsip_presence_xml.h"
#include "asterisk/res_pjsip_body_generator_types.h"
Go to the source code of this file.
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
static void | add_eyebeam (pj_pool_t *pool, pj_xml_node *node, const char *pidfstate) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static int | load_module (void) |
static int | pidf_supplement_body (void *body, void *data) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "PJSIP PIDF Eyebeam supplement" , .key = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_CHANNEL_DEPEND, .requires = "res_pjsip,res_pjsip_pubsub", } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
static struct ast_sip_pubsub_body_supplement | pidf_supplement |
|
static |
Definition at line 113 of file res_pjsip_pidf_eyebeam_body_supplement.c.
|
static |
Definition at line 113 of file res_pjsip_pidf_eyebeam_body_supplement.c.
|
static |
Definition at line 47 of file res_pjsip_pidf_eyebeam_body_supplement.c.
References ast_alloca, ast_sip_presence_xml_create_attr(), and ast_sip_presence_xml_create_node().
Referenced by pidf_supplement_body().
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 113 of file res_pjsip_pidf_eyebeam_body_supplement.c.
|
static |
Definition at line 93 of file res_pjsip_pidf_eyebeam_body_supplement.c.
References AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_sip_pubsub_register_body_supplement(), and pidf_supplement.
|
static |
Definition at line 73 of file res_pjsip_pidf_eyebeam_body_supplement.c.
References add_eyebeam(), ast_sip_presence_exten_state_to_str(), ast_sip_exten_state_data::exten_state, NULL, and ast_sip_exten_state_data::pool.
|
static |
Definition at line 101 of file res_pjsip_pidf_eyebeam_body_supplement.c.
References ast_sip_pubsub_unregister_body_supplement(), and pidf_supplement.
|
static |
Definition at line 113 of file res_pjsip_pidf_eyebeam_body_supplement.c.
|
static |
Definition at line 113 of file res_pjsip_pidf_eyebeam_body_supplement.c.
|
static |
Definition at line 87 of file res_pjsip_pidf_eyebeam_body_supplement.c.
Referenced by load_module(), and unload_module().