Skip to content
This repository
Browse code

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

… park service to shutdown
  • Loading branch information...
commit 2e849e409cc544d53ed4fee7d71b9ded0c2f75e7 1 parent 998de0f
George Niculae authored April 24, 2012
2  sipXcallLib/include/cp/CpCall.h
@@ -37,7 +37,7 @@
37 37
 // CONSTANTS
38 38
 // STRUCTS
39 39
 struct DtmfEvent {
40  
-    int     event;
  40
+    intptr_t     event;
41 41
     int interdigitSecs;
42 42
     int timeoutSecs;
43 43
     int ignoreKeyUp;
4  sipXcallLib/src/cp/CpCall.cpp
@@ -524,7 +524,7 @@ UtlBoolean CpCall::handleMessage(OsMsg& eventMessage)
524 524
             addHistoryEvent(msgSubType, multiStringMessage);
525 525
             {
526 526
                 OsWriteLock lock(mDtmfQMutex);
527  
-                int ev = ((CpMultiStringMessage&)eventMessage).getInt1Data();
  527
+                intptr_t ev = ((CpMultiStringMessage&)eventMessage).getInt1Data();
528 528
 
529 529
                 assert(mDtmfQLen < MAX_NUM_TONE_LISTENERS);
530 530
 
@@ -688,7 +688,7 @@ UtlBoolean CpCall::handleMessage(OsMsg& eventMessage)
688 688
                                         mCallId.data(), (long)eventData);
689 689
                                     continue; // previous key still down, ignore long key event
690 690
                                 }
691  
-                                OsQueuedEvent* dtmfEvent = reinterpret_cast<OsQueuedEvent*>(mDtmfEvents[i].event);
  691
+                                OsQueuedEvent* dtmfEvent = (OsQueuedEvent*)(mDtmfEvents[i].event);
692 692
                                 if (dtmfEvent)
693 693
                                 {
694 694
                                     OsStatus res = dtmfEvent->signal((eventData & 0xfffffff0));

0 notes on commit 2e849e4

Please sign in to comment.
Something went wrong with that request. Please try again.