I have made the following changes intended for : CE:Apps / voicecall Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below.
https://build.pub.meego.com//request/show/7617 Thank You, tswindell [This message was auto-generated] --- Request # 7617: Messages from BOSS: State: review at 2013-01-09T13:36:50 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:tswindell:CE:Apps / voicecall -> CE:Apps / voicecall changes files: -------------- --- voicecall.changes +++ voicecall.changes @@ -0,0 +1,3 @@ +* Wed Jan 09 2013 Tom Swindell <[email protected]> - 0.3.2 +- Updates to NGF based ringtone handling + old: ---- voicecall-0.3.1.tar.gz new: ---- voicecall-0.3.2.tar.gz spec files: ----------- --- voicecall.spec +++ voicecall.spec @@ -1,6 +1,6 @@ Name: voicecall Summary: Voice Call Suite -Version: 0.3.1 +Version: 0.3.2 Release: 1 Group: Communications/Telephony and IM License: Apache License, Version 2.0 other changes: -------------- ++++++ voicecall-0.3.1.tar.gz -> voicecall-0.3.2.tar.gz --- plugins/ngf/src/ngfringtoneplugin.cpp +++ plugins/ngf/src/ngfringtoneplugin.cpp @@ -134,6 +134,7 @@ { TRACE Q_D(NgfRingtonePlugin); + DEBUG_T(QString("Voice call status changed to: ") + d->currentCall->statusText()); if(d->currentCall->status() != AbstractVoiceCallHandler::STATUS_INCOMING) { @@ -151,7 +152,12 @@ } else if(d->ringtoneEventId == -1) { QMap<QString, QVariant> props; props.insert("media.audio", true); - props.insert("file", "/usr/share/voicecall/sounds/ring-1.wav"); + + if(d->currentCall->provider()->providerType() != "tel") + { + props.insert("type", "voip"); + } + d->ringtoneEventId = d->ngf->play("ringtone", props); DEBUG_T(QString("Playing ringtone, event id: %1").arg(d->ringtoneEventId)); } @@ -163,7 +169,7 @@ Q_D(NgfRingtonePlugin); if(d->ringtoneEventId != -1) { - d->ngf->stop("ringtone"); + d->ngf->pause("ringtone"); d->ringtoneEventId = -1; } }
