#include <bayonne.h>
Public Attributes | |
| Handler | handler |
| Handler | logstate |
| const char * | name |
| timeout_t | timeout |
| Name * | menu |
| unsigned | stack |
| Line * | lib |
| int | pfd |
| result_t | result |
| int | pid |
| libaudio_t * | libaudio |
| unsigned | count |
| timeout_t | interval |
| struct { | |
| unsigned count | |
| timeout_t interval | |
| } | wait |
| Audio::Mode | mode |
| Audio::Level | level |
| timeout_t | total |
| timeout_t | silence |
| timeout_t | intersilence |
| long | lastnum |
| bool | exitkey |
| bool | compress |
| bool | trigger |
| const char * | pos |
| const char * | exit |
| const char * | menu |
| const char * | note |
| const char * | list [256] |
| struct { | |
| Audio::Mode mode | |
| Audio::Level level | |
| timeout_t total | |
| timeout_t silence | |
| timeout_t intersilence | |
| long lastnum | |
| bool exitkey | |
| bool compress | |
| bool trigger | |
| const char * pos | |
| const char * exit | |
| const char * menu | |
| const char * note | |
| const char * list [256] | |
| } | audio |
| timeout_t | interdigit |
| timeout_t | lastdigit |
| const char * | var |
| const char * | exit |
| const char * | format |
| const char * | ignore |
| const char * | route |
| unsigned | size |
| unsigned | required |
| struct { | |
| timeout_t interdigit | |
| timeout_t lastdigit | |
| const char * var | |
| const char * exit | |
| const char * format | |
| const char * ignore | |
| const char * route | |
| unsigned count | |
| unsigned size | |
| unsigned required | |
| } | input |
| const char * | var |
| const char * | menu |
| struct { | |
| const char * var | |
| const char * menu | |
| } | inkey |
| const char * | sequence |
| bool | flashing |
| bool | dialing |
| bool | exiting |
| bool | dtmf |
| char * | syncdigit |
| timeout_t | synctimer |
| timeout_t | duration |
| char | digits [64] |
| char | sessionid [16] |
| struct { | |
| const char * sequence | |
| bool flashing | |
| bool dialing | |
| bool exiting | |
| bool dtmf | |
| char * syncdigit | |
| timeout_t synctimer | |
| timeout_t duration | |
| char digits [64] | |
| char sessionid [16] | |
| } | tone |
| timeout_t | on |
| timeout_t | off |
| unsigned | pos |
| unsigned char | digits [64] |
| struct { | |
| timeout_t on | |
| timeout_t off | |
| timeout_t interdigit | |
| unsigned pos | |
| bool flashing | |
| bool dialing | |
| unsigned char digits [64] | |
| } | pulse |
| const char * | dial |
| const char * | exit |
| BayonneSession * | peer |
| timeout_t | answer_timer |
| struct { | |
| const char * dial | |
| const char * exit | |
| bool dtmf | |
| BayonneSession * peer | |
| timeout_t answer_timer | |
| char digits [64] | |
| } | join |
| const char * | ref |
| char | buf [256 *sizeof(char *)] |
| struct { | |
| const char * ref | |
| char buf [256 *sizeof(char *)] | |
| } | url |
This holds data that is setup by the interpreter and which must remain persistent for the execution of a given state. This is composed of some common elements which exist in a session for all states, and a union of state specific data elements, all packed together.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6