On Tue, Jan 13, 2009 at 3:52 AM, nitu dhanurved <nitudhanurved16 at gmail.com>wrote: > hi all, > > Few days ago i asked about the ring tone problem, still i am not > getting ring. i got answers also but i am not able to make that. can anyone > explain me plz how to add code for that. And i was looking for playfile > which is given in sample , but that one also giving me break point. what > should i do???? > i am posting my code what ever i am adding( with playfile) > > > > void CMFCDlg::ring() > { > status = pj_init(); > You are reinitializing PJLIB there, and that will wipe out current pjlib state. Since you are using PJSUA-LIB, why don't you use PJSUA API to play your ringback file? The pjsua sample containst the code to do this. -benny -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090114/d35699d9/attachment.html>