#include <bayonne.h>
Public Attributes | |
| struct { | |
| unsigned rings | |
| timeout_t timeout | |
| const char * transfer | |
| Trunk * intercom | |
| const char * station | |
| const char * fax | |
| } | answer |
| struct { | |
| char pathname [256] | |
| const char * station | |
| } | fax |
| struct { | |
| char list [256] | |
| char * name | |
| const char * extension | |
| unsigned long offset | |
| unsigned long limit | |
| unsigned short term | |
| playmode_t mode | |
| writemode_t write | |
| timeout_t timeout | |
| timeout_t maxtime | |
| timeout_t position | |
| unsigned repeat | |
| unsigned volume | |
| float gain | |
| float pitch | |
| trunkspeed_t speed | |
| const char * voice | |
| const char * text | |
| const char * cache | |
| bool lock | |
| unsigned channel | |
| } | play |
| struct { | |
| char * name | |
| char * save | |
| const char * encoding | |
| const char * annotation | |
| const char * extension | |
| const char * text | |
| timeout_t timeout | |
| timeout_t position | |
| unsigned long offset | |
| unsigned short term | |
| unsigned long silence | |
| unsigned long trim | |
| unsigned long minsize | |
| unsigned volume | |
| float gain | |
| short frames | |
| bool append | |
| bool info | |
| char filepath [65] | |
| char savepath [65] | |
| char altinfo [128] | |
| } | record |
| struct { | |
| char digits [65] | |
| char * digit | |
| char * callingdigit | |
| bool exit | |
| dialmode_t dialer | |
| timeout_t interdigit | |
| timeout_t digittimer | |
| timeout_t timeout | |
| timeout_t offhook | |
| timeout_t onhook | |
| unsigned pulsecount | |
| bool sync | |
| } | dialxfer |
| struct { | |
| timeout_t timeout | |
| timeout_t first | |
| unsigned count | |
| unsigned short term | |
| unsigned short ignore | |
| void * map | |
| void * var | |
| } | collect |
| struct { | |
| timeout_t first | |
| timeout_t next | |
| unsigned short term | |
| unsigned short count | |
| float gain | |
| float pitch | |
| unsigned volume | |
| void * save | |
| char * wordlist [32] | |
| char buffer [256] | |
| } | listen |
| struct { | |
| timeout_t wakeup | |
| unsigned rings | |
| unsigned loops | |
| const char * save | |
| unsigned short term | |
| unsigned count | |
| } | sleep |
| struct { | |
| timeout_t wakeup | |
| timeout_t duration | |
| unsigned loops | |
| phTone * tone | |
| unsigned freq1 | |
| unsigned freq2 | |
| int ampl1 | |
| int ampl2 | |
| Trunk * dialing | |
| bool recall | |
| } | tone |
| struct { | |
| Trunk * src | |
| const char * msg | |
| unsigned seq | |
| } | send |
| struct { | |
| timeout_t wakeup | |
| timeout_t maxwait | |
| bool hangup | |
| joinmode_t direction | |
| Trunk * trunk | |
| Trunk * waiting | |
| phTone * tone | |
| float inpgain | |
| float outgain | |
| char * recfn | |
| const char * encoding | |
| const char * annotation | |
| const char * extension | |
| unsigned count | |
| unsigned seq | |
| trunkevent_t reason | |
| bool local | |
| time_t start | |
| } | join |
| struct { | |
| Conference * resource | |
| timeout_t maxtime | |
| unsigned volume | |
| float input | |
| float output | |
| } | enter |
| struct { | |
| TrunkImage * image | |
| const char * url | |
| const char * section | |
| const char * parent | |
| const char * fail | |
| const char * database | |
| char ** vars | |
| bool post | |
| bool attach | |
| bool gosub | |
| timeout_t timeout | |
| char userid [64] | |
| char filepath [256] | |
| } | load |
| struct { | |
| Trunk * answer | |
| const char * transfer | |
| } | intercom |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4