AnsweredAssumed Answered

How to access CallVariable1 on CTIOS Custom Application

Question asked by Ehtasham123 on Feb 17, 2014
Latest reply on Feb 18, 2014 by Ehtasham123

I have build a custom application for CTIOS in which i am trying to access variable1,variable2... values which we passed through ICM.

I have write this code but i am getting " " or null value against it.

 

String sUID = eventArgs.GetValueString(CtiOs_IKeywordIDs.CTIOS_UNIQUEOBJECTID);

        Call rCall = (Call) vCtiOsSession.GetObjectFromObjectID(sUID);

        vCtiOsSession.SetCurrentCall(rCall);

        if (rCall != null)

        {

            String a = eventArgs.GetValueString(CtiOs_IKeywordIDs.S_CALLVARIABLE1);

             System.out.println(a);

        }

else

{

      System.out.println("No active call to get data from.");

}

I don't know what wrong with this code i am getting null value in variable a.

 

dlender

Outcomes