Hi: I've successfully compliled the pjsua, but when I was trying to run the application, it gives me "can't open sound card" error, then I add the sound dev id parameter: ./pjsua --playback-dev=0 --capture-dev=0 but the app still complains: 15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @16000 Hz 15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @22050 Hz 15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @44100 Hz 15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @48000 Hz 15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @11025 Hz 15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @32000 Hz 15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @8000 Hz 15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID) 15:47:02.971 pjsua_media.c Unable to open sound device: Invalid sound device ID (PJMEDIA_ESNDINDEVID) [status=220202] 15:47:02.971 pjsua_core.c Shutting down... Then I tried ./pjsua --playback-dev=0 --capture-dev=0 It gives me the invalid sample rate error. Is there anyone can help me, thanks in advance. BR Feng ? ? ? ? 100 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080222/9c2a057c/attachment.html