192 CPhoneSingleCall::HandleKeyMessageL( aMessage, aKeyCode ); |
192 CPhoneSingleCall::HandleKeyMessageL( aMessage, aKeyCode ); |
193 } |
193 } |
194 } |
194 } |
195 break; |
195 break; |
196 |
196 |
197 default: |
197 default: |
198 CPhoneSingleCall::HandleKeyMessageL( aMessage, aKeyCode ); |
198 CPhoneSingleCall::HandleKeyMessageL( aMessage, aKeyCode ); |
199 break; |
199 break; |
200 } |
200 } |
201 } |
201 } |
202 |
202 |
203 // ----------------------------------------------------------- |
203 // ----------------------------------------------------------- |
204 // CPhoneStateSingleVoIP::StartCallingL |
204 // CPhoneStateSingleVoIP::StartCallingL |
205 // ----------------------------------------------------------- |
205 // ----------------------------------------------------------- |
206 // |
206 // |
207 void CPhoneStateSingleVoIP::StartCallingL() |
207 void CPhoneStateSingleVoIP::StartCallingL() |
208 { |
208 { |
209 __LOGMETHODSTARTEND( PhoneUIVoIPExtension, |
209 __LOGMETHODSTARTEND( PhoneUIVoIPExtension, |
210 "CPhoneStateSingleVoIP::StartCallingL()" ) |
210 "CPhoneStateSingleVoIP::StartCallingL()" ) |
211 |
211 |
212 TUint serviceId( 0 ); |
212 TUint serviceId( 0 ); |
213 CPhoneStateUtilsVoip& utililty = StateUtils(); |
213 CPhoneStateUtilsVoip& utililty = StateUtils(); |
214 if ( utililty.IsVoipPreferredCall( serviceId ) ) |
214 if ( utililty.IsVoipPreferredCall( serviceId ) ) |
215 { |
215 { |
216 utililty.SelectServiceAndDialL( KNullDesC, serviceId ); |
216 utililty.SelectServiceAndDialL( KNullDesC, serviceId ); |
217 } |
217 } |
218 else |
218 else |
219 { |
219 { |
220 if ( utililty.IsVoipNumber() ) |
220 if ( utililty.IsVoipNumber() ) |
221 { |
221 { |
222 utililty.SelectServiceAndDialL(); |
222 utililty.SelectServiceAndDialL(); |
223 } |
223 } |
224 else |
224 else |
244 DialVoiceCallL(); |
244 DialVoiceCallL(); |
245 |
245 |
246 CleanupStack::PopAndDestroy( phoneNumber ); |
246 CleanupStack::PopAndDestroy( phoneNumber ); |
247 } |
247 } |
248 } |
248 } |
249 } |
249 } |
250 } |
250 } |
251 |
251 |
252 // ----------------------------------------------------------- |
252 // ----------------------------------------------------------- |
253 // CPhoneStateSingleVoIP::LaunchUnattendedTransferAcceptanceQueryL |
253 // CPhoneStateSingleVoIP::LaunchUnattendedTransferAcceptanceQueryL |
254 // Dialog is constructed based on S60 In-Call Operations UI Specification, |
254 // Dialog is constructed based on S60 In-Call Operations UI Specification, |
255 // Section 2.26. |
255 // Section 2.26. |