24
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
#include "ccallcontrolmultipartydispatcher.h"
|
|
17 |
|
|
18 |
#include <ctsy/ltsy/mltsydispatchcallcontrolmultipartyinterface.h>
|
|
19 |
#include <ctsy/pluginapi/mmmessagemanagercallback.h>
|
|
20 |
|
|
21 |
#include <ctsy/ltsy/ltsylogger.h>
|
|
22 |
#include "ctsydispatcherpanic.h"
|
|
23 |
#include "tdispatcherholder.h"
|
|
24 |
|
|
25 |
CCallControlMultipartyDispatcher::CCallControlMultipartyDispatcher(
|
|
26 |
MLtsyDispatchFactoryV1& aLtsyFactory,
|
|
27 |
MmMessageManagerCallback& aMessageManagerCallback,
|
|
28 |
CRequestQueueOneShot& aRequestAsyncOneShot)
|
|
29 |
: iLtsyFactoryV1(aLtsyFactory),
|
|
30 |
iMessageManagerCallback(aMessageManagerCallback),
|
|
31 |
iRequestAsyncOneShot(aRequestAsyncOneShot)
|
|
32 |
{
|
|
33 |
} // CCallControlMultipartyDispatcher::CCallControlMultipartyDispatcher
|
|
34 |
|
|
35 |
|
|
36 |
CCallControlMultipartyDispatcher::~CCallControlMultipartyDispatcher()
|
|
37 |
{
|
|
38 |
} // CCallControlMultipartyDispatcher::~CCallControlMultipartyDispatcher
|
|
39 |
|
|
40 |
|
|
41 |
CCallControlMultipartyDispatcher* CCallControlMultipartyDispatcher::NewLC(
|
|
42 |
MLtsyDispatchFactoryV1& aLtsyFactory,
|
|
43 |
MmMessageManagerCallback& aMessageManagerCallback,
|
|
44 |
CRequestQueueOneShot& aRequestAsyncOneShot)
|
|
45 |
{
|
|
46 |
TSYLOGENTRYEXIT;
|
|
47 |
CCallControlMultipartyDispatcher* self =
|
|
48 |
new (ELeave) CCallControlMultipartyDispatcher(aLtsyFactory, aMessageManagerCallback, aRequestAsyncOneShot);
|
|
49 |
CleanupStack::PushL(self);
|
|
50 |
self->ConstructL();
|
|
51 |
return self;
|
|
52 |
} // CCallControlMultipartyDispatcher::NewLC
|
|
53 |
|
|
54 |
|
|
55 |
CCallControlMultipartyDispatcher* CCallControlMultipartyDispatcher::NewL(
|
|
56 |
MLtsyDispatchFactoryV1& aLtsyFactory,
|
|
57 |
MmMessageManagerCallback& aMessageManagerCallback,
|
|
58 |
CRequestQueueOneShot& aRequestAsyncOneShot)
|
|
59 |
{
|
|
60 |
TSYLOGENTRYEXIT;
|
|
61 |
CCallControlMultipartyDispatcher* self =
|
|
62 |
CCallControlMultipartyDispatcher::NewLC(aLtsyFactory, aMessageManagerCallback, aRequestAsyncOneShot);
|
|
63 |
CleanupStack::Pop (self);
|
|
64 |
return self;
|
|
65 |
} // CCallControlMultipartyDispatcher::NewL
|
|
66 |
|
|
67 |
|
|
68 |
void CCallControlMultipartyDispatcher::ConstructL()
|
|
69 |
/**
|
|
70 |
* Second phase constructor.
|
|
71 |
*/
|
|
72 |
{
|
|
73 |
TSYLOGENTRYEXIT;
|
|
74 |
|
|
75 |
// Get the Licensee LTSY interfaces related to CallControlMultiparty functionality
|
|
76 |
// from the factory
|
|
77 |
|
|
78 |
|
|
79 |
if(iLtsyFactoryV1.IsDispatchInterfaceSupported(KDispatchCallControlMultipartyFuncUnitId, MLtsyDispatchCallControlMultipartyConferenceHangUp::KLtsyDispatchCallControlMultipartyConferenceHangUpApiId))
|
|
80 |
{
|
|
81 |
TAny* conferenceHangUpInterface = NULL;
|
|
82 |
iLtsyFactoryV1.GetDispatchHandler(
|
|
83 |
MLtsyDispatchCallControlMultipartyConferenceHangUp::KLtsyDispatchCallControlMultipartyConferenceHangUpApiId,
|
|
84 |
conferenceHangUpInterface);
|
|
85 |
iLtsyDispatchCallControlMultipartyConferenceHangUp =
|
|
86 |
static_cast<MLtsyDispatchCallControlMultipartyConferenceHangUp*>(conferenceHangUpInterface);
|
|
87 |
__ASSERT_DEBUG(iLtsyDispatchCallControlMultipartyConferenceHangUp, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
88 |
}
|
|
89 |
|
|
90 |
if(iLtsyFactoryV1.IsDispatchInterfaceSupported(KDispatchCallControlMultipartyFuncUnitId, MLtsyDispatchCallControlMultipartyConferenceAddCall::KLtsyDispatchCallControlMultipartyConferenceAddCallApiId))
|
|
91 |
{
|
|
92 |
TAny* conferenceAddCallInterface = NULL;
|
|
93 |
iLtsyFactoryV1.GetDispatchHandler(
|
|
94 |
MLtsyDispatchCallControlMultipartyConferenceAddCall::KLtsyDispatchCallControlMultipartyConferenceAddCallApiId,
|
|
95 |
conferenceAddCallInterface);
|
|
96 |
iLtsyDispatchCallControlMultipartyConferenceAddCall =
|
|
97 |
static_cast<MLtsyDispatchCallControlMultipartyConferenceAddCall*>(conferenceAddCallInterface);
|
|
98 |
__ASSERT_DEBUG(iLtsyDispatchCallControlMultipartyConferenceAddCall, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
99 |
}
|
|
100 |
|
|
101 |
if(iLtsyFactoryV1.IsDispatchInterfaceSupported(KDispatchCallControlMultipartyFuncUnitId, MLtsyDispatchCallControlMultipartyCreateConference::KLtsyDispatchCallControlMultipartyCreateConferenceApiId))
|
|
102 |
{
|
|
103 |
TAny* createConferenceInterface = NULL;
|
|
104 |
iLtsyFactoryV1.GetDispatchHandler(
|
|
105 |
MLtsyDispatchCallControlMultipartyCreateConference::KLtsyDispatchCallControlMultipartyCreateConferenceApiId,
|
|
106 |
createConferenceInterface);
|
|
107 |
iLtsyDispatchCallControlMultipartyCreateConference =
|
|
108 |
static_cast<MLtsyDispatchCallControlMultipartyCreateConference*>(createConferenceInterface);
|
|
109 |
__ASSERT_DEBUG(iLtsyDispatchCallControlMultipartyCreateConference, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
110 |
}
|
|
111 |
|
|
112 |
if(iLtsyFactoryV1.IsDispatchInterfaceSupported(KDispatchCallControlMultipartyFuncUnitId, MLtsyDispatchCallControlMultipartyConferenceSwap::KLtsyDispatchCallControlMultipartyConferenceSwapApiId))
|
|
113 |
{
|
|
114 |
TAny* conferenceSwapInterface = NULL;
|
|
115 |
iLtsyFactoryV1.GetDispatchHandler(
|
|
116 |
MLtsyDispatchCallControlMultipartyConferenceSwap::KLtsyDispatchCallControlMultipartyConferenceSwapApiId,
|
|
117 |
conferenceSwapInterface);
|
|
118 |
iLtsyDispatchCallControlMultipartyConferenceSwap =
|
|
119 |
static_cast<MLtsyDispatchCallControlMultipartyConferenceSwap*>(conferenceSwapInterface);
|
|
120 |
__ASSERT_DEBUG(iLtsyDispatchCallControlMultipartyConferenceSwap, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
121 |
}
|
|
122 |
|
|
123 |
if(iLtsyFactoryV1.IsDispatchInterfaceSupported(KDispatchCallControlMultipartyFuncUnitId, MLtsyDispatchCallControlMultipartyConferenceGoOneToOne::KLtsyDispatchCallControlMultipartyConferenceGoOneToOneApiId))
|
|
124 |
{
|
|
125 |
TAny* conferenceGoOneToOneInterface = NULL;
|
|
126 |
iLtsyFactoryV1.GetDispatchHandler(
|
|
127 |
MLtsyDispatchCallControlMultipartyConferenceGoOneToOne::KLtsyDispatchCallControlMultipartyConferenceGoOneToOneApiId,
|
|
128 |
conferenceGoOneToOneInterface);
|
|
129 |
iLtsyDispatchCallControlMultipartyConferenceGoOneToOne =
|
|
130 |
static_cast<MLtsyDispatchCallControlMultipartyConferenceGoOneToOne*>(conferenceGoOneToOneInterface);
|
|
131 |
__ASSERT_DEBUG(iLtsyDispatchCallControlMultipartyConferenceGoOneToOne, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
132 |
}
|
|
133 |
} // CCallControlMultipartyDispatcher::ConstructL
|
|
134 |
|
|
135 |
void CCallControlMultipartyDispatcher::SetDispatcherHolder(TDispatcherHolder& aDispatcherHolder)
|
|
136 |
/**
|
|
137 |
* Set the dispatcher holder.
|
|
138 |
*
|
|
139 |
* @param aDispatcherHolder Reference to dispatcher holder.
|
|
140 |
*/
|
|
141 |
{
|
|
142 |
TSYLOGENTRYEXIT;
|
|
143 |
|
|
144 |
iDispatcherHolder = &aDispatcherHolder;
|
|
145 |
} // CCallControlMultipartyDispatcher::SetDispatcherHolder
|
|
146 |
|
|
147 |
TInt CCallControlMultipartyDispatcher::DispatchConferenceHangUpL(const CMmDataPackage* aDataPackage)
|
|
148 |
/**
|
|
149 |
* Unpack data related to EMobileConferenceCallHangUp
|
|
150 |
* and pass request on to Licensee LTSY.
|
|
151 |
*
|
|
152 |
* @return Returns error code returned by the Licensee LTSY or KErrNotSupported if
|
|
153 |
* the Licensee LTSY does not support this request.
|
|
154 |
*/
|
|
155 |
{
|
|
156 |
TSYLOGENTRYEXIT;
|
|
157 |
TInt ret = KErrNotSupported;
|
|
158 |
|
|
159 |
__ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
160 |
|
|
161 |
// Call Handle... method in Licensee LTSY
|
|
162 |
if (iLtsyDispatchCallControlMultipartyConferenceHangUp)
|
|
163 |
{
|
|
164 |
RArray<TInt>* pCallIds = NULL;
|
|
165 |
aDataPackage->UnPackData(&pCallIds);
|
|
166 |
ret = iLtsyDispatchCallControlMultipartyConferenceHangUp->HandleConferenceHangUpReqL(*pCallIds);
|
|
167 |
}
|
|
168 |
|
|
169 |
return TSYLOGSETEXITERR(ret);
|
|
170 |
} // CCallControlMultipartyDispatcher::DispatchConferenceHangUpL
|
|
171 |
|
|
172 |
TInt CCallControlMultipartyDispatcher::DispatchConferenceAddCallL(const CMmDataPackage* aDataPackage)
|
|
173 |
/**
|
|
174 |
* Unpack data related to EMobileConferenceCallAddCall
|
|
175 |
* and pass request on to Licensee LTSY.
|
|
176 |
*
|
|
177 |
* @return Returns error code returned by the Licensee LTSY or KErrNotSupported if
|
|
178 |
* the Licensee LTSY does not support this request.
|
|
179 |
*/
|
|
180 |
{
|
|
181 |
TSYLOGENTRYEXIT;
|
|
182 |
TInt ret = KErrNotSupported;
|
|
183 |
|
|
184 |
__ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
185 |
|
|
186 |
// Call Handle... method in Licensee LTSY
|
|
187 |
if (iLtsyDispatchCallControlMultipartyConferenceAddCall)
|
|
188 |
{
|
|
189 |
TInt callId;
|
|
190 |
RMobilePhone::TMobileService mode;
|
|
191 |
const CCallDataPackage& callDataPackage = *static_cast<const CCallDataPackage*>(aDataPackage);
|
|
192 |
callDataPackage.GetCallIdAndMode(callId, mode);
|
|
193 |
TInt existingCallId;
|
|
194 |
callDataPackage.UnPackData(existingCallId);
|
|
195 |
|
|
196 |
ret = iLtsyDispatchCallControlMultipartyConferenceAddCall->HandleConferenceAddCallReqL(callId, existingCallId);
|
|
197 |
}
|
|
198 |
|
|
199 |
return TSYLOGSETEXITERR(ret);
|
|
200 |
} // CCallControlMultipartyDispatcher::DispatchConferenceAddCallL
|
|
201 |
|
|
202 |
TInt CCallControlMultipartyDispatcher::DispatchCreateConferenceL(const CMmDataPackage* aDataPackage)
|
|
203 |
/**
|
|
204 |
* Unpack data related to EMobileConferenceCallCreateConference
|
|
205 |
* and pass request on to Licensee LTSY.
|
|
206 |
*
|
|
207 |
* @return Returns error code returned by the Licensee LTSY or KErrNotSupported if
|
|
208 |
* the Licensee LTSY does not support this request.
|
|
209 |
*/
|
|
210 |
{
|
|
211 |
TSYLOGENTRYEXIT;
|
|
212 |
TInt ret = KErrNotSupported;
|
|
213 |
|
|
214 |
__ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
215 |
|
|
216 |
// Call Handle... method in Licensee LTSY
|
|
217 |
if (iLtsyDispatchCallControlMultipartyCreateConference)
|
|
218 |
{
|
|
219 |
TInt heldCallId;
|
|
220 |
TInt secondCallId;
|
|
221 |
RMobilePhone::TMobileService mode;
|
|
222 |
const CCallDataPackage& callDataPackage = *static_cast<const CCallDataPackage*>(aDataPackage);
|
|
223 |
callDataPackage.GetCallIdAndMode(heldCallId, mode);
|
|
224 |
callDataPackage.UnPackData(secondCallId);
|
|
225 |
|
|
226 |
ret = iLtsyDispatchCallControlMultipartyCreateConference->HandleCreateConferenceReqL(heldCallId, secondCallId);
|
|
227 |
}
|
|
228 |
|
|
229 |
return TSYLOGSETEXITERR(ret);
|
|
230 |
} // CCallControlMultipartyDispatcher::DispatchCreateConferenceL
|
|
231 |
|
|
232 |
TInt CCallControlMultipartyDispatcher::DispatchConferenceSwapL(const CMmDataPackage* aDataPackage)
|
|
233 |
/**
|
|
234 |
* Unpack data related to EMobileConferenceCallSwap
|
|
235 |
* and pass request on to Licensee LTSY.
|
|
236 |
*
|
|
237 |
* @return Returns error code returned by the Licensee LTSY or KErrNotSupported if
|
|
238 |
* the Licensee LTSY does not support this request.
|
|
239 |
*/
|
|
240 |
{
|
|
241 |
TSYLOGENTRYEXIT;
|
|
242 |
TInt ret = KErrNotSupported;
|
|
243 |
|
|
244 |
__ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
245 |
|
|
246 |
// Call Handle... method in Licensee LTSY
|
|
247 |
if (iLtsyDispatchCallControlMultipartyConferenceSwap)
|
|
248 |
{
|
|
249 |
TInt callId;
|
|
250 |
TInt heldCallId;
|
|
251 |
TInt connectedCallId;
|
|
252 |
RMobilePhone::TMobileService mode;
|
|
253 |
const CCallDataPackage& callDataPackage = *static_cast<const CCallDataPackage*>(aDataPackage);
|
|
254 |
callDataPackage.GetCallIdAndMode(callId, mode);
|
|
255 |
callDataPackage.UnPackData(heldCallId, connectedCallId);
|
|
256 |
ret = iLtsyDispatchCallControlMultipartyConferenceSwap->HandleConferenceSwapReqL(heldCallId, connectedCallId);
|
|
257 |
}
|
|
258 |
|
|
259 |
return TSYLOGSETEXITERR(ret);
|
|
260 |
} // CCallControlMultipartyDispatcher::DispatchConferenceSwapL
|
|
261 |
|
|
262 |
TInt CCallControlMultipartyDispatcher::DispatchConferenceGoOneToOneL(const CMmDataPackage* aDataPackage)
|
|
263 |
/**
|
|
264 |
* Unpack data related to EMobileCallGoOneToOne
|
|
265 |
* and pass request on to Licensee LTSY.
|
|
266 |
*
|
|
267 |
* @return Returns error code returned by the Licensee LTSY or KErrNotSupported if
|
|
268 |
* the Licensee LTSY does not support this request.
|
|
269 |
*
|
|
270 |
*
|
|
271 |
*/
|
|
272 |
{
|
|
273 |
TSYLOGENTRYEXIT;
|
|
274 |
TInt ret = KErrNotSupported;
|
|
275 |
|
|
276 |
__ASSERT_DEBUG(aDataPackage, CtsyDispatcherPanic(EInvalidNullPtr));
|
|
277 |
|
|
278 |
// Call Handle... method in Licensee LTSY
|
|
279 |
if (iLtsyDispatchCallControlMultipartyConferenceGoOneToOne)
|
|
280 |
{
|
|
281 |
TInt callId;
|
|
282 |
RMobilePhone::TMobileService mode;
|
|
283 |
const CCallDataPackage& callDataPackage = *static_cast<const CCallDataPackage*>(aDataPackage);
|
|
284 |
callDataPackage.GetCallIdAndMode(callId, mode);
|
|
285 |
ret = iLtsyDispatchCallControlMultipartyConferenceGoOneToOne->HandleConferenceGoOneToOneReqL(callId);
|
|
286 |
}
|
|
287 |
|
|
288 |
return TSYLOGSETEXITERR(ret);
|
|
289 |
} // CCallControlMultipartyDispatcher::DispatchConferenceGoOneToOneL
|
|
290 |
|
|
291 |
|
|
292 |
//
|
|
293 |
// Callback handlers follow
|
|
294 |
//
|
|
295 |
|
|
296 |
void CCallControlMultipartyDispatcher::CallbackConferenceHangUp(TInt aError)
|
|
297 |
/**
|
|
298 |
* Callback function to be used by the request to complete
|
|
299 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceHangUpComp()
|
|
300 |
*
|
|
301 |
* @param aError The error code to be returned to the CTSY Dispatcher.
|
|
302 |
*/
|
|
303 |
{
|
|
304 |
TSYLOGENTRYEXITARGS(_L8("aError=%d"), aError);
|
|
305 |
|
|
306 |
// Only need to complete IPC to CTSY on a failure because
|
|
307 |
// call status change notifications (to idle) will signify that the
|
|
308 |
// conference has been hung up.
|
|
309 |
if (aError != KErrNone)
|
|
310 |
{
|
|
311 |
iMessageManagerCallback.Complete(EMobileConferenceCallHangUp, aError);
|
|
312 |
}
|
|
313 |
|
|
314 |
} // CCallControlMultipartyDispatcher::CallbackConferenceHangUp
|
|
315 |
|
|
316 |
void CCallControlMultipartyDispatcher::CallbackConferenceAddCall(TInt aError)
|
|
317 |
/**
|
|
318 |
* Callback function to be used by the request to complete
|
|
319 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceAddCallComp()
|
|
320 |
*
|
|
321 |
* @param aError The error code to be returned to the CTSY Dispatcher.
|
|
322 |
*
|
|
323 |
*/
|
|
324 |
{
|
|
325 |
TSYLOGENTRYEXITARGS(_L8("aError=%d"), aError);
|
|
326 |
|
|
327 |
// Only complete failure to CTSY. Success is indicated by change in call
|
|
328 |
// status via mobile call status change notifications.
|
|
329 |
if (aError != KErrNone)
|
|
330 |
{
|
|
331 |
iMessageManagerCallback.Complete(EMobileConferenceCallAddCall, aError);
|
|
332 |
}
|
|
333 |
|
|
334 |
} // CCallControlMultipartyDispatcher::CallbackConferenceAddCall
|
|
335 |
|
|
336 |
void CCallControlMultipartyDispatcher::CallbackCreateConference(TInt aError)
|
|
337 |
/**
|
|
338 |
* Callback function to be used by the request to complete
|
|
339 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyCreateConferenceComp()
|
|
340 |
*
|
|
341 |
* @param aError The error code to be returned to the CTSY Dispatcher.
|
|
342 |
*/
|
|
343 |
{
|
|
344 |
TSYLOGENTRYEXITARGS(_L8("aError=%d"), aError);
|
|
345 |
|
|
346 |
// Only complete IPC back to CTSY in the case of an error.
|
|
347 |
// If the create conference request was made successfully, CTSY will be
|
|
348 |
// notified of successful completion of this request when the call statuses
|
|
349 |
// of the calls in the conference call change.
|
|
350 |
if (aError != KErrNone)
|
|
351 |
{
|
|
352 |
iMessageManagerCallback.Complete(EMobileConferenceCallCreateConference, aError);
|
|
353 |
}
|
|
354 |
|
|
355 |
} // CCallControlMultipartyDispatcher::CallbackCreateConference
|
|
356 |
|
|
357 |
void CCallControlMultipartyDispatcher::CallbackConferenceSwap(TInt aError)
|
|
358 |
/**
|
|
359 |
* Callback function to be used by the request to complete
|
|
360 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceSwapComp().
|
|
361 |
*
|
|
362 |
* @param aError The error code to be returned to the CTSY Dispatcher.
|
|
363 |
*
|
|
364 |
*/
|
|
365 |
{
|
|
366 |
TSYLOGENTRYEXITARGS(_L8("aError=%d"), aError);
|
|
367 |
|
|
368 |
// Only complete IPC back to CTSY in the case of an error.
|
|
369 |
// If the swap request was made successfully, CTSY will be
|
|
370 |
// notified of successful completion of this request when the call statuses
|
|
371 |
// of the calls in the conference call change.
|
|
372 |
if (aError != KErrNone)
|
|
373 |
{
|
|
374 |
iMessageManagerCallback.Complete(EMobileConferenceCallSwap, aError);
|
|
375 |
}
|
|
376 |
|
|
377 |
} // CCallControlMultipartyDispatcher::CallbackConferenceSwap
|
|
378 |
|
|
379 |
void CCallControlMultipartyDispatcher::CallbackConferenceGoOneToOne(TInt aError, TInt aCallId)
|
|
380 |
/**
|
|
381 |
* Callback function to be used by the request to complete
|
|
382 |
* CCtsyDispatcherCallback::CallbackCallControlMultipartyConferenceGoOneToOneComp()
|
|
383 |
*
|
|
384 |
* @param aError The error code to be returned to the CTSY Dispatcher.
|
|
385 |
*
|
|
386 |
* @param aCallId The Call ID to which the One-To-One request refers.
|
|
387 |
*/
|
|
388 |
{
|
|
389 |
TSYLOGENTRYEXITARGS(_L8("aError=%d, aCallId=%d"), aError, aCallId);
|
|
390 |
|
|
391 |
if (aError != KErrNone)
|
|
392 |
{
|
|
393 |
CCallDataPackage dataPackage;
|
|
394 |
dataPackage.SetCallIdAndMode(aCallId, RMobilePhone::EServiceUnspecified);
|
|
395 |
iMessageManagerCallback.Complete(EMobileCallGoOneToOne, &dataPackage, aError);
|
|
396 |
}
|
|
397 |
|
|
398 |
} // CCallControlMultipartyDispatcher::CallbackConferenceGoOneToOne
|
|
399 |
|
|
400 |
|
|
401 |
|
|
402 |
void CCallControlMultipartyDispatcher::CallbackSync(CRequestQueueOneShot::TIpcDataPackage& aIpcDataPackage)
|
|
403 |
/**
|
|
404 |
* Part of the MDispatcherCallback interface. Used to complete requests handled
|
|
405 |
* synchronously by the Licensee LTSY asynchronously back to the Common TSY.
|
|
406 |
*
|
|
407 |
* @param aIpcDataPackage Package encapsulating the request.
|
|
408 |
*
|
|
409 |
* @see MDispatcherCallback::CallbackSync
|
|
410 |
*/
|
|
411 |
{
|
|
412 |
TSYLOGENTRYEXIT;
|
|
413 |
|
|
414 |
switch (aIpcDataPackage.iIpc)
|
|
415 |
{
|
|
416 |
|
|
417 |
default:
|
|
418 |
LOG(_L8("WARNING: CCallControlMultipartyDispatcher::CallbackSync unhandled IPC=%d"), aIpcDataPackage.iIpc);
|
|
419 |
__ASSERT_DEBUG(NULL, CtsyDispatcherPanic(EUnhandledCtsyIpc));
|
|
420 |
break;
|
|
421 |
} // switch (aIpcDataPackage.iIpc)
|
|
422 |
|
|
423 |
} // CCallControlMultipartyDispatcher::CallbackSync
|
|
424 |
|
|
425 |
|
|
426 |
|