Sat Aug 6 00:40:07 2011

Asterisk developer's documentation


asent Struct Reference


Data Fields

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

Detailed Description

Definition at line 57 of file autoservice.c.


Field Documentation

struct ast_channel* chan

Definition at line 58 of file autoservice.c.

Referenced by ast_autoservice_ignore(), ast_autoservice_start(), ast_autoservice_stop(), and autoservice_run().

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(), and autoservice_run().

struct ast_frame* first

Definition at line 68 of file autoservice.c.

unsigned int ignore_frame_types

Definition at line 64 of file autoservice.c.

Referenced by ast_autoservice_ignore(), and ast_autoservice_stop().

struct ast_frame* last

Definition at line 68 of file autoservice.c.

struct { ... } list

Referenced by ast_autoservice_ignore(), ast_autoservice_start(), and ast_autoservice_stop().

struct asent* next

Definition at line 69 of file autoservice.c.

unsigned int orig_end_dtmf_flag

Definition at line 63 of file autoservice.c.

Referenced by 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 62 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 Sat Aug 6 00:40:07 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7