X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=interface.h;h=40c89f6dac4abff7787edbff668dc3ba6e591f48;hp=cf1b1921d5b0113f9828d9867266526f4bdf1a2c;hb=49dd4be5b9955ad714e81bd0639875235c8894ef;hpb=f854931ffbee9464b278c433c4fdc7c3ea5af2fb diff --git a/interface.h b/interface.h index cf1b192..40c89f6 100644 --- a/interface.h +++ b/interface.h @@ -52,8 +52,6 @@ struct interface_port { int l1hold; /* hold layer 1 (1=on, 0=off) */ int l2hold; /* hold layer 2 (1=force, -1=disable, 0=default) */ 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 */ @@ -106,6 +104,9 @@ struct interface { char pipeline[256]; /* filter pipeline */ unsigned char bf_key[56]; /* filter blowfish */ int bf_len; /* filter length of blowfish */ + int remote; /* interface is a remote app interface */ + char remote_app[32]; /* name of remote application */ + char remote_context[128]; /* context feld to use for remote application */ #ifdef WITH_GSM_BS int gsm_bs; /* interface is an GSM BS interface */ #if 0 @@ -119,8 +120,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) */