songkailei / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

Network change error when 3G enabled #190

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
1.Registered App on 3G
2.Disbaled 3G
3.Enable 3G and lot of errors shown bellow

What is the expected output? What do you see instead?

What version of the product or source code revision are you using? On what
operating system?

Please provide any additional information below.

Errors in console :

2015-03-08 13:53:05.927 CloudConnect[8242:1075473] NgnSipService///: register()
2015-03-08 13:53:05.927 CloudConnect[8242:1075473] NgnSipService///: 
realm='MY_SERVER', impu='sip:1123@82.145.60.112:7060', impi='1123'
2015-03-08 13:53:05.928 CloudConnect[8242:1075473] NgnSipService///: STUN2 - 
server=stun.zoiper.com and port=3478
2015-03-08 13:53:05.930 CloudConnect[8242:1075473] NgnSipService///: 
pcscf-host='MY_SERVER', pcscf-port='7060', transport='udp', ipversion='ipv4'
2015-03-08 13:53:05.930 CloudConnect[8242:1075473] NgnSipService///: 
srtpMode=0, srtpType=0
*INFO: Stack running in CLIENT mode
*INFO: tsk_timer_manager_start
*INFO: Timer manager run()::enter
*INFO: TIMER MANAGER -- START
*INFO: Proxy-CSCF=[82.145.60.112]:7060
*INFO: SIP STACK::run -- START
***ERROR: function: "tnet_socket_create_2()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_socket.c" 
line: "161" 
MSG: bind to [10.4.240.59:0]have failed
***ERROR: function: "tnet_socket_create_2()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_socket.c" 
line: "161" 
MSG: (SYSTEM)NETWORK ERROR ==>Can't assign requested address
*INFO: CloseSocket(13)
***ERROR: function: "tnet_socket_create_2()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_socket.c" 
line: "188" 
MSG: Invalid socket.
***ERROR: function: "tnet_socket_create_2()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_socket.c" 
line: "188" 
MSG: (SYSTEM)NETWORK ERROR ==>Can't assign requested address
***ERROR: function: "tnet_transport_create()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_transport.c" 
line: "155" 
MSG: Failed to create master socket
*INFO: *** Transport (SIP transport) destroyed ***
***ERROR: function: "_tnet_transport_ssl_init()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_transport.c" 
line: "58" 
MSG: Invalid parameter
***ERROR: function: "tnet_transport_create()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinyNET/src/tnet_transport.c" 
line: "160" 
MSG: Failed to initialize TLS and/or DTLS caps
***ERROR: function: "tsk_runnable_set_priority()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinySAK/src/tsk_runnable.c" 
line: "182" 
MSG: Invalid parameter
***ERROR: function: "tsip_stack_start()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/doubango/branches/2.0/doubango
/tinySIP/src/tsip.c" 
line: "768" 
MSG: Failed to add new transport
***ERROR: function: "OnStackEvent()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/iPhone/idoubs/branches/2.0/com
mon-ngn-stack/services/impl/NgnSipService.mm" 
line: "386" 
MSG: Failed to start the stack. 
Additional info:
Failed to add new transport
*INFO: SIP STACK::run -- STOP
***ERROR: function: "-[NgnSipService registerIdentity]()" 
file: 
"/Users/mimraniqbal/Documents/Development/mydoubs/iPhone/idoubs/branches/2.0/com
mon-ngn-stack/services/impl/NgnSipService.mm" 
line: "1164" 
MSG: Failed to start the SIP stack

Original issue reported on code.google.com by mimran.i...@gmail.com on 8 Mar 2015 at 8:58