Hi Mario This is expected based on how pjsua is implemented. You can manually use pjsua_set_snd_dev to init or open the sound device, perhaps for testing something when you start up your application. However it will also remain open and might cause conflicts with other sounds and notifications (depending on which platform you use). The way pjsua handles this is that the private function check_snd_dev_idle() is called after a call ends or a port is unplugged in the conf bridge. It then start the snd_auto_close timer you can set in the pjsua media config and if there are no active calls when the timer expires it calls close_snd_dev() (which is also private so you can not use it without patching pjsua). This is the reason it shuts down when you for instance end a call. I think you should revise why you want to call the set_snd_dev() during startup and then check the functions above for a workaround on how to make it shut down again. There are several functions in pjsua which might be of interest such as set_null_snd_dev() which probably solves your problem but it all depends on what you are truing to achieve. BR Johan ________________________________ Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n de correo electr?nico en el enlace situado m?s abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at: http://www.tid.es/ES/PAGINAS/disclaimer.aspx