Wed Oct 28 11:46:32 2009

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
struct {
   struct asent *   next
list
unsigned int orig_end_dtmf_flag:1
unsigned int use_count

Detailed Description

Definition at line 52 of file autoservice.c.


Field Documentation

struct ast_channel* chan [read]

Definition at line 53 of file autoservice.c.

Referenced by 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().

struct ast_frame* first [read]

Definition at line 62 of file autoservice.c.

struct ast_frame* last [read]

Definition at line 62 of file autoservice.c.

struct { ... } list

struct asent* next [read]

Definition at line 63 of file autoservice.c.

unsigned int orig_end_dtmf_flag

Definition at line 58 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 57 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 Wed Oct 28 11:46:32 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6