Hi Kristina, I have no sample for symbian_ua_gui, however it is already implemented in pjsua_app.c (for desktop), so you can refer to it (even copy/paste from it). The idea is simple: - create a port that will supply the ring tone frames, pjsua_app.c is using tonegen port (you may also use memplayer/fileplayer port). - add this port to the conference. - connect the port to port 0 (conf master port/sound device) when there is incoming call, see on_incoming_call() callback. - disconnect this port from port 0 when call is connected or disconnected, see on_call_state() and on_call_media_state() callback. Regards, nanang On 21/08/2008, Kristina Arik <kristinaarik at gmail.com> wrote: > Hello Nanang > I'm still stacked at to add ringtone with symbian_ua_gui. Please help me > out. > > > On 8/20/08, Kristina Arik <kristinaarik at gmail.com> wrote: > > > > > > @Nanang > > Thanks Nanang for your early response. > > Have you any sample code regarding Play Ring Tone to add it into > symbain_ua_gui? > > > > > > If someone have done this please you can share with me. > > > > > > > > > > On 8/19/08, Nanang Izzuddin <nanang at pjsip.org> wrote: > > > Hi Kristina, > > > > > > That sample app is too simple, sorry for that, however there are some > > > alternatives: > > > - see how pjsua (sample app for desktop platform) does that, and apply > > > that in symbian_ua_gui. > > > - use built-in audio player of Symbian API to play file as the ring > > > tone, e.g: CMdaAudioPlayerUtility, an advantage of this alternative is > > > you can easily change the ring tone by change the file to be played. > > > You can see pjsua app on desktop as reference of where and when to > > > start/stop. > > > > > > Regards, > > > nanang > > > > > > > > > On 19/08/2008, Kristina Arik <kristinaarik at gmail.com> wrote: > > > > Dear All > > > > How can i play a ring tone at the time of incomming call? I'm using > > > > symbain_ua_gui of pjsip. > > > > > > > > Thanks in advance. > > > > > > > > Regards > > > > Kristina > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > > > > > > > > > _______________________________________________ > 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 > >