Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

XX-10103: In Park feature "Allow Transfer" is not working and causing…

… park service to shutdown
  • Loading branch information...
commit 2e849e409cc544d53ed4fee7d71b9ded0c2f75e7 1 parent 998de0f
@dizzy dizzy authored
View
2  sipXcallLib/include/cp/CpCall.h
@@ -37,7 +37,7 @@
// CONSTANTS
// STRUCTS
struct DtmfEvent {
- int event;
+ intptr_t event;
int interdigitSecs;
int timeoutSecs;
int ignoreKeyUp;
View
4 sipXcallLib/src/cp/CpCall.cpp
@@ -524,7 +524,7 @@ UtlBoolean CpCall::handleMessage(OsMsg& eventMessage)
addHistoryEvent(msgSubType, multiStringMessage);
{
OsWriteLock lock(mDtmfQMutex);
- int ev = ((CpMultiStringMessage&)eventMessage).getInt1Data();
+ intptr_t ev = ((CpMultiStringMessage&)eventMessage).getInt1Data();
assert(mDtmfQLen < MAX_NUM_TONE_LISTENERS);
@@ -688,7 +688,7 @@ UtlBoolean CpCall::handleMessage(OsMsg& eventMessage)
mCallId.data(), (long)eventData);
continue; // previous key still down, ignore long key event
}
- OsQueuedEvent* dtmfEvent = reinterpret_cast<OsQueuedEvent*>(mDtmfEvents[i].event);
+ OsQueuedEvent* dtmfEvent = (OsQueuedEvent*)(mDtmfEvents[i].event);
if (dtmfEvent)
{
OsStatus res = dtmfEvent->signal((eventData & 0xfffffff0));
Please sign in to comment.
Something went wrong with that request. Please try again.