Hi, On iPhone, the GSM function has more priority than the other fucntions. So when I receive a call, the application is suspended and resumed if the user declines the call. In these steps the sound must be stopped and restarted. With pjsip, I tried the solutions below but the result is not good :-( Could you tell me if my solution is correct: ? - to suspend : pjsua_set_no_snd_dev ? - to resume? : pjsua_set_snd_dev Before, I tried this ? - to suspend: pjmedia_snd_stream_stop, pjmedia_snd_stream_close ? - to resume : pjmedia_snd_open, pjmedia_snd_stream_start, ?But in my media implementation, I don't have stream information when I need to stop media stream. ?And the stream parameter of pjmedia_snd_open will be defined out of pjsua functions. Samuel Cr?ez votre adresse ?lectronique prenom.nom at laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int?gr?s. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081111/63832294/attachment.html>