tuannv19 / idoubs

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

iDoubs doesn't send 'BYE' signal #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Hanging up the connection after a few seconds of calling (about 30-60 
seconds)

What is the expected output? What do you see instead?
The client needs to send a 'BYE' signal to the other calling client so it knows 
that the call is terminated.

When I click the hangup button on the device this is what shows up in my 
console:
2011-05-19 15:25:45.058 iDoubs[273:7703] [info] Code: 902 //SIP code for 
#tsip_event_code_dialog_terminating
2011-05-19 15:25:45.059 iDoubs[273:7703] [info] <DWCallSession: 0x5d4ba0> 
//This is the DWDialog baseSession
2011-05-19 15:25:45.060 iDoubs[273:7703] [info] Dialog terminating

And after this the application is showing these two errors for about ten times 
(repetitively). And continues with an #tsip_event_code_dialog_transport_error 
(702) and it returns an invalid session and terminates the connection so you 
need to register the user at the server again.

***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/nightfox/Dropbox/projects/iDoubs/../doubango/tinyNET/src/tnet_transport_
poll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/nightfox/Dropbox/projects/iDoubs/../doubango/tinyNET/src/tnet_transport_
poll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Can't assign requested address

What version of the product are you using? On what operating system?
Im using the latest version of the Doubango framework and it's running on iPad 
(4.3) or iPhone 4 (4.2)

Please provide any additional information below.

I've tested this with different sip servers but the problem remains in the 
application.
It's of at most importance that I can solve this problem (soon) but due to the 
lack of knowledge about the Doubango framework I don't know how to solve this 
problem. I'm tracking and tracing for the past two days.

Original issue reported on code.google.com by nightfox...@gmail.com on 19 May 2011 at 1:45

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 20 May 2011 at 3:54

GoogleCodeExporter commented 9 years ago
Fixed in iDoubs v2.x.
For more information on how to build iDoubs v2.x: 
http://code.google.com/p/idoubs/wiki/Building_iDoubs_v2_x

Original comment by boss...@yahoo.fr on 4 Jun 2011 at 6:18