Hi Alexei, It should have been fixed by ticket #699 (http://trac.pjsip.org/repos/ticket/699). Thanks for the report. Regards, nanang On Mon, Dec 15, 2008 at 8:56 PM, Alexei Kuznetsov <eofster at gmail.com> wrote: > Hi, > > I'm using PJSUA application from pjproject-1.0 on a Mac (Intel). If I > set --snd-auto-close=0 (or anything >= 0), then try to make a call, > and this call is DISCONNECTED without ever being CONFIRMED or without > 180 Ringing from another party, the application won't close sound > device. CPU usage will also be relatively high. I've got this result > calling any wrong sip address of calling a valid sip address, but > hanging up a call before another party answers it. > > For example, > > Make call: sip:wrong at sipaddress > 16:48:04.050 pjsua_media.c pjsua_set_snd_dev(): attempting to open > devices @16000 Hz > 16:48:04.562 ec0x2241e0 AEC created, clock_rate=16000, > channel=1, samples per frame=320, tail length=200 ms, latency=20 ms > 16:48:04.562 pjsua_call.c Making call with acc #1 to sip:wrong at sipaddress > 16:48:04.562 pjsua_media.c Media index 0 selected for call 1 > 16:48:09.576 sound_port.c EC suspended because of inactivity > 16:48:12.841 sip_resolve.c Failed to resolve 'sipaddress'. > Err=70018 (gethostbyname() has returned error (PJ_ERESOLVE)) > 16:48:12.841 tsx0x85ec64 Failed to send Request msg > INVITE/cseq=18741 (tdta0x85cc00)! err=70018 (gethostbyname() has > returned error (PJ_ERESOLVE)) > 16:48:12.841 pjsua_app.c Call 1 is DISCONNECTED [reason=503 > (gethostbyname() has returned error (PJ_ERESOLVE))] > 16:48:12.841 pjsua_app.c > [DISCONNCTD] To: sip:wrong at sipaddress > Call time: 00h:00m:00s, 1st res in 8279 ms, conn in 0ms > SRTP status: Not active Crypto-suite: (null) > 16:48:12.841 pjsua_call.c Unable to send initial INVITE request: > gethostbyname() has returned error (PJ_ERESOLVE) [status=70018] >>>> > > Any chances this will be fixed in future? > > Best regards, > Alexei > > _______________________________________________ > 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 >