hhxx1314 / idoubs

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

outgoing calls cause program to crash on iPhone #111

Closed GoogleCodeExporter closed 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. issue an out going call
2.
3.

What is the expected output? What do you see instead?
program just crashes. I see on the debugging that it crashes on the file: 
trtp_manager.c
on the following section (on the second "if"):

#if HAVE_SRTP
    static tsk_bool_t __strp_initialized = tsk_false;
    err_status_t srtp_err;
    if(!__strp_initialized){
        if((srtp_err = srtp_init()) != err_status_ok){
            TSK_DEBUG_ERROR("srtp_init() failed with error code = %d", srtp_err);
        }
        __strp_initialized = (srtp_err == err_status_ok);
    }
#endif 

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

Please provide any additional information below.
it possible to receive incoming calls, also both clients shows they are 
"connected"

Original issue reported on code.google.com by o...@rounds.com on 4 Jun 2012 at 9:06

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, I have found now that there is a known issue related to that problem, which 
says that this problem only happens on the simulator. I changed a relevant 
compilation flag, as suggested, and it does not crush on the above mentioned 
line, but it still does not issue the outgoing calls. it starts and ends 
immediately.
Any idea?...

Original comment by o...@rounds.com on 4 Jun 2012 at 12:02

GoogleCodeExporter commented 9 years ago
Update: found the problem (but not the solution): when issuing an outgoing call 
it looks like the the proxy is not taken in accout. I look on the wireshark and 
istead of requesting 103@192.*** it asks only for 103.
What can cause that?

Original comment by o...@rounds.com on 4 Jun 2012 at 1:51

Attachments:

GoogleCodeExporter commented 9 years ago
this it the log error that i get:
***ERROR: function: "tdav_session_audio_get()" 
file: 
"/Users/ofer/Desktop/mydoubs/iPhone/idoubs/branches/2.0/ios-ngn-stack/../../../.
./../doubango/branches/2.0/doubango/tinyDAV/src/audio/tdav_session_audio.c" 
line: "281" 
MSG: Not expected

Original comment by o...@rounds.com on 5 Jun 2012 at 8:01

GoogleCodeExporter commented 9 years ago
You should post wireshark trace instead of screenshots.
The "Not expected" error can be safely ignore. Make sure that you're using 
latest Doubango code.

Original comment by boss...@yahoo.fr on 8 Jun 2012 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 28 Jun 2012 at 3:53