Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
analog_callback Struct Reference

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)
 
int(*const get_firstdigit_timeout )(void *pvt)
 
int(*const get_interdigit_timeout )(void *pvt)
 
int(*const get_matchdigit_timeout )(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 143 of file sig_analog.h.

Field Documentation

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

Definition at line 206 of file sig_analog.h.


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