X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=route.h;h=c6ca347161139e51b332dfc7c03d6dff22f9f6d5;hp=837aebd54b63cba9e662dd9fa79fac70d5051e73;hb=b5d6f1c72b000cc0e5f566adec73e830cec04f32;hpb=64143650bc9c04fadc99694c499cf34750bc2804 diff --git a/route.h b/route.h index 837aebd..c6ca347 100644 --- a/route.h +++ b/route.h @@ -32,6 +32,7 @@ enum { /* how to parse text file during startup */ COND_TYPE_IP, COND_TYPE_CAPABILITY, COND_TYPE_BMODE, + COND_TYPE_HLC, COND_TYPE_IFATTR, }; @@ -84,6 +85,7 @@ enum { /* how to parse text file during startup */ PARAM_TYPE_YESNO, PARAM_TYPE_CAPABILITY, PARAM_TYPE_BMODE, + PARAM_TYPE_HLC, PARAM_TYPE_DIVERSION, PARAM_TYPE_DESTIN, PARAM_TYPE_PORTS, @@ -146,6 +148,7 @@ enum { /* defines when a statement should be executed */ #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!!! @@ -153,26 +156,26 @@ enum { /* defines when a statement should be executed */ #define ACTION_EXTERNAL 0 #define ACTION_INTERNAL 1 #define ACTION_OUTDIAL 2 -#define ACTION_REMOTE 3 -#define ACTION_VBOX_RECORD 4 -#define ACTION_PARTYLINE 5 -#define ACTION_LOGIN 6 -#define ACTION_CALLERID 7 -#define ACTION_CALLERIDNEXT 8 -#define ACTION_FORWARD 9 -#define ACTION_REDIAL 10 -#define ACTION_REPLY 11 -#define ACTION_POWERDIAL 12 -#define ACTION_CALLBACK 13 -#define ACTION_ABBREV 14 -#define ACTION_TEST 15 -#define ACTION_PLAY 16 -#define ACTION_VBOX_PLAY 17 -#define ACTION_CALCULATOR 18 -#define ACTION_TIMER 19 -#define ACTION_GOTO 20 -#define ACTION_MENU 21 -#define ACTION_DISCONNECT 22 +#define ACTION_VBOX_RECORD 3 +#define ACTION_PARTYLINE 4 +#define ACTION_LOGIN 5 +#define ACTION_CALLERID 6 +#define ACTION_CALLERIDNEXT 7 +#define ACTION_FORWARD 8 +#define ACTION_REDIAL 9 +#define ACTION_REPLY 10 +#define ACTION_POWERDIAL 11 +#define ACTION_CALLBACK 12 +#define ACTION_ABBREV 13 +#define ACTION_TEST 14 +#define ACTION_PLAY 15 +#define ACTION_VBOX_PLAY 16 +#define ACTION_CALCULATOR 17 +#define ACTION_TIMER 18 +#define ACTION_GOTO 19 +#define ACTION_MENU 20 +#define ACTION_DISCONNECT 21 +#define ACTION_RELEASE 22 #define ACTION_DEFLECT 23 #define ACTION_SETFORWARD 24 #define ACTION_EXECUTE 25