Yes, I'm not using audio devices, sorry, I don't figure that in your case. I've pjsua_set_snd_dev in NULL. I'm making calls to a voip provider. My application is an automatic dialer that I'm using in an Elastix Server. So I register to the Elastix, then make a call and when the other party answer the call I play a message using rtp. In that case I don't need any audio devices, because the conversion to the PSTN is made by my voip provider. Bye Jose ----- Original Message ----- From: "Hans H?bner" <hans.huebner@xxxxxxxxx> To: "pjsip list" <pjsip at lists.pjsip.org> Sent: Monday, August 22, 2011 5:25 PM Subject: Re: pjsua and multiple calls > On Mon, Aug 22, 2011 at 10:21 PM, Jose Suarez <jsuarez at padirac.com.ar> > wrote: >> yes, un thread per call, but PJSUA driver all the events in only one >> thread. >> For example, if you make a call, the result of that call is capturate in >> one >> thread that manage all the calls of the system. > > Thank you for your patience! I still don't quite understand - Are you > using multiple threads or multiple processes? My original question > related to the pjsua_set_snd_dev() call that operates on the global > pjsua_var variable. If I understand what you write, you are multiple > threads within one process to handle multiple calls managed by PJSUA. > How does the media handling work in that configuration? Or are the > calls that you're using not using audio devices? > > Thanks, > Hans > > _______________________________________________ > 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