X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=interface.h;h=040c412166b7f5466a827c9367cd6a67fcd2976a;hp=4b624f36232e66b24de9a4bb6b91a05d83855ed1;hb=refs%2Fheads%2Fbackup2;hpb=155d3b5a1d18ea9563226b833b5099a2f4f153e0 diff --git a/interface.h b/interface.h index 4b624f3..040c412 100644 --- a/interface.h +++ b/interface.h @@ -66,7 +66,6 @@ struct interface_port { // int tout_hold; // int tout_park; int dialmax; /* maximum number of digits to dial */ - char tones_dir[128]; int nonotify; /* blocks outgoing notify messages */ int pots_flash; /* allow flash button / keypulse to hold active call */ int pots_ring; /* after hangup let calls on hold ring the phone */ @@ -105,6 +104,7 @@ struct interface { struct interface_screen *ifscreen_in; /* link to screening list */ struct interface_screen *ifscreen_out; /* link to screening list */ int tx_gain, rx_gain; /* filter gain */ + char tones_dir[128]; char pipeline[256]; /* filter pipeline */ unsigned char bf_key[56]; /* filter blowfish */ int bf_len; /* filter length of blowfish */ @@ -126,9 +126,23 @@ struct interface { #endif #ifdef WITH_SIP int sip; /* interface is a SIP interface */ - char sip_local_peer[32]; - char sip_remote_peer[32]; + char sip_local_peer[128]; + char sip_remote_peer[128]; + char sip_asserted_id[128]; + char sip_auth_user[128]; + char sip_auth_password[128]; + char sip_auth_realm[128]; + int sip_register; + char sip_register_user[128]; + char sip_register_host[128]; + int sip_register_interval; /* interval to register */ + int sip_options_interval; /* timer to keepalive invite/register transactions */ + char sip_public_ip[128]; + char sip_stun_server[128]; + int sip_stun_interval; /* timer to check own IP address */ void *sip_inst; /* sip instance */ + unsigned short rtp_port_from; + unsigned short rtp_port_to; #endif int rtp_bridge; /* bridge RTP directly (for calls comming from interface) */ };