Adding basic SIP support, using Sofia-SIP stack
[lcr.git] / interface.h
index f271080..d9462ed 100644 (file)
@@ -100,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 */
@@ -110,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 {