diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-30 06:05:24 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-30 06:05:24 +0000 |
commit | 579bf3eb524d1001d5d786d0207568b487b60ba2 (patch) | |
tree | 0e259b81ca25c56f6ffc1f5241e770abae5bab1c /Protocols/SIP/SIPProto.h | |
parent | e9d52596afd12795a9f5533cefc783343996d686 (diff) |
sip:
+ Added info popups
+ Added SRTP option
- Remove TCP connection for protocol (everybody seems to use UDP/TLS only)
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@219 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/SIPProto.h')
-rw-r--r-- | Protocols/SIP/SIPProto.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Protocols/SIP/SIPProto.h b/Protocols/SIP/SIPProto.h index 889d633..bc3d11d 100644 --- a/Protocols/SIP/SIPProto.h +++ b/Protocols/SIP/SIPProto.h @@ -67,12 +67,13 @@ public: } proxy;
BYTE publish;
BYTE sendKeepAlive;
+ BYTE srtp;
} opts;
CRITICAL_SECTION cs;
std::vector<SIPEvent> events;
OptPageControl accountManagerCtrls[4];
- OptPageControl optionsCtrls[14];
+ OptPageControl optionsCtrls[15];
SIPProto(const char *aProtoName, const TCHAR *aUserName);
virtual ~SIPProto();
@@ -176,9 +177,11 @@ private: INT_PTR __cdecl CreateAccMgrUI(WPARAM wParam, LPARAM lParam);
void ConfigureDevices();
- void BuildTelURI(TCHAR *out, int outSize, const TCHAR *number);
- void BuildURI(TCHAR *out, int outSize, const TCHAR *user, const TCHAR *host = NULL, int port = 0, bool isTel = false);
+ void BuildTelURI(TCHAR *out, int outSize, const TCHAR *number, pjsip_transport_type_e transport = PJSIP_TRANSPORT_UDP);
+ void BuildURI(TCHAR *out, int outSize, const TCHAR *user, const TCHAR *host = NULL, int port = 0,
+ pjsip_transport_type_e transport = PJSIP_TRANSPORT_UDP, bool isTel = false);
void CleanupURI(TCHAR *out, int outSize, const TCHAR *url);
+ bool HasTransportEnabled(pjsip_transport_type_e transport);
// Voice services
void NotifyCall(pjsua_call_id call_id, int state, HANDLE hContact = NULL, TCHAR *name = NULL, TCHAR *number = NULL);
|