Hi Andrew, Thanks for the report. I just fixed this in r4052 (https://trac.pjsip.org/repos/changeset/4052). Best regards, Ming On Mon, Apr 16, 2012 at 5:27 AM, frogersik <frogersik at gmail.com> wrote: > hi all, > I found some error in pjsua but i can't fix it so i will try to describe > this: > > This problem is easy to reproduce: so, > 1. I try to make only audio call between two pjsua client, but on A client I > set only speex codecs (also turn off video), and on B side i set all other > without video, and speex (A client has different codecs than B have). > 2. And if i try to make call (A to B) I'm getting (if i correct remember) > 406 ?(not acceptable) response, how is good reaction, > 3. but when I try to make the second call (if i good remember B to A, or > maybe not) the call is confirmed but with no sound. > 4. I hung up call > 5. after this every next step ends with crash error on > pjproject\pjsip\src\pjsua-lib\pjsua_call.c->pjsua_call_get_info->info->role > = dlg->role; > > below I attach stack trace: > >> ? ?pjsua-i386-Win32-vc8-Debug.exe!pjsua_call_get_info(int call_id=0, >> pjsua_call_info * info=0x0012b6d0) ?Line 1501 + 0x6 bytes ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!keystroke_help() ?Line 3562 + 0x13 bytes > ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!console_app_main(const pj_str_t * > uri_to_call=0x007d06b4) ?Line 5362 ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!app_main() ?Line 6066 + 0xa bytes ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!main_func(int argc=10, char * * > argv=0x00e332c8) ?Line 101 ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!pj_run_app(int (int, char * *)* > main_func=0x00516e40, int argc=10, char * * argv=0x00e332c8, unsigned int > flags=0) ?Line 1455 + 0xb bytes ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!main(int argc=10, char * * > argv=0x00e332c8) ?Line 112 + 0x14 bytes ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!__tmainCRTStartup() ?Line 266 + 0x19 > bytes ? ?C > ? ? pjsua-i386-Win32-vc8-Debug.exe!mainCRTStartup() ?Line 182 ? ?C > ? ? kernel32.dll!7c817077() > ? ? [Frames below may be incorrect and/or missing, no symbols loaded for > kernel32.dll] > ? ? pjsua-i386-Win32-vc8-Debug.exe!mbstowcs(wchar_t * pwcs=0x72006300, const > char * s=0x5c007400, unsigned int n=1912632064) ?Line 194 + 0x16 bytes > ?C++ > ? ? 5c003600() > > p.s. I use last revision of pjsip project. > > Greetings > Andrew > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org