Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Structures | Macros | Functions | Variables
format_mp3.c File Reference

MP3 Format Handler. More...

#include "asterisk.h"
#include "mp3/mpg123.h"
#include "mp3/mpglib.h"
#include "asterisk/module.h"
#include "asterisk/mod_format.h"
#include "asterisk/logger.h"
#include "asterisk/format_cache.h"
Include dependency graph for format_mp3.c:

Go to the source code of this file.

Data Structures

struct  mp3_private
 

Macros

#define BLOCKSIZE   160
 
#define GAIN   -4 /* 2^GAIN is the multiple to increase the volume by */
 
#define MP3_BUFLEN   320
 
#define MP3_DCACHE   8192
 
#define MP3_SCACHE   16384
 
#define OUTSCALE   4096
 

Functions

 AST_MODULE_INFO_STANDARD_EXTENDED (ASTERISK_GPL_KEY, "MP3 format [Any rate but 8000hz mono is optimal]")
 
static int load_module (void)
 
static void mp3_close (struct ast_filestream *s)
 
static int mp3_dqueue (struct ast_filestream *s)
 
static char * mp3_getcomment (struct ast_filestream *s)
 
static int mp3_open (struct ast_filestream *s)
 
static int mp3_queue (struct ast_filestream *s)
 
static struct ast_framemp3_read (struct ast_filestream *s, int *whennext)
 
static int mp3_rewrite (struct ast_filestream *s, const char *comment)
 
static int mp3_seek (struct ast_filestream *s, off_t sample_offset, int whence)
 
static int mp3_squeue (struct ast_filestream *s)
 
static off_t mp3_tell (struct ast_filestream *s)
 
static int mp3_trunc (struct ast_filestream *s)
 
static int mp3_write (struct ast_filestream *fs, struct ast_frame *f)
 
static int unload_module (void)
 

Variables

static struct ast_format_def mp3_f
 
static const char name [] = "mp3"
 

Detailed Description

MP3 Format Handler.

Definition in file format_mp3.c.

Macro Definition Documentation

◆ BLOCKSIZE

#define BLOCKSIZE   160

Definition at line 70 of file format_mp3.c.

◆ GAIN

#define GAIN   -4 /* 2^GAIN is the multiple to increase the volume by */

Definition at line 73 of file format_mp3.c.

◆ MP3_BUFLEN

#define MP3_BUFLEN   320

Definition at line 45 of file format_mp3.c.

◆ MP3_DCACHE

#define MP3_DCACHE   8192

Definition at line 47 of file format_mp3.c.

◆ MP3_SCACHE

#define MP3_SCACHE   16384

Definition at line 46 of file format_mp3.c.

◆ OUTSCALE

#define OUTSCALE   4096

Definition at line 71 of file format_mp3.c.

Function Documentation

◆ AST_MODULE_INFO_STANDARD_EXTENDED()

AST_MODULE_INFO_STANDARD_EXTENDED ( ASTERISK_GPL_KEY  ,
"MP3 format [Any rate but 8000hz mono is optimal] 
)

◆ load_module()

static int load_module ( void  )
static

Definition at line 317 of file format_mp3.c.

318 {
320  InitMP3Constants();
322 }
struct ast_format * ast_format_slin
Built-in cached signed linear 8kHz format.
Definition: format_cache.c:41
static struct ast_format_def mp3_f
Definition: format_mp3.c:300
#define ast_format_def_register(f)
Definition: mod_format.h:136
struct ast_format * format
Definition: mod_format.h:48

References ast_format_def_register, ast_format_slin, ast_format_def::format, and mp3_f.

◆ mp3_close()

static void mp3_close ( struct ast_filestream s)
static

Definition at line 106 of file format_mp3.c.

107 {
108  struct mp3_private *p = s->_private;
109 
110  ExitMP3(&p->mp);
111  return;
112 }
void * _private
Definition: mod_format.h:124
struct mpstr mp
Definition: format_mp3.c:51

References ast_filestream::_private, and mp3_private::mp.

◆ mp3_dqueue()

static int mp3_dqueue ( struct ast_filestream s)
static

Definition at line 135 of file format_mp3.c.

136 {
137  struct mp3_private *p = s->_private;
138  int res=0;
139 
140  if((res = decodeMP3(&p->mp,NULL,0,p->dbuf,MP3_DCACHE,&p->dbuflen)) == MP3_OK) {
141  p->sbuflen -= p->dbuflen;
142  p->dbufoffset = 0;
143  }
144  return res;
145 }
#define MP3_DCACHE
Definition: format_mp3.c:47
#define NULL
Definition: resample.c:96
char dbuf[MP3_DCACHE]
Definition: format_mp3.c:55
int dbufoffset
Definition: format_mp3.c:63

References ast_filestream::_private, mp3_private::dbuf, mp3_private::dbuflen, mp3_private::dbufoffset, mp3_private::mp, MP3_DCACHE, NULL, and mp3_private::sbuflen.

Referenced by mp3_queue().

◆ mp3_getcomment()

static char* mp3_getcomment ( struct ast_filestream s)
static

Definition at line 295 of file format_mp3.c.

296 {
297  return NULL;
298 }

◆ mp3_open()

static int mp3_open ( struct ast_filestream s)
static

Definition at line 98 of file format_mp3.c.

99 {
100  struct mp3_private *p = s->_private;
101  InitMP3(&p->mp, OUTSCALE);
102  return 0;
103 }
#define OUTSCALE
Definition: format_mp3.c:71

References ast_filestream::_private, mp3_private::mp, and OUTSCALE.

◆ mp3_queue()

static int mp3_queue ( struct ast_filestream s)
static

Definition at line 147 of file format_mp3.c.

148 {
149  struct mp3_private *p = s->_private;
150  int res = 0, bytes = 0;
151 
152  if(p->seek) {
153  ExitMP3(&p->mp);
154  InitMP3(&p->mp, OUTSCALE);
155  fseek(s->f, 0, SEEK_SET);
156  p->sbuflen = p->dbuflen = p->offset = 0;
157  while(p->offset < p->seek) {
158  if(mp3_squeue(s))
159  return -1;
160  while(p->offset < p->seek && ((res = mp3_dqueue(s))) == MP3_OK) {
161  for(bytes = 0 ; bytes < p->dbuflen ; bytes++) {
162  p->dbufoffset++;
163  p->offset++;
164  if(p->offset >= p->seek)
165  break;
166  }
167  }
168  if(res == MP3_ERR)
169  return -1;
170  }
171 
172  p->seek = 0;
173  return 0;
174  }
175  if(p->dbuflen == 0) {
176  if(p->sbuflen) {
177  res = mp3_dqueue(s);
178  if(res == MP3_ERR)
179  return -1;
180  }
181  if(! p->sbuflen || res != MP3_OK) {
182  if(mp3_squeue(s))
183  return -1;
184  }
185 
186  }
187 
188  return 0;
189 }
static int mp3_squeue(struct ast_filestream *s)
Definition: format_mp3.c:114
static int mp3_dqueue(struct ast_filestream *s)
Definition: format_mp3.c:135

References ast_filestream::_private, mp3_private::dbuflen, mp3_private::dbufoffset, ast_filestream::f, mp3_private::mp, mp3_dqueue(), mp3_squeue(), mp3_private::offset, OUTSCALE, mp3_private::sbuflen, and mp3_private::seek.

Referenced by mp3_read().

◆ mp3_read()

static struct ast_frame* mp3_read ( struct ast_filestream s,
int *  whennext 
)
static

Definition at line 191 of file format_mp3.c.

192 {
193 
194  struct mp3_private *p = s->_private;
195  int delay =0;
196  int save=0;
197 
198  /* Pre-populate the buffer that holds audio to be returned (dbuf) */
199  if (mp3_queue(s)) {
200  return NULL;
201  }
202 
203  if (p->dbuflen) {
204  /* Read out what's waiting in dbuf */
205  for (p->buflen = 0; p->buflen < MP3_BUFLEN && p->buflen < p->dbuflen; p->buflen++) {
206  s->buf[p->buflen + AST_FRIENDLY_OFFSET] = p->dbuf[p->buflen + p->dbufoffset];
207  }
208  p->dbufoffset += p->buflen;
209  p->dbuflen -= p->buflen;
210  }
211 
212  if (p->buflen < MP3_BUFLEN) {
213  /* dbuf didn't have enough, so reset dbuf, fill it back up and continue */
214  p->dbuflen = p->dbufoffset = 0;
215 
216  if (mp3_queue(s)) {
217  return NULL;
218  }
219 
220  /* Make sure dbuf has enough to complete this read attempt */
221  if (p->dbuflen >= (MP3_BUFLEN - p->buflen)) {
222  for (save = p->buflen; p->buflen < MP3_BUFLEN; p->buflen++) {
223  s->buf[p->buflen + AST_FRIENDLY_OFFSET] = p->dbuf[(p->buflen - save) + p->dbufoffset];
224  }
225  p->dbufoffset += (MP3_BUFLEN - save);
226  p->dbuflen -= (MP3_BUFLEN - save);
227  }
228 
229  }
230 
231  p->offset += p->buflen;
232  delay = p->buflen / 2;
234  s->fr.samples = delay;
235  *whennext = delay;
236  return &s->fr;
237 }
#define MP3_BUFLEN
Definition: format_mp3.c:45
static int mp3_queue(struct ast_filestream *s)
Definition: format_mp3.c:147
#define AST_FRAME_SET_BUFFER(fr, _base, _ofs, _datalen)
#define AST_FRIENDLY_OFFSET
Offset into a frame's data buffer.
struct ast_frame fr
frame produced by read, typically
Definition: mod_format.h:122

References ast_filestream::_private, AST_FRAME_SET_BUFFER, AST_FRIENDLY_OFFSET, ast_filestream::buf, mp3_private::buflen, mp3_private::dbuf, mp3_private::dbuflen, mp3_private::dbufoffset, ast_filestream::fr, MP3_BUFLEN, mp3_queue(), NULL, mp3_private::offset, and ast_frame::samples.

◆ mp3_rewrite()

static int mp3_rewrite ( struct ast_filestream s,
const char *  comment 
)
static

Definition at line 275 of file format_mp3.c.

276 {
277  ast_log(LOG_ERROR,"I Can't write MP3 only read them.\n");
278  return -1;
279 }
#define ast_log
Definition: astobj2.c:42
#define LOG_ERROR

References ast_log, and LOG_ERROR.

◆ mp3_seek()

static int mp3_seek ( struct ast_filestream s,
off_t  sample_offset,
int  whence 
)
static

Definition at line 248 of file format_mp3.c.

249 {
250  struct mp3_private *p = s->_private;
251  off_t min,max,cur;
252  long offset=0,samples;
253  samples = sample_offset * 2;
254 
255  min = 0;
256  fseek(s->f, 0, SEEK_END);
257  max = ftell(s->f) * 100;
258  cur = p->offset;
259 
260  if (whence == SEEK_SET)
261  offset = samples + min;
262  else if (whence == SEEK_CUR || whence == SEEK_FORCECUR)
263  offset = samples + cur;
264  else if (whence == SEEK_END)
265  offset = max - samples;
266  if (whence != SEEK_FORCECUR) {
267  offset = (offset > max)?max:offset;
268  }
269 
270  p->seek = offset;
271  return fseek(s->f, offset, SEEK_SET);
272 
273 }
#define min(a, b)
Definition: f2c.h:197
#define max(a, b)
Definition: f2c.h:198
#define SEEK_FORCECUR
Definition: file.h:51

References ast_filestream::_private, ast_filestream::f, max, min, mp3_private::offset, mp3_private::seek, and SEEK_FORCECUR.

◆ mp3_squeue()

static int mp3_squeue ( struct ast_filestream s)
static

Definition at line 114 of file format_mp3.c.

115 {
116  struct mp3_private *p = s->_private;
117  int res=0;
118 
119  res = ftell(s->f);
120  p->sbuflen = fread(p->sbuf, 1, MP3_SCACHE, s->f);
121  if (p->sbuflen < MP3_SCACHE) {
122  if (ferror(s->f)) {
123  ast_log(LOG_WARNING, "Error while reading MP3 file: %s\n", strerror(errno));
124  return -1;
125  }
126  }
127  res = decodeMP3(&p->mp,p->sbuf,p->sbuflen,p->dbuf,MP3_DCACHE,&p->dbuflen);
128  if(res != MP3_OK)
129  return -1;
130  p->sbuflen -= p->dbuflen;
131  p->dbufoffset = 0;
132  return 0;
133 }
#define MP3_SCACHE
Definition: format_mp3.c:46
#define LOG_WARNING
int errno
char sbuf[MP3_SCACHE]
Definition: format_mp3.c:53

References ast_filestream::_private, ast_log, mp3_private::dbuf, mp3_private::dbuflen, mp3_private::dbufoffset, errno, ast_filestream::f, LOG_WARNING, mp3_private::mp, MP3_DCACHE, MP3_SCACHE, mp3_private::sbuf, and mp3_private::sbuflen.

Referenced by mp3_queue().

◆ mp3_tell()

static off_t mp3_tell ( struct ast_filestream s)
static

Definition at line 288 of file format_mp3.c.

289 {
290  struct mp3_private *p = s->_private;
291 
292  return p->offset/2;
293 }

References ast_filestream::_private, and mp3_private::offset.

◆ mp3_trunc()

static int mp3_trunc ( struct ast_filestream s)
static

Definition at line 281 of file format_mp3.c.

282 {
283 
284  ast_log(LOG_ERROR,"I Can't write MP3 only read them.\n");
285  return -1;
286 }

References ast_log, and LOG_ERROR.

◆ mp3_write()

static int mp3_write ( struct ast_filestream fs,
struct ast_frame f 
)
static

Definition at line 240 of file format_mp3.c.

241 {
242  ast_log(LOG_ERROR,"I Can't write MP3 only read them.\n");
243  return -1;
244 
245 }

References ast_log, and LOG_ERROR.

◆ unload_module()

static int unload_module ( void  )
static

Definition at line 324 of file format_mp3.c.

325 {
327 }
static const char name[]
Definition: format_mp3.c:68
int ast_format_def_unregister(const char *name)
Unregisters a file format.
Definition: file.c:162

References ast_format_def_unregister(), and name.

Variable Documentation

◆ mp3_f

struct ast_format_def mp3_f
static

Definition at line 295 of file format_mp3.c.

Referenced by load_module().

◆ name

const char name[] = "mp3"
static
Examples
app_skel.c.

Definition at line 68 of file format_mp3.c.

Referenced by __aco_option_register(), __allocate_taskprocessor(), __ao2_global_obj_ref(), __ao2_global_obj_replace(), __ao2_global_obj_replace_unref(), __ast_bucket_scheme_register(), __ast_callerid_generate(), __ast_channel_alloc_ap(), __ast_context_create(), __ast_format_cache_get(), __ast_rwlock_rdlock(), __ast_rwlock_timedrdlock(), __ast_rwlock_timedwrlock(), __ast_rwlock_tryrdlock(), __ast_rwlock_trywrlock(), __ast_rwlock_unlock(), __ast_rwlock_wrlock(), __ast_sorcery_apply_config(), __ast_sorcery_object_field_register(), __get_header(), _ast_odbc_request_obj(), _ast_odbc_request_obj2(), _ast_var_assign(), _ast_variable_new(), _ast_xmldoc_build_syntax(), _get_mohbyname(), _iax2_show_peers_one(), _sip_show_peers_one(), acf_cc_read(), acf_curl_helper(), acf_curlopt_write(), acf_jabberreceive_read(), acl_new(), aco_option_find(), aco_option_register_deprecated(), action_atxfer(), action_blind_transfer(), action_cancel_atxfer(), action_find(), action_getvar(), action_originate(), action_redirect(), action_sendtext(), action_setvar(), action_status(), action_timeout(), add_header(), add_headers_to_message(), add_rlmi_resource(), add_to_supported_header(), adsi_load(), adsi_message(), advanced_options(), aelsub_exec(), agent_cfg_alloc(), alias_name_cb(), alloc_header(), alloc_new_parking_lot(), alloc_queue(), ao2_container_dump(), ao2_container_register(), ao2_container_stats(), ao2_container_unregister(), aoc_amount_str(), aoc_time_str(), aor_alloc(), aoro2_class_cb(), app_create(), append_var_and_value_to_filter(), append_variable(), applicationmap_item_alloc(), assign_and_insert(), ast_add_profile(), ast_aeap_message_create2(), ast_aeap_message_create_error(), ast_aeap_message_create_request(), ast_aeap_message_create_response(), ast_aeap_message_is_named(), ast_aeap_message_name(), ast_aoc_set_currency_info(), ast_bridge_base_new(), ast_bridge_snapshot_create(), ast_bridge_vars_set(), ast_bucket_file_metadata_get(), ast_bucket_file_metadata_set(), ast_bucket_file_metadata_unset(), ast_callerid_callwaiting_generate(), ast_callerid_generate(), ast_callerid_merge(), ast_callerid_parse(), ast_callerid_split(), ast_callerid_vmwi_generate(), ast_category_new(), ast_category_new_template(), ast_category_rename(), ast_cc_get_param(), ast_cc_is_config_param(), ast_cc_monitor_count(), ast_cc_set_param(), ast_cdr_backend_suspend(), ast_cdr_backend_unsuspend(), ast_cdr_format_var(), ast_cdr_generic_unregister(), ast_cdr_getvar(), ast_cdr_modifier_register(), ast_cdr_modifier_unregister(), ast_cdr_register(), ast_cdr_setvar(), ast_cdr_unregister(), ast_cel_backend_unregister(), ast_cel_str_to_event_type(), ast_channel_by_name_cb(), ast_channel_get_by_name(), ast_channel_get_by_name_prefix(), ast_channel_hash_cb(), ast_channel_iterator_by_name_new(), ast_channel_publish_varset(), ast_channel_snapshot_get_latest_by_name(), ast_codec_get(), ast_config_hook_register(), ast_config_hook_unregister(), ast_connected_line_source_parse(), ast_context_create(), ast_context_find(), ast_context_find_or_create(), ast_custom_function_find(), ast_custom_function_find_nolock(), ast_datastores_find(), ast_datastores_remove(), ast_debug_category_register(), ast_debug_category_set_sublevel(), ast_debug_category_unregister(), ast_dns_query_set_add(), ast_dns_resolve(), ast_dns_resolve_async(), ast_dns_resolve_recurring(), ast_dnsmgr_get(), ast_dnsmgr_get_family(), ast_dnsmgr_lookup(), ast_dnsmgr_lookup_cb(), ast_dsp_set_call_progress_zone(), ast_endpoint_latest_snapshot(), ast_format_attribute_get(), ast_format_attribute_set(), ast_format_def_unregister(), ast_frame_dump(), ast_get_chan_applicationmap(), ast_get_channel_tech(), ast_get_hint(), ast_http_header_match(), ast_http_header_match_in(), ast_http_header_parse(), ast_include_rename(), ast_jb_read_conf(), ast_json_name_number(), ast_logger_get_dynamic_level(), ast_logger_register_level(), ast_logger_unregister_level(), ast_module_check(), ast_module_reload(), ast_monitor_change_fname(), ast_monitor_start(), ast_msg_get_var(), ast_msg_set_var(), ast_msg_set_var_outbound(), ast_msg_var_iterator_get_next(), ast_msg_var_iterator_next(), ast_msg_var_iterator_next_received(), ast_named_acl_find(), ast_odbc_get_max_connections(), ast_parse_caller_presentation(), ast_party_name_charset_parse(), ast_realtime_append_mapping(), ast_redirecting_reason_parse(), ast_register_thread(), ast_rtp_dtls_cfg_parse(), ast_rtp_lookup_mime_multiple2(), ast_serializer_pool_create(), ast_set_callerid(), ast_setstate(), ast_sip_add_global_request_header(), ast_sip_add_global_response_header(), ast_sip_add_header(), ast_sip_auth_vector_destroy(), ast_sip_create_serializer(), ast_sip_create_serializer_group(), ast_sip_default_outbound_endpoint(), ast_sip_for_each_aor(), ast_sip_location_create_contact(), ast_sip_lookup_cli_formatter(), ast_sip_presence_xml_create_attr(), ast_sip_presence_xml_create_node(), ast_sip_presence_xml_find_node_attr(), ast_sip_publication_get_datastore(), ast_sip_publication_remove_datastore(), ast_sip_publish_client_get(), ast_sip_publish_client_get_datastore(), ast_sip_publish_client_remove_datastore(), ast_sip_register_endpoint_identifier_with_name(), ast_sip_report_failed_acl(), ast_sip_report_invalid_endpoint(), ast_sip_retrieve_auths(), ast_sip_retrieve_auths_vector(), ast_sip_sched_is_task_running_by_name(), ast_sip_sched_task_cancel_by_name(), ast_sip_sched_task_get_name(), ast_sip_sched_task_get_next_run_by_name(), ast_sip_sched_task_get_times_by_name(), ast_sip_sched_task_get_times_by_name2(), ast_sip_schedule_task(), ast_sip_session_get_datastore(), ast_sip_session_remove_datastore(), ast_sip_subscription_get_datastore(), ast_sip_subscription_get_header(), ast_sip_subscription_remove_datastore(), ast_sockaddr_resolve_first(), ast_sockaddr_resolve_first_af(), ast_sockaddr_resolve_first_transport(), ast_sorcery_object_get_extended(), ast_sorcery_object_set_extended(), ast_sorcery_wizard_unregister(), ast_speech_change(), ast_speech_get_setting(), ast_stir_shaken_get_profile_by_name(), ast_str2cause(), ast_str2tos(), ast_str_get_hint(), ast_stream_alloc(), ast_stream_clone(), ast_stream_codec_prefs_parse(), ast_taskprocessor_create_with_listener(), ast_taskprocessor_get(), ast_taskprocessor_name_append(), AST_TEST_DEFINE(), ast_threadpool_create(), ast_threadpool_serializer(), ast_threadpool_serializer_group(), ast_var_assign(), ast_var_channel_bridge(), ast_var_channel_types(), ast_var_channel_types_table(), ast_var_channels(), ast_var_channels_table(), ast_var_Config(), ast_var_find(), ast_var_indications(), ast_var_indications_table(), ast_var_Modules(), ast_var_name(), ast_var_Version(), ast_variable_lists_match(), ast_variable_new(), ast_websocket_add_protocol(), ast_websocket_remove_protocol(), ast_websocket_server_add_protocol(), ast_websocket_server_remove_protocol(), ast_websocket_sub_protocol_alloc(), ast_xml_doc_item_alloc(), ast_xml_doc_item_hash(), ast_xml_find_element(), ast_xml_new_node(), ast_xml_set_attribute(), ast_xml_set_name(), ast_xmldoc_build_arguments(), ast_xmldoc_build_description(), ast_xmldoc_build_documentation(), ast_xmldoc_build_final_response(), ast_xmldoc_build_list_responses(), ast_xmldoc_build_seealso(), ast_xmldoc_build_synopsis(), ast_xmldoc_build_syntax(), ast_xmldoc_regenerate_doc_item(), ast_xmpp_client_config_alloc(), ast_xmpp_client_find(), attach_barge(), autopause2int(), blacklist_read(), bridge_base_init(), bridge_create_common(), bridge_hash_cb(), bridge_stasis_new(), bridgewait_exec(), bucket_metadata_alloc(), build_calendar(), build_config_docs(), build_device(), build_extension(), build_mapping(), build_notify(), build_peer(), build_profile(), build_rlmi_body(), build_user(), cache_test_message_create(), cache_test_message_create_full(), cache_update(), caller_id_to_str(), callerid_generate(), callerid_genmsg(), callerid_get(), callerid_read(), calltoken_required(), casecmp_by_name(), category_register(), category_set_sublevel(), category_set_sublevels(), category_unregister(), cc_generic_agent_init(), cc_state_to_devstate(), cdr_format_var_internal(), cdr_generic_register(), cdr_object_alloc(), cdr_object_format_property(), cdr_object_format_var_internal(), cdr_object_get_by_name(), cdr_object_get_by_name_cb(), cdr_object_select_all_by_name_cb(), change_monitor_action(), channel_hash(), channel_read_rtcp(), channel_snapshot_base_create(), channel_snapshot_caller_create(), channel_snapshot_connected_create(), channel_spy(), check_endpoint(), check_init(), check_manager_session_inuse(), cli_complete_registration(), cli_display_named_acl(), cli_display_parking_lot(), cli_tps_ping(), cli_tps_reset_stats(), clone_parkinglot_cfg(), cmp_by_name(), common_startup(), conference_bridge_hash_cb(), config_ldap(), config_opt_cmp(), config_opt_hash(), connect_to_host(), console_call(), contact_alloc(), control_recording(), create_dsn(), create_dynamic_lot_full(), create_name(), create_transaction(), create_vmaccount(), currency_to_json(), db_cmp_fn(), del_chan(), determine_sip_publish_type(), dial_exec_full(), dialog_info_generate_body_content(), dns_query_alloc(), do_directory(), do_pause_or_unpause(), dtls_handler(), dump_ies(), dump_prov_ies(), endelm(), endpoint_lookup(), entry_cmp_fn(), fax_session_tab_complete(), featuremap_set(), find_alias(), find_by_name(), find_calendar(), find_chan(), find_channel_parking_lot_name(), find_context(), find_device_state(), find_device_state_subscription(), find_friend(), find_full_alias(), find_macro(), find_option_cb(), find_peer(), find_profile(), find_provider(), find_pvt(), find_realtime(), find_subchannel_and_lock(), find_transaction(), find_user(), find_user_realtime(), find_xmldoc_option(), find_xmldoc_type(), forward_message(), function_amiclient(), general_set(), get_avail_softkey(), get_cid_name(), get_codecs(), get_destination(), get_dsn(), get_esc(), get_folder_by_name(), get_header(), get_manager_by_name_locked(), get_name_and_number(), get_sdp(), get_sdp_by_line(), get_sdp_iterate(), getdisplaybyname(), geteventbyname(), getflagbyname(), getjustifybyname(), getkeybyname(), getstatebyname(), getsubbyname(), group_cmp_fn(), handle_cli_mobile_search(), handle_cli_osp_show(), handle_manager_bridge_tech_suspend(), handle_manager_show_events(), handle_redirect(), handle_scan_file(), handle_showchan(), handle_tcptls_connection(), headers_to_vars(), hook_callback(), http_request_headers_get(), http_server_create(), http_server_get(), http_server_get_by_addr(), http_server_get_by_host(), iax2_codec_pref_string(), iax_provflags2str(), iax_str2flags(), init_pvt(), initial_notify_task(), instance_created_observer(), instance_destroying_observer(), instance_loaded_observer(), instance_observer(), instance_reloaded_observer(), internal_dnsmgr_lookup(), is_msg_var_blocked(), is_registered_cb(), is_subscribed_device_state(), is_subscribed_device_state_lock(), is_variable_true(), jingle_add_content(), jingle_endpoint_alloc(), jingle_endpoint_hash(), jingle_interpret_content(), jingle_interpret_description(), jingle_interpret_google_transport(), jingle_request(), json_party_name(), leave_voicemail(), link_topic_proxy(), load_config(), load_pbx_builtins(), load_realtime_musiconhold(), load_realtime_queues(), localized_context_find_or_create(), logged_dlclose(), logger_get_dynamic_level(), logger_register_level(), logger_unregister_level(), lookup_c_ip(), lookup_ci(), lua_get_variable(), lua_get_variable_value(), lua_set_variable(), lua_set_variable_value(), make_test1(), manager_mixmonitor(), manager_mute_mixmonitor(), manager_stop_mixmonitor(), map_video_codec(), match_agent(), media_info_alloc(), media_info_cmp(), media_info_hash(), menu_hash_cb(), message_json_construct2(), message_template_build(), message_template_create(), message_template_find(), method_match(), mgcp_call(), mgcp_hangup(), minivm_notify_exec(), mixmonitor_thread(), msg_data_find(), msg_set_var_full(), msg_to_json(), multi_object_blob_to_ami(), multi_user_event_to_json(), multiple_headers_allowed(), mwi_subscribe_single(), named_acl_find_realtime(), named_item_find(), new_category(), new_realtime_sqlite3_db(), next_available_category(), not_allowed(), object_type_loaded_observer(), object_type_registered_observer(), object_type_reloaded_observer(), ooh323_call(), ooh323_indicate(), opus_get(), opus_set(), originate_exec(), osp_auth(), osp_create_provider(), osp_create_transaction(), osp_get_provider(), osp_lookup(), osp_next(), output_tests(), P2(), P4(), parking_create_dynamic_lot(), parking_lot_cfg_alloc(), parse_cookies(), parse_curlopt_key(), parse_moved_contact(), parse_name_andor_addr(), parse_tag(), party_name_build_data(), pbx_builtin_getvar_helper(), pbx_builtin_importvar(), pbx_builtin_pushvar_helper(), pbx_builtin_setvar(), pbx_builtin_setvar_helper(), pbx_builtin_setvar_multiple(), pbx_find_extension(), pbx_findapp_nolock(), peer_cmp_cb(), peer_hash_cb(), phoneprov_alloc(), phoneprov_callback(), pickup_by_channel(), pickup_set(), play_mailbox_owner(), play_message_callerid(), populate_cache(), print_tone_zone_sound(), process_opcode(), process_returncode(), prometheus_counter_create(), prometheus_gauge_create(), prometheus_metric_create(), protocol_hash_fn(), proxy_from_config(), publish_acl_change(), publish_load_message(), publish_load_message_type(), publish_unload_message(), publisher_start(), push_callinfo(), pvalAppCallSetAppName(), pvalCatchSetExtName(), pvalContextSetName(), pvalESwitchesAddSwitch(), pvalExtenSetName(), pvalLabelSetName(), pvalMacroCallSetMacroName(), pvalMacroSetName(), pvalSwitchesAddSwitch(), pvalVarDecSetVarname(), raise_msg_handler(), realtime_multi_mysql(), realtime_mysql(), realtime_peer_by_addr(), realtime_peer_by_name(), realtime_peer_get_sippeer_helper(), record_serializer(), reload_module(), requirecalltoken_mark_auto(), resolve_first(), resource_name_baselen(), sdp_fmtp_get(), search_directory_sub(), send_callinfo(), send_device_state(), serialize_showchan(), set_cached_format(), set_hangup_source_and_cause(), set_member_value(), set_message_vars_from_req(), set_var_handler(), set_variable(), setup_env(), show_sounds_cb(), silk_get(), silk_set(), sip_acf_channel_read(), sip_contact_status_alloc(), sip_get_header(), sip_options_update_endpoint_state_compositor_aor(), sip_outbound_registration_perform(), sip_prepare_socket(), sip_prune_realtime(), sip_queue_hangup_cause(), skel_level_alloc(), skel_level_hash(), skinny_newcall(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), sla_find_station(), sla_find_trunk(), sla_find_trunk_ref_byname(), softhangup_exec(), sorcery_config_open(), sorcery_memory_cache_hash(), sorcery_memory_cache_open(), sorcery_memory_cached_object_hash(), sorcery_realtime_open(), speech_aeap_engine_change(), speech_aeap_engine_get_setting(), speech_aeap_send_request(), speech_aeap_set(), speech_engine_alloc(), speech_engine_alloc_and_register(), speech_test_server_handle_request(), split_ext(), start_monitor_action(), startelm(), stasis_app_bridge_create(), stasis_app_bridge_create_invisible(), stasis_app_device_state_to_json(), stasis_app_device_states_to_json(), stasis_app_get_by_name(), stasis_app_mailbox_delete(), stasis_app_recording_find_by_name(), stasis_app_recording_options_create(), stasis_app_stored_recording_find_by_name(), stasis_cp_all_create(), stasis_cp_single_create(), stasis_cp_sink_create(), stasis_log_bad_type_access(), stasis_message_type_create(), stasis_message_type_declined(), stasis_topic_create(), stasis_topic_create_with_detail(), stasis_topic_get(), state_alloc(), state_notify_build_xml(), stop_monitor_action(), store_by_locale(), strat2int(), temp_peer(), test_core_format_attribute_get(), test_core_format_attribute_set(), test_item_alloc(), threadpool_alloc(), tps_hash_cb(), transmit_registerrej(), transport_state2str(), tzload(), tzparse(), unistim_indicate(), unistim_new(), unload_dynamic_module(), unload_module(), unload_pbx_builtins(), unsubscribe_device_state(), update_call_counter(), update_connectedline(), user_cmp_cb(), user_hash_cb(), validate_name(), variable_list_append(), variable_named(), websocket_add_protocol_internal(), websocket_remove_protocol_internal(), wizard_loaded_observer(), wizard_mapped_observer(), wizard_reloaded_observer(), write_config_file(), write_metadata(), xfer_set(), xmldoc_build_documentation_item(), xmldoc_build_field(), xmldoc_build_final_response(), xmldoc_build_list_responses(), xmldoc_get_node(), xmldoc_get_syntax_cmd(), xmldoc_get_syntax_config_option(), xmldoc_get_syntax_manager(), xmldoc_update_config_option(), xmldoc_update_config_type(), xmpp_cli_create_collection(), xmpp_cli_create_leafnode(), xmpp_cli_delete_pubsub_node(), xmpp_cli_list_pubsub_nodes(), xmpp_cli_purge_pubsub_nodes(), xmpp_client_alloc(), xmpp_pubsub_create_node(), and xpidf_allocate_body().