Allow setting IP:port for peers of SIP interfaces.
[lcr.git] / interface.h
index 93fb1b6..a310a92 100644 (file)
@@ -108,6 +108,10 @@ struct interface {
        int                     bf_len; /* filter length of blowfish */
 #ifdef WITH_GSM_BS
        int                     gsm_bs; /* interface is an GSM BS interface */
+#if 0
+       int                     gsm_bs_payloads;
+       unsigned char           gsm_bs_payload_types[8];
+#endif
 #endif
 #ifdef WITH_GSM_MS
        int                     gsm_ms; /* interface is an GSM MS interface */
@@ -115,8 +119,8 @@ struct interface {
 #endif
 #ifdef WITH_SIP
        int                     sip; /* interface is a SIP interface */
-       char                    sip_local_ip[16];
-       char                    sip_remote_ip[16];
+       char                    sip_local_peer[32];
+       char                    sip_remote_peer[32];
        void                    *sip_inst; /* sip instance */
 #endif
        int                     rtp_bridge; /* bridge RTP directly (for calls comming from interface) */