diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 03:19:47 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-21 03:19:47 +0000 |
commit | 29224b5cce3353b67784ada08165ff9259a5bee1 (patch) | |
tree | bad59af2de509f2a653e6358a4f495a6acfa8e9f /Protocols/SIP/SIPClient.h | |
parent | 6622a1c224fab2c6299219b4e134a62f80880469 (diff) |
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
Diffstat (limited to 'Protocols/SIP/SIPClient.h')
-rw-r--r-- | Protocols/SIP/SIPClient.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<SIPEvent> 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:
|