work on asterisk channel driver
[lcr.git] / extension.h
index 692906e..4672637 100644 (file)
@@ -130,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 */
@@ -139,8 +139,8 @@ 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 */
@@ -162,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;
@@ -185,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);