Ring tone(yet not solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux