summaryrefslogtreecommitdiff
path: root/Protocols/SIP/sip.cpp
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-12-26 19:38:35 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2009-12-26 19:38:35 +0000
commit9cb9a1aeaee41c199e23f94062098e0bec4b1866 (patch)
tree93a394886a695bf60c8d728385146a080ae81cd4 /Protocols/SIP/sip.cpp
parentfee31daf0c5470fdb8c1efe39bf934bc2e1463be (diff)
sip: improviments
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@195 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/sip.cpp')
-rw-r--r--Protocols/SIP/sip.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Protocols/SIP/sip.cpp b/Protocols/SIP/sip.cpp
index 96b9dea..1856aa8 100644
--- a/Protocols/SIP/sip.cpp
+++ b/Protocols/SIP/sip.cpp
@@ -209,6 +209,8 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
cfg.cb.on_call_media_state = &static_on_call_media_state;
cfg.cb.on_call_state = &static_on_call_state;
cfg.cb.on_reg_state = &static_on_reg_state;
+ cfg.stun_srv_cnt = 1;
+ cfg.stun_srv[0] = pj_str("stun01.sipphone.com");
pjsua_logging_config log_cfg;
pjsua_logging_config_default(&log_cfg);