Adding basic SIP support, using Sofia-SIP stack
[lcr.git] / interface.h
index eea6915..d9462ed 100644 (file)
@@ -57,8 +57,6 @@ struct interface_port {
 #ifdef WITH_GSM_MS
        int                     gsm_ms; /* interface is an GSM MS interface */
        char                    gsm_ms_name[32]; /* name of ms */
-       char                    gsm_ms_socket[128]; /* layer1 socket name */
-       char                    gsm_ms_service; /* see GSM_SERVICE_* */
 #endif
        unsigned int            ss5; /* set, if SS5 signalling enabled, also holds feature bits */
        int                     remote; /* interface is a remote app interface */
@@ -102,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 */
@@ -112,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 {