Example #1
0
 public Task <MakePredictiveCallEventReturn> SetMakePredictiveCall(string callingDevice, string calledDevice,
                                                                   AllocationState_t allocationState, string destRoute, bool priorityCalling, short maxRing,
                                                                   ATTAnswerTreat_t answerTreat, string info)
 {
     return(CreateTask <MakePredictiveCallEventReturn>((invokeId, pd) =>
     {
         var info2 = GetUuiFromString(info);
         return NativeMethods.attV6MakePredictiveCall(ref pd, priorityCalling, maxRing, answerTreat, destRoute, ref info2) |
         NativeMethods.cstaMakePredictiveCall(AcsHandle, invokeId, callingDevice, calledDevice, allocationState,
                                              ref pd);
     }, $"SetMakePredictiveCall('{callingDevice}','{calledDevice}','{allocationState}','{destRoute}','{priorityCalling}','{maxRing}','{answerTreat}','{info}')"));
 }
Example #2
0
 public static extern ACSFunctionRet_t attV6MakePredictiveCall(ref PrivateData_t privateData, bool priorityCalling, short maxRings, ATTAnswerTreat_t answerTreat, [MarshalAs(UnmanagedType.LPStr)] string destRoute, ref ATTUserToUserInfo_t userInfo);
Example #3
0
 public static extern Acs.RetCode_t attV6MakePredictiveCall(
                 [In, Out]
                 Acs.PrivateData_t privateData,
                 bool priorityCalling,
                 short maxRings,
                 ATTAnswerTreat_t answerTreat,
                 ref Csta.DeviceID_t destRoute,
                 ref ATTUserToUserInfo_t userInfo);