Thu Apr 16 06:48:18 2015

Asterisk developer's documentation


analog_callback Struct Reference

#include <sig_analog.h>

Collaboration diagram for analog_callback:

Collaboration graph
[legend]

Data Fields

void(*const all_subchannels_hungup )(void *pvt)
int(*const allocate_sub )(void *pvt, enum analog_sub sub)
void(*const answer_polarityswitch )(void *pvt)
 Switch FXS line polarity, based on answeronpolarityswitch=yes.
int(*const callwait )(void *pvt)
void(*const cancel_cidspill )(void *pvt)
int(*const check_confirmanswer )(void *pvt)
int(*const check_for_conference )(void *pvt)
int(*const check_waitingfordt )(void *pvt)
int(*const complete_conference_update )(void *pvt, int needconf)
int(*const conf_add )(void *pvt, enum analog_sub sub)
int(*const conf_del )(void *pvt, enum analog_sub sub)
int(*const confmute )(void *pvt, int mute)
void(*const deadlock_avoidance_private )(void *pvt)
void(*const decrease_ss_count )(void)
int(*const dial_digits )(void *pvt, enum analog_sub sub, struct analog_dialoperation *dop)
int(*const distinctive_ring )(struct ast_channel *chan, void *pvt, int idx, int *ringdata)
int(*const dsp_reset_and_flush_digits )(void *pvt)
int(*const dsp_set_digitmode )(void *pvt, enum analog_dsp_digitmode mode)
int(*const flash )(void *pvt)
void(*const get_and_handle_alarms )(void *pvt)
int(*const get_callerid )(void *pvt, char *name, char *num, enum analog_event *ev, size_t timeout)
int(*const get_event )(void *pvt)
const char *(*const get_orig_dialstring )(void *pvt)
void *(*const get_sigpvt_bridged_channel )(struct ast_channel *chan)
int(*const get_sub_fd )(void *pvt, enum analog_sub sub)
void(*const handle_dtmf )(void *pvt, struct ast_channel *ast, enum analog_sub analog_index, struct ast_frame **dest)
void(*const handle_notify_message )(struct ast_channel *chan, void *pvt, int cid_flags, int neon_mwievent)
void(*const hangup_polarityswitch )(void *pvt)
 Switch FXS line polarity, based on answeronpolarityswitch and hanguponpolarityswitch.
int(*const has_voicemail )(void *pvt)
int(*const have_progressdetect )(void *pvt)
void(*const increase_ss_count )(void)
int(*const is_dialing )(void *pvt, enum analog_sub sub)
int(*const is_off_hook )(void *pvt)
void(*const lock_private )(void *pvt)
struct ast_channel *(*const new_ast_channel )(void *pvt, int state, int startpbx, enum analog_sub sub, const struct ast_channel *requestor)
int(*const off_hook )(void *pvt)
 Set channel off hook.
int(*const on_hook )(void *pvt)
 Set channel on hook.
int(*const play_tone )(void *pvt, enum analog_sub sub, enum analog_tone tone)
int(*const ring )(void *pvt)
int(*const send_callerid )(void *pvt, int cwcid, struct ast_party_caller *caller)
int(*const send_fsk )(void *pvt, struct ast_channel *ast, char *fsk)
void(*const set_alarm )(void *pvt, int in_alarm)
void(*const set_cadence )(void *pvt, int *cidrings, struct ast_channel *chan)
void(*const set_callwaiting )(void *pvt, int callwaiting_enable)
void(*const set_confirmanswer )(void *pvt, int flag)
void(*const set_dialing )(void *pvt, int is_dialing)
int(*const set_echocanceller )(void *pvt, int enable)
void(*const set_inthreeway )(void *pvt, enum analog_sub sub, int inthreeway)
int(*const set_linear_mode )(void *pvt, enum analog_sub sub, int linear_mode)
void(*const set_needringing )(void *pvt, int value)
void(*const set_new_owner )(void *pvt, struct ast_channel *new_owner)
void(*const set_outgoing )(void *pvt, int is_outgoing)
void(*const set_polarity )(void *pvt, int value)
 Set FXS line polarity to 0=IDLE NZ=REVERSED.
void(*const set_pulsedial )(void *pvt, int flag)
void(*const set_ringtimeout )(void *pvt, int ringt)
void(*const set_waitingfordt )(void *pvt, struct ast_channel *ast)
int(*const start )(void *pvt)
int(*const start_cid_detect )(void *pvt, int cid_signalling)
void(*const start_polarityswitch )(void *pvt)
 Reset FXS line polarity to IDLE, based on answeronpolarityswitch and hanguponpolarityswitch.
int(*const stop_callwait )(void *pvt)
int(*const stop_cid_detect )(void *pvt)
void(*const swap_subs )(void *pvt, enum analog_sub a, struct ast_channel *new_a_owner, enum analog_sub b, struct ast_channel *new_b_owner)
int(*const train_echocanceller )(void *pvt)
int(*const unallocate_sub )(void *pvt, enum analog_sub sub)
void(*const unlock_private )(void *pvt)
int(*const wait_event )(void *pvt)
int(*const wink )(void *pvt, enum analog_sub sub)

Detailed Description

Definition at line 129 of file sig_analog.h.


Field Documentation

void(* const all_subchannels_hungup)(void *pvt)

int(* const allocate_sub)(void *pvt, enum analog_sub sub)

Referenced by analog_alloc_sub().

void(* const answer_polarityswitch)(void *pvt)

Switch FXS line polarity, based on answeronpolarityswitch=yes.

Referenced by analog_answer_polarityswitch().

int(* const callwait)(void *pvt)

Referenced by analog_callwait().

void(* const cancel_cidspill)(void *pvt)

Referenced by analog_cancel_cidspill().

int(* const check_confirmanswer)(void *pvt)

int(* const check_for_conference)(void *pvt)

int(* const check_waitingfordt)(void *pvt)

int(* const complete_conference_update)(void *pvt, int needconf)

Referenced by analog_update_conf().

int(* const conf_add)(void *pvt, enum analog_sub sub)

Referenced by analog_update_conf().

int(* const conf_del)(void *pvt, enum analog_sub sub)

Referenced by analog_update_conf().

int(* const confmute)(void *pvt, int mute)

Referenced by analog_confmute().

void(* const deadlock_avoidance_private)(void *pvt)

Referenced by analog_lock_sub_owner().

void(* const decrease_ss_count)(void)

int(* const dial_digits)(void *pvt, enum analog_sub sub, struct analog_dialoperation *dop)

Referenced by analog_dial_digits().

int(* const distinctive_ring)(struct ast_channel *chan, void *pvt, int idx, int *ringdata)

Referenced by analog_distinctive_ring().

int(* const dsp_reset_and_flush_digits)(void *pvt)

int(* const dsp_set_digitmode)(void *pvt, enum analog_dsp_digitmode mode)

int(* const flash)(void *pvt)

Referenced by analog_flash().

void(* const get_and_handle_alarms)(void *pvt)

int(* const get_callerid)(void *pvt, char *name, char *num, enum analog_event *ev, size_t timeout)

Referenced by analog_get_callerid().

int(* const get_event)(void *pvt)

Referenced by analog_get_event().

const char*(* const get_orig_dialstring)(void *pvt)

void*(* const get_sigpvt_bridged_channel)(struct ast_channel *chan)

int(* const get_sub_fd)(void *pvt, enum analog_sub sub)

Referenced by analog_get_sub_fd().

void(* const handle_dtmf)(void *pvt, struct ast_channel *ast, enum analog_sub analog_index, struct ast_frame **dest)

Referenced by analog_cb_handle_dtmf().

void(* const handle_notify_message)(struct ast_channel *chan, void *pvt, int cid_flags, int neon_mwievent)

void(* const hangup_polarityswitch)(void *pvt)

Switch FXS line polarity, based on answeronpolarityswitch and hanguponpolarityswitch.

Referenced by analog_hangup_polarityswitch().

int(* const has_voicemail)(void *pvt)

Referenced by analog_has_voicemail().

int(* const have_progressdetect)(void *pvt)

void(* const increase_ss_count)(void)

int(* const is_dialing)(void *pvt, enum analog_sub sub)

Referenced by analog_is_dialing().

int(* const is_off_hook)(void *pvt)

Referenced by analog_is_off_hook().

void(* const lock_private)(void *pvt)

Referenced by analog_lock_private().

struct ast_channel*(* const new_ast_channel)(void *pvt, int state, int startpbx, enum analog_sub sub, const struct ast_channel *requestor) [read]

Referenced by analog_new_ast_channel().

int(* const off_hook)(void *pvt)

Set channel off hook.

Referenced by analog_off_hook().

int(* const on_hook)(void *pvt)

Set channel on hook.

Referenced by analog_on_hook().

int(* const play_tone)(void *pvt, enum analog_sub sub, enum analog_tone tone)

Referenced by analog_play_tone().

int(* const ring)(void *pvt)

Referenced by analog_ring().

int(* const send_callerid)(void *pvt, int cwcid, struct ast_party_caller *caller)

Referenced by analog_send_callerid().

int(* const send_fsk)(void *pvt, struct ast_channel *ast, char *fsk)

void(* const set_alarm)(void *pvt, int in_alarm)

Referenced by analog_set_alarm().

void(* const set_cadence)(void *pvt, int *cidrings, struct ast_channel *chan)

Referenced by analog_set_cadence().

void(* const set_callwaiting)(void *pvt, int callwaiting_enable)

Referenced by analog_set_callwaiting().

void(* const set_confirmanswer)(void *pvt, int flag)

void(* const set_dialing)(void *pvt, int is_dialing)

Referenced by analog_set_dialing().

int(* const set_echocanceller)(void *pvt, int enable)

void(* const set_inthreeway)(void *pvt, enum analog_sub sub, int inthreeway)

Referenced by analog_set_inthreeway().

int(* const set_linear_mode)(void *pvt, enum analog_sub sub, int linear_mode)

Referenced by analog_set_linear_mode().

void(* const set_needringing)(void *pvt, int value)

Referenced by analog_set_needringing().

void(* const set_new_owner)(void *pvt, struct ast_channel *new_owner)

Referenced by analog_set_new_owner().

void(* const set_outgoing)(void *pvt, int is_outgoing)

Referenced by analog_set_outgoing().

void(* const set_polarity)(void *pvt, int value)

Set FXS line polarity to 0=IDLE NZ=REVERSED.

void(* const set_pulsedial)(void *pvt, int flag)

Referenced by analog_set_pulsedial().

void(* const set_ringtimeout)(void *pvt, int ringt)

Referenced by analog_set_ringtimeout().

void(* const set_waitingfordt)(void *pvt, struct ast_channel *ast)

Referenced by analog_set_waitingfordt().

int(* const start)(void *pvt)

Referenced by analog_start().

int(* const start_cid_detect)(void *pvt, int cid_signalling)

Referenced by analog_start_cid_detect().

void(* const start_polarityswitch)(void *pvt)

Reset FXS line polarity to IDLE, based on answeronpolarityswitch and hanguponpolarityswitch.

Referenced by analog_start_polarityswitch().

int(* const stop_callwait)(void *pvt)

Referenced by analog_stop_callwait().

int(* const stop_cid_detect)(void *pvt)

Referenced by analog_stop_cid_detect().

void(* const swap_subs)(void *pvt, enum analog_sub a, struct ast_channel *new_a_owner, enum analog_sub b, struct ast_channel *new_b_owner)

This function is for swapping of the owners with the underlying subs. Typically it means you need to change the fds of the new owner to be the fds of the sub specified, for each of the two subs given

Referenced by analog_swap_subs().

int(* const train_echocanceller)(void *pvt)

int(* const unallocate_sub)(void *pvt, enum analog_sub sub)

Referenced by analog_unalloc_sub().

void(* const unlock_private)(void *pvt)

Referenced by analog_unlock_private().

int(* const wait_event)(void *pvt)

Referenced by analog_wait_event().

int(* const wink)(void *pvt, enum analog_sub sub)

Referenced by analog_wink().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:48:19 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6