X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=interface.h;h=d9462edd2aa57def9320f544adc0b546029de21f;hp=fba2cf217938eb15c94766232a5c2966ede469ae;hb=863bc6421940efe897dfd6d610e1f86ed9992cf6;hpb=b33d7b898dce4721b875c200513c493801d13b6a diff --git a/interface.h b/interface.h index fba2cf2..d9462ed 100644 --- a/interface.h +++ b/interface.h @@ -51,8 +51,16 @@ struct interface_port { int tespecial; /* special TE-mode behavior */ int l1hold; /* hold layer 1 (1=on, 0=off) */ int l2hold; /* hold layer 2 (1=force, -1=disable, 0=default) */ - int gsm; /* interface is an GSM interface */ +#ifdef WITH_GSM_BS + int gsm_bs; /* interface is an GSM BS interface */ +#endif +#ifdef WITH_GSM_MS + int gsm_ms; /* interface is an GSM MS interface */ + char gsm_ms_name[32]; /* name of ms */ +#endif unsigned int ss5; /* set, if SS5 signalling enabled, also holds feature bits */ + int remote; /* interface is a remote app interface */ + char remote_app[32]; /* name of remote application */ int channel_force; /* forces channel by protocol */ int nodtmf; /* disables DTMF */ struct select_channel *out_channel; /* list of channels to select */ @@ -92,6 +100,7 @@ struct interface { int extension; /* calls are handled as extension */ int is_tones; /* generate tones */ int is_earlyb; /* bridge tones during call setup */ + int shutdown; /* interface will not automatically be loaded */ int hunt; /* select algorithm */ int hunt_next; /* ifport index to start hunt */ struct interface_port *ifport; /* link to interface port list */ @@ -102,6 +111,12 @@ struct interface { char pipeline[256]; /* filter pipeline */ unsigned char bf_key[56]; /* filter blowfish */ int bf_len; /* filter length of blowfish */ +#ifdef WITH_SIP + int sip; /* interface is a SIP interface */ + char sip_local_ip[16]; + char sip_remote_ip[16]; + void *sip_inst; /* sip instance */ +#endif }; struct interface_param {