Changeset 1526 for pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp
- Timestamp:
- Oct 26, 2007 5:35:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp
r1417 r1526 58 58 // 59 59 // STUN server 60 #if 060 #if 1 61 61 // Use this to have the STUN server resolved normally 62 62 # define STUN_DOMAIN NULL … … 217 217 218 218 219 /* NAT detection result */ 220 static void on_nat_detect(const pj_stun_nat_detect_result *res) 221 { 222 if (res->status != PJ_SUCCESS) { 223 pjsua_perror(THIS_FILE, "NAT detection failed", res->status); 224 } else { 225 PJ_LOG(3, (THIS_FILE, "NAT detected as %s", res->nat_type_name)); 226 } 227 } 228 219 229 /* Notification that call is being replaced. */ 220 230 static void on_call_replaced(pjsua_call_id old_call_id, … … 283 293 cfg.cb.on_call_transfer_status = &on_call_transfer_status; 284 294 cfg.cb.on_call_replaced = &on_call_replaced; 285 295 cfg.cb.on_nat_detect = &on_nat_detect; 296 286 297 if (SIP_PROXY) { 287 298 cfg.outbound_proxy_cnt = 1;
Note: See TracChangeset
for help on using the changeset viewer.