#include <frame.h>
Data Fields | |
void * | data |
int | datalen |
timeval | delivery |
int | frametype |
int | mallocd |
ast_frame * | next |
int | offset |
ast_frame * | prev |
int | samples |
const char * | src |
int | subclass |
Definition at line 89 of file frame.h.
void* data |
Pointer to actual data
Definition at line 105 of file frame.h.
Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_framein(), adpcmtolin_frameout(), adpcmtolin_sample(), alawtolin_framein(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_framein(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), alsa_write(), aopen_handle_escape(), aopen_read(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_slinear_sum(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_prod(), ast_read(), ast_recvtext(), ast_rtp_raw_write(), ast_rtp_read(), ast_slinfactory_read(), ast_waitfordigit_full(), ast_waitstream_full(), ast_write(), au_open(), au_write(), bestdata_handle_escape(), bestdata_read(), bestdata_write(), cb_events(), conf_run(), console_sendtext(), copy_data_from_queue(), do_chanreads(), do_immediate_setup(), function_ilink(), g723_write(), g723tolin_framein(), g723tolin_frameout(), g723tolin_sample(), g726_write(), g726tolin_framein(), g726tolin_frameout(), g726tolin_sample(), g729_write(), get_from_jb(), gsm_write(), gsmtolin_framein(), gsmtolin_frameout(), gsmtolin_sample(), h263_write(), handle_link_data(), i4l_handle_escape(), i4l_write(), iax2_send(), iax2_sendimage(), iax2_trunk_queue(), iax_frame_wrap(), ices_exec(), ilbc_write(), ilbctolin_framein(), ilbctolin_frameout(), ilbctolin_sample(), jpeg_write_image(), lintoadpcm_framein(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_framein(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_framein(), lintog723_frameout(), lintog723_sample(), lintog726_framein(), lintog726_frameout(), lintog726_sample(), lintogsm_framein(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_framein(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_framein(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_framein(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_framein(), lintoulaw_frameout(), lintoulaw_sample(), local_sendhtml(), lpc10tolin_framein(), lpc10tolin_frameout(), lpc10tolin_sample(), measurenoise(), milliwatt_generate(), misdn_read(), misdn_write(), nbs_xread(), nbs_xwrite(), oss_read(), oss_write(), pcm_write(), phone_exception(), phone_read(), phone_write(), process_rfc3389(), rpt(), rpt_call(), rtpread(), run_agi(), rxfax_exec(), send_link_dtmf(), send_tone_burst(), slinear_write(), sms_generate(), socket_read(), speextolin_framein(), speextolin_frameout(), speextolin_sample(), spy_generate(), tonepair_generator(), txfax_exec(), ulawtoalaw_framein(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_framein(), ulawtolin_frameout(), ulawtolin_sample(), vox_write(), vpb_write(), wait_for_answer(), wav_write(), zt_handle_event(), zt_read(), and zt_write().
int datalen |
Length of data
Definition at line 95 of file frame.h.
Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_framein(), adpcmtolin_frameout(), adpcmtolin_sample(), adsi_careful_send(), alawtolin_framein(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_framein(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), alsa_write(), aopen_handle_escape(), aopen_read(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frdup(), ast_frisolate(), ast_read(), ast_recvtext(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_slinfactory_feed(), ast_slinfactory_read(), ast_waitfordigit_full(), ast_waitstream_full(), ast_write(), au_write(), bestdata_handle_escape(), bestdata_read(), bestdata_write(), cb_events(), conf_run(), console_sendtext(), copy_data_from_queue(), do_chanreads(), do_immediate_setup(), function_ilink(), g723_write(), g723tolin_framein(), g723tolin_frameout(), g723tolin_sample(), g726_write(), g726tolin_framein(), g726tolin_frameout(), g726tolin_sample(), g729_write(), get_from_jb(), gsm_write(), gsmtolin_framein(), gsmtolin_frameout(), gsmtolin_sample(), h263_write(), handle_link_data(), i4l_handle_escape(), i4l_write(), iax2_send(), iax2_sendimage(), iax2_trunk_queue(), iax_frame_wrap(), iaxfrdup2(), ices_exec(), ilbc_write(), ilbctolin_framein(), ilbctolin_frameout(), ilbctolin_sample(), jpeg_write_image(), lintoadpcm_framein(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_framein(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_framein(), lintog723_frameout(), lintog723_sample(), lintog726_framein(), lintog726_frameout(), lintog726_sample(), lintogsm_framein(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_framein(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_framein(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_framein(), lintospeex_sample(), lintoulaw_framein(), lintoulaw_frameout(), lintoulaw_sample(), local_sendhtml(), lpc10tolin_framein(), lpc10tolin_frameout(), lpc10tolin_sample(), milliwatt_generate(), misdn_read(), nbs_xread(), nbs_xwrite(), oss_read(), oss_write(), pcm_write(), phone_exception(), phone_read(), phone_write(), process_rfc3389(), rpt(), rpt_call(), run_agi(), send_dtmf(), send_link_dtmf(), send_tone_burst(), slinear_write(), sms_generate(), socket_read(), speextolin_framein(), speextolin_frameout(), speextolin_sample(), spy_generate(), tonepair_generator(), ulawtoalaw_framein(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_framein(), ulawtolin_frameout(), ulawtolin_sample(), update_header(), vox_write(), vpb_write(), wait_for_answer(), wav_write(), zt_handle_event(), zt_read(), and zt_write().
struct timeval delivery |
Global delivery time
Definition at line 107 of file frame.h.
Referenced by __ast_smoother_feed(), __zt_exception(), alsa_read(), aopen_handle_escape(), aopen_read(), ast_frdup(), ast_rtp_raw_write(), ast_rtp_read(), ast_translate(), bestdata_handle_escape(), bestdata_read(), calc_timestamp(), do_chanreads(), echo_exec(), get_from_jb(), i4l_handle_escape(), iax_frame_wrap(), milliwatt_generate(), nbs_xread(), oss_read(), phone_exception(), phone_read(), process_rfc3389(), schedule_delivery(), and zt_read().
int frametype |
Kind of frame
Definition at line 91 of file frame.h.
Referenced by __adsi_transmit_messages(), __ast_request_and_dial(), __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), adsi_careful_send(), agent_ack_sleep(), agent_read(), agent_write(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), aopen_handle_escape(), aopen_read(), app_exec(), ast_app_getvoice(), ast_bridge_call(), ast_channel_spy_read_frame(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_feature_request_and_dial(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_play_and_prepend(), ast_play_and_record_full(), ast_queue_frame(), ast_read(), ast_recvtext(), ast_rtp_read(), ast_rtp_write(), ast_translate(), ast_waitfordigit(), ast_waitfordigit_full(), ast_waitstream(), ast_waitstream_exten(), ast_waitstream_fr(), ast_waitstream_full(), ast_write(), ast_writestream(), async_wait(), attempt_transmit(), au_open(), au_write(), background_detect_exec(), bestdata_handle_escape(), bestdata_read(), calc_timestamp(), cb_events(), channel_spy(), conf_exec(), conf_run(), console_sendtext(), decode_frame(), dictate_exec(), disa_exec(), do_chanreads(), do_immediate_setup(), do_parking_thread(), do_waiting(), echo_exec(), function_ilink(), g723_write(), g723tolin_frameout(), g723tolin_sample(), g726_write(), g726tolin_frameout(), g726tolin_sample(), g729_write(), get_from_jb(), gsm_write(), gsmtolin_frameout(), gsmtolin_sample(), h263_write(), handle_link_data(), handle_message(), handle_recordfile(), handle_request(), i4l_handle_escape(), i4l_write(), iax2_send(), iax2_write(), iax_frame_wrap(), ices_exec(), ilbc_write(), ilbctolin_frameout(), ilbctolin_sample(), jpeg_write_image(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), local_queue_frame(), local_write(), lpc10tolin_frameout(), lpc10tolin_sample(), measurenoise(), mgcp_rtp_read(), mgcp_write(), milliwatt_generate(), misdn_bridge(), misdn_read(), modem_mini_packet(), monitor_handle_owned(), mp3_exec(), nbs_xwrite(), NBScat_exec(), oh323_rtp_read(), oh323_write(), oss_call(), oss_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), process_ast_dsp(), process_rfc3389(), receive_dtmf_digits(), rpt(), rpt_call(), run_agi(), rxfax_exec(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), sendurl_exec(), silence_generator_generate(), sip_rtp_read(), sip_write(), skinny_rtp_read(), skinny_write(), slinear_write(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), ss_thread(), tonepair_generator(), txfax_exec(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), vox_write(), vpb_bridge(), vpb_write(), wait_for_answer(), waitforring_exec(), wav_write(), zt_bridge(), zt_handle_event(), zt_read(), and zt_write().
int mallocd |
Was the data malloc'd? i.e. should we free it when we discard the frame?
Definition at line 99 of file frame.h.
Referenced by __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), aopen_handle_escape(), aopen_read(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_rtp_read(), au_open(), bestdata_handle_escape(), bestdata_read(), cb_events(), do_chanreads(), do_immediate_setup(), function_ilink(), g723tolin_frameout(), g723tolin_sample(), g726tolin_frameout(), g726tolin_sample(), get_from_jb(), gsmtolin_frameout(), gsmtolin_sample(), handle_link_data(), i4l_handle_escape(), iax_frame_wrap(), ilbctolin_frameout(), ilbctolin_sample(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), lpc10tolin_frameout(), lpc10tolin_sample(), milliwatt_generate(), misdn_read(), nbs_xread(), oss_read(), phone_exception(), phone_read(), rpt_call(), send_dtmf(), send_link_dtmf(), send_tone_burst(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), zt_handle_event(), and zt_read().
Next/Prev for linking stand alone frames
Definition at line 111 of file frame.h.
Referenced by ast_channel_free(), ast_channel_spy_free(), ast_channel_spy_read_frame(), ast_frfree(), ast_queue_frame(), ast_read(), ast_slinfactory_destroy(), ast_slinfactory_feed(), ast_slinfactory_read(), ast_translate(), copy_data_from_queue(), find_cache(), milliwatt_generate(), mixmonitor_thread(), and queue_frame_to_spies().
int offset |
How many bytes exist _before_ "data" that can be used if needed
Definition at line 101 of file frame.h.
Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), aopen_handle_escape(), aopen_read(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_rtp_read(), ast_rtp_write(), bestdata_handle_escape(), bestdata_read(), cb_events(), copy_data_from_queue(), do_chanreads(), do_immediate_setup(), function_ilink(), g723tolin_frameout(), g723tolin_sample(), g726tolin_frameout(), g726tolin_sample(), get_from_jb(), gsmtolin_frameout(), gsmtolin_sample(), handle_link_data(), i4l_handle_escape(), iax_frame_wrap(), ilbctolin_frameout(), ilbctolin_sample(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), lpc10tolin_frameout(), lpc10tolin_sample(), milliwatt_generate(), misdn_read(), nbs_xread(), oss_read(), phone_exception(), phone_read(), process_rfc3389(), rpt_call(), send_link_dtmf(), send_tone_burst(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), tonepair_generator(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), zt_handle_event(), and zt_read().
Next/Prev for linking stand alone frames
Definition at line 109 of file frame.h.
Referenced by ast_do_masquerade(), ast_frame_header_new(), ast_frfree(), ast_queue_frame(), find_cache(), and milliwatt_generate().
int samples |
Number of 8khz samples in this frame
Definition at line 97 of file frame.h.
Referenced by __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), aopen_handle_escape(), aopen_read(), ast_app_getvoice(), ast_channel_spy_read_frame(), ast_frame_adjust_volume(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_read(), ast_rtp_raw_write(), ast_rtp_read(), ast_stream_fastforward(), ast_stream_rewind(), ast_translate(), ast_write(), au_seek(), bestdata_handle_escape(), bestdata_read(), calc_cost(), calc_timestamp(), cb_events(), copy_data_from_queue(), dictate_exec(), do_chanreads(), do_immediate_setup(), function_ilink(), g723tolin_frameout(), g723tolin_sample(), g726tolin_frameout(), g726tolin_sample(), gen_generate(), get_from_jb(), gsmtolin_frameout(), gsmtolin_sample(), h263_write(), handle_link_data(), i4l_handle_escape(), iax_frame_wrap(), ilbctolin_frameout(), ilbctolin_sample(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), lpc10tolin_frameout(), lpc10tolin_sample(), measurenoise(), milliwatt_generate(), misdn_read(), misdn_write(), moh_files_generator(), nbs_xread(), oss_read(), phone_exception(), phone_read(), process_rfc3389(), queue_frame_to_spies(), rpt_call(), rxfax_exec(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), tonepair_generator(), txfax_exec(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), wav_seek(), zt_handle_event(), and zt_read().
const char* src |
Optional source of frame for debugging
Definition at line 103 of file frame.h.
Referenced by __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_read(), aopen_read(), ast_dsp_process(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_prod(), ast_rtp_read(), au_open(), bestdata_read(), cb_events(), do_chanreads(), do_immediate_setup(), g723tolin_frameout(), g723tolin_sample(), g726tolin_frameout(), g726tolin_sample(), get_from_jb(), gsmtolin_framein(), gsmtolin_frameout(), gsmtolin_sample(), handle_message(), handle_request(), iax_frame_wrap(), ilbctolin_framein(), ilbctolin_frameout(), ilbctolin_sample(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), lpc10tolin_frameout(), lpc10tolin_sample(), milliwatt_generate(), misdn_read(), monitor_handle_owned(), nbs_xread(), oss_read(), phone_exception(), phone_read(), send_dtmf(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), zt_handle_event(), and zt_read().
int subclass |
Subclass, frame dependent
Definition at line 93 of file frame.h.
Referenced by __adsi_transmit_messages(), __ast_request_and_dial(), __ast_smoother_feed(), __send_command(), __zt_exception(), adpcmtolin_frameout(), adpcmtolin_sample(), adsi_careful_send(), agent_ack_sleep(), agent_read(), agent_write(), alawtolin_frameout(), alawtolin_sample(), alawtoulaw_frameout(), alawtoulaw_sample(), alsa_call(), alsa_read(), aopen_handle_escape(), aopen_read(), app_exec(), ast_app_getvoice(), ast_bridge_call(), ast_codec_get_samples(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_feature_request_and_dial(), ast_frame_adjust_volume(), ast_frame_dump(), ast_frame_slinear_sum(), ast_frdup(), ast_frisolate(), ast_play_and_prepend(), ast_play_and_record_full(), ast_prod(), ast_queue_control(), ast_queue_frame(), ast_read(), ast_recvtext(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_write(), ast_slinfactory_feed(), ast_waitfordigit(), ast_waitfordigit_full(), ast_waitstream(), ast_waitstream_exten(), ast_waitstream_fr(), ast_waitstream_full(), ast_write(), ast_writestream(), async_wait(), attempt_transmit(), au_open(), au_write(), background_detect_exec(), bestdata_handle_escape(), bestdata_read(), cb_events(), channel_spy(), conf_exec(), conf_run(), console_dial(), console_sendtext(), decode_frame(), dictate_exec(), disa_exec(), do_chanreads(), do_immediate_setup(), do_parking_thread(), echo_exec(), function_ilink(), g723_write(), g723tolin_frameout(), g723tolin_sample(), g726_write(), g726tolin_frameout(), g726tolin_sample(), g729_write(), get_from_jb(), gsm_write(), gsmtolin_frameout(), gsmtolin_sample(), h263_write(), handle_link_data(), handle_message(), handle_recordfile(), handle_request(), handle_request_info(), i4l_handle_escape(), i4l_write(), iax2_send(), iax2_sendimage(), iax_frame_wrap(), ilbc_write(), ilbctolin_frameout(), ilbctolin_sample(), jpeg_write_image(), lintoadpcm_frameout(), lintoadpcm_sample(), lintoalaw_frameout(), lintoalaw_sample(), lintog723_frameout(), lintog723_sample(), lintog726_frameout(), lintog726_sample(), lintogsm_frameout(), lintogsm_sample(), lintoilbc_frameout(), lintoilbc_sample(), lintolpc10_frameout(), lintolpc10_sample(), lintospeex_frameout(), lintospeex_sample(), lintoulaw_frameout(), lintoulaw_sample(), local_digit(), local_indicate(), local_queue_frame(), local_sendhtml(), lpc10tolin_frameout(), lpc10tolin_sample(), measurenoise(), mgcp_queue_control(), mgcp_rtp_read(), mgcp_write(), milliwatt_generate(), misdn_bridge(), misdn_read(), misdn_write(), modem_mini_packet(), monitor_handle_owned(), nbs_xwrite(), oh323_rtp_read(), oh323_write(), oss_call(), oss_read(), pcm_write(), phone_exception(), phone_read(), phone_write(), process_ast_dsp(), process_rfc3389(), queue_frame_to_spies(), receive_dtmf_digits(), rpt(), rpt_call(), send_dtmf(), send_link_dtmf(), send_tone_burst(), send_waveform_to_channel(), sendurl_exec(), sip_rtp_read(), sip_write(), skinny_rtp_read(), skinny_write(), slinear_write(), sms_generate(), socket_read(), speextolin_frameout(), speextolin_sample(), ss_thread(), tonepair_generator(), ulawtoalaw_frameout(), ulawtoalaw_sample(), ulawtolin_frameout(), ulawtolin_sample(), vox_write(), vpb_bridge(), vpb_write(), wait_for_answer(), waitforring_exec(), wav_write(), zt_handle_event(), zt_read(), and zt_write().