X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=extension.h;h=46726375f7abc7f7af75ebb4d365ea53e266f2a6;hp=4a09d7f7cb5f4105a12489cf6bca652ae847b190;hb=1e8009963503f713ab8b3866090b340a70f5aa77;hpb=a17752d887eb9eb975dce3453ab3d176a2818cb1 diff --git a/extension.h b/extension.h index 4a09d7f..4672637 100644 --- a/extension.h +++ b/extension.h @@ -9,6 +9,10 @@ ** ** \*****************************************************************************/ +/* maximum number of redial/powerdial and reply numbers to remember + */ +#define MAX_REMEMBER 99 + /* display of callerid on internal numbers */ enum { @@ -126,7 +130,7 @@ struct extension { int change_callerid; int clip; /* how to present caller id on forwarded calls */ int colp; /* how to present called line id on forwarded calls */ - char clip_prefix[32]; /* prefix for screening incomming clip */ + char clip_prefix[32]; /* prefix for screening incoming clip */ int keypad; /* support keypad for call control */ int centrex; /* present name of caller/called on internal extension */ int anon_ignore; /* ignore anonymouse calls */ @@ -135,12 +139,11 @@ struct extension { int noknocking; /* deny knocking of incoming call */ char last_out[MAX_REMEMBER][64]; /* numbers to redail */ char last_in[MAX_REMEMBER][64]; /* numbers to reply */ - int txvol; - int rxvol; + int tx_gain; + int rx_gain; int display_cause; /* clear cause using display message */ int display_ext; /* display external caller ids */ int display_int; /* display internal caller ids */ - int display_voip; /* display h323 caller ids */ int display_fake; /* display fake caller ids */ int display_anon; /* display anonymouse caller ids */ int display_menu; /* display menu */ @@ -159,13 +162,6 @@ struct extension { int vbox_email_file; /* set, if also the audio fille will be attached */ int vbox_free; /* if vbox shall connect after announcment */ - int tout_setup; - int tout_dialing; - int tout_proceeding; - int tout_alerting; - int tout_disconnect; -// int tout_hold; -// int tout_park; int own_setup; int own_proceeding; int own_alerting; @@ -182,6 +178,7 @@ int write_log(char *number, char *callerid, char *calledid, time_t start, time_t int parse_phonebook(char *number, char **abbrev_pointer, char **phone_pointer, char **name_pointer); int parse_secrets(char *number, char *remote_id, char **auth_pointer, char **crypt_pointer, char **key_pointer); char *parse_directory(char *number, int type); +struct caller_info; int parse_callbackauth(char *number, struct caller_info *callerinfo); void append_callbackauth(char *number, struct caller_info *callerinfo);