Thu Apr 16 06:48:22 2015

Asterisk developer's documentation


asent Struct Reference

Collaboration diagram for asent:

Collaboration graph
[legend]

Data Fields

struct ast_channelchan
struct {
   struct ast_frame *   first
   struct ast_frame *   last
deferred_frames
unsigned int ignore_frame_types
struct {
   struct asent *   next
list
unsigned int orig_end_dtmf_flag:1
unsigned int use_count

Detailed Description

Definition at line 56 of file autoservice.c.


Field Documentation

struct ast_channel* chan [read]

struct { ... } deferred_frames

Frames go on at the head of deferred_frames, so we have the frames from newest to oldest. As we put them at the head of the readq, we'll end up with them in the right order for the channel's readq.

Referenced by ast_autoservice_stop().

struct ast_frame* first [read]

Definition at line 67 of file autoservice.c.

unsigned int ignore_frame_types

Definition at line 63 of file autoservice.c.

Referenced by ast_autoservice_ignore(), and ast_autoservice_stop().

struct ast_frame* last [read]

Definition at line 67 of file autoservice.c.

struct { ... } list

struct asent* next [read]

Definition at line 68 of file autoservice.c.

unsigned int orig_end_dtmf_flag

Definition at line 62 of file autoservice.c.

Referenced by ast_autoservice_start(), and ast_autoservice_stop().

unsigned int use_count

This gets incremented each time autoservice gets started on the same channel. It will ensure that it doesn't actually get stopped until it gets stopped for the last time.

Definition at line 61 of file autoservice.c.

Referenced by ast_autoservice_start(), and ast_autoservice_stop().


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

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