Changeset 2913 for pjproject/trunk
- Timestamp:
- Aug 27, 2009 7:55:13 PM (15 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.symbian/pjlib.mmp
r2768 r2913 72 72 SOURCE os_timestamp_posix.c 73 73 SOURCE pool_policy_new.cpp 74 SOURCE ssl_sock_common.c 75 SOURCE ssl_sock_symbian.cpp 74 76 SOURCE sock_symbian.cpp 75 77 SOURCE sock_select_symbian.cpp -
pjproject/trunk/build.symbian/pjsip.mmp
r2873 r2913 52 52 SOURCE sip_transport_tcp.c 53 53 SOURCE sip_transport_udp.c 54 SOURCE sip_transport_tls.c 54 55 SOURCE sip_ua_layer.c 55 56 SOURCE sip_uri.c -
pjproject/trunk/build.symbian/symbian_ua.mmp
r2821 r2913 70 70 #endif 71 71 72 LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib commdb.lib apengine.lib 72 LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib commdb.lib apengine.lib securesocket.lib 73 73 74 74 // The default 8KB seems to be insufficient with all bells and -
pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp
r2781 r2913 36 36 // Destination URI (to make call, or to subscribe presence) 37 37 // 38 #define SIP_DST_URI " sip:100@pjsip.lab"38 #define SIP_DST_URI "<sip:100@pjsip.lab>" 39 39 40 40 // … … 53 53 54 54 // 55 // Set to 1 if TCP is desired (experimental) 56 // 57 #define ENABLE_SIP_TCP 0 55 // SIP transports 56 // 57 #define ENABLE_SIP_UDP 1 58 #define ENABLE_SIP_TCP 0 // experimental 59 #define ENABLE_SIP_TLS 0 // experimental 58 60 59 61 // … … 374 376 &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); 375 377 } 376 377 /* Add UDP transport. */378 379 378 380 pjsua_transport_config tcfg; 379 381 pjsua_transport_id tid; 380 382 383 #if ENABLE_SIP_UDP 384 /* Add UDP transport. */ 381 385 pjsua_transport_config_default(&tcfg); 382 386 tcfg.port = SIP_PORT; … … 387 391 return status; 388 392 } 389 393 #endif 394 395 #if ENABLE_SIP_TCP 390 396 /* Add TCP transport */ 391 #if ENABLE_SIP_TCP392 397 pjsua_transport_config_default(&tcfg); 393 398 tcfg.port = SIP_PORT; … … 395 400 if (status != PJ_SUCCESS) { 396 401 pjsua_perror(THIS_FILE, "Error creating TCP transport", status); 402 pjsua_destroy(); 403 return status; 404 } 405 #endif 406 407 #if ENABLE_SIP_TLS 408 /* Add TLS transport */ 409 pjsua_transport_config_default(&tcfg); 410 tcfg.port = SIP_PORT + 1; 411 status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid); 412 if (status != PJ_SUCCESS) { 413 pjsua_perror(THIS_FILE, "Error creating TLS transport", status); 397 414 pjsua_destroy(); 398 415 return status;
Note: See TracChangeset
for help on using the changeset viewer.