X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=route.h;h=3530ef45a7ab948b86182b48dc9b7d815f26ee0b;hp=06fb54fa494dda5dcf1ccec6a1733119d24e30fd;hb=3ac6881c22bce18091f19b06958ac66016bf9a32;hpb=efc550418c0b107c07818809a3d8e779e476dcd4 diff --git a/route.h b/route.h index 06fb54f..3530ef4 100644 --- a/route.h +++ b/route.h @@ -89,6 +89,12 @@ enum { /* how to parse text file during startup */ PARAM_TYPE_PORTS, PARAM_TYPE_TYPE, PARAM_TYPE_CALLERIDTYPE, + PARAM_TYPE_ON, +}; + +enum { /* defines when a statement should be executed */ + INFO_ON_INIT, + INFO_ON_HANGUP, }; /* parameter ID bits */ @@ -139,7 +145,8 @@ enum { /* how to parse text file during startup */ #define PARAM_APPLICATION (1LL<<44) #define PARAM_CONTEXT (1LL<<45) #define PARAM_EXTEN (1LL<<46) - +#define PARAM_ON (1LL<<47) +#define PARAM_KEYPAD (1LL<<48) /* action index * NOTE: The given index is the actual entry number of action_defs[], so add/remove both lists!!!