From 29224b5cce3353b67784ada08165ff9259a5bee1 Mon Sep 17 00:00:00 2001 From: pescuma Date: Thu, 21 Jan 2010 03:19:47 +0000 Subject: SIP: 0.1.3.0 * Fix for going online after connecting error * Fix for reconection crash + Added stun server to client API + Added list of hosts to client API git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@214 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Protocols/SIP/SIPClient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Protocols/SIP/SIPClient.h') diff --git a/Protocols/SIP/SIPClient.h b/Protocols/SIP/SIPClient.h index 1af9cb6..bbcb3ef 100644 --- a/Protocols/SIP/SIPClient.h +++ b/Protocols/SIP/SIPClient.h @@ -31,6 +31,7 @@ public: struct ta { pjsua_transport_id transport_id; pjsua_acc_id acc_id; + TCHAR host[256]; int port; }; @@ -42,7 +43,6 @@ public: void *callback_param; char name[512]; - TCHAR host[256]; CRITICAL_SECTION cs; std::vector events; @@ -61,7 +61,7 @@ public: int AnswerCall(pjsua_call_id call_id); int SendDTMF(pjsua_call_id call_id, TCHAR dtmf); - int Connect(int udp_port, int tcp_port, int tls_port); + int Connect(SIP_REGISTRATION *reg); void Disconnect(); private: -- cgit v1.2.3