| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
#include "asterisk.h"#include <pjsip.h>#include <pjsip_ua.h>#include "asterisk/features.h"#include "asterisk/res_pjsip.h"#include "asterisk/res_pjsip_session.h"#include "asterisk/module.h"#include "asterisk/features_config.h"
Go to the source code of this file.
| Functions | |
| static void | __reg_module (void) | 
| static void | __unreg_module (void) | 
| struct ast_module * | AST_MODULE_SELF_SYM (void) | 
| static int | handle_incoming_request (struct ast_sip_session *session, struct pjsip_rx_data *rdata) | 
| static int | load_module (void) | 
| static void | send_response (struct ast_sip_session *session, int code, struct pjsip_rx_data *rdata) | 
| static int | unload_module (void) | 
| Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "PJSIP INFO One Touch Recording Support" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_APP_DEPEND, .requires = "res_pjsip,res_pjsip_session", } | 
| static const struct ast_module_info * | ast_module_info = &__mod_info | 
| static struct ast_sip_session_supplement | info_supplement | 
| 
 | static | 
Definition at line 128 of file res_pjsip_one_touch_record_info.c.
| 
 | static | 
Definition at line 128 of file res_pjsip_one_touch_record_info.c.
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) | 
Definition at line 128 of file res_pjsip_one_touch_record_info.c.
| 
 | static | 
Definition at line 48 of file res_pjsip_one_touch_record_info.c.
References ast_channel_lock, ast_channel_unlock, AST_FEATURE_MAX_LEN, AST_FRAME_DTMF, ast_get_feature(), ast_queue_frame(), ast_strlen_zero(), digit, ast_frame_subclass::integer, NULL, send_response(), session, and ast_frame::subclass.
| 
 | static | 
Definition at line 109 of file res_pjsip_one_touch_record_info.c.
References AST_MODULE_LOAD_SUCCESS, ast_sip_session_register_supplement, and info_supplement.
| 
 | static | 
Definition at line 37 of file res_pjsip_one_touch_record_info.c.
Referenced by handle_incoming_request().
| 
 | static | 
Definition at line 116 of file res_pjsip_one_touch_record_info.c.
References ast_sip_session_unregister_supplement(), and info_supplement.
| 
 | static | 
Definition at line 128 of file res_pjsip_one_touch_record_info.c.
| 
 | static | 
Definition at line 128 of file res_pjsip_one_touch_record_info.c.
| 
 | static | 
Definition at line 103 of file res_pjsip_one_touch_record_info.c.
Referenced by load_module(), and unload_module().