Ring Tone in symbian_ua

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

 



Hi all.I'm trying to play a ring tone when an incomming call is there. I'm using the CMdaAudioPlayerUtility API and it just work fine the first time, i can hear a .wav audio file in the loudspeaker, but after I finish with this call, and there's a second incomming call my ring tone it's gone. I'm dong something like this:
_LIT(tono,"ring.wav");CPlayer *player = CPlayer::NewL(tono);  
//on_incoming_call callback....pjsua_call_answer(call_id, 180, NULL, NULL); 	 player->Play();....
//on_call_state callback......if (ci.state == PJSIP_INV_STATE_DISCONNECTED) { 	if (call_id == g_call_id){    	    g_call_id = -1;    	    player->Stop();    	}.....
Do you think i'm missing something? Is there any other better option to do this? I'm using VAS.
Thanks & Regards 		 	   		  
_________________________________________________________________
Prefiero un d?a sin coche que sin Messenger
www.vivirmessenger.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100224/36238dc3/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