Download User Manual

Transcript
3CX Phone System for Windows System for Windows
www.3cx.com
public bool bIsAnswered, bIsFailed, bIsCompleted,
bCallFromOutside, bMakeCallOrigin;
public Double fRate, fTotalCost;
public cnDnKind eGroupType;
public int iMediaType, iNumDetails, iGrpAnswer;
details: is a list of destinations for that call. E.g. in the case of transfers it may have
multiple details.
To iterate through all the details :
foreach(DetailData3 dd in details)
{
Ret += dd.DestDN;
}
And finally the script has to return the output string:
return ret.ToString();
The details object has the dollowing info available:
public class DetailData3 // holds details for one call
{
public int ParentIdx;
public String DestDN, DestNum;
public DateTime StartTime, AnswerTime, EndTime;
public TimeSpan Dur;
public cnStatus Status;
public bool IsCompl, IsMediator, bCallToOutside, bFromExtNum;
public cnSpecType SpecType;
public int iIdCallHist, iNDetail, ExtType;
}
For a more extensive example please look into SMDR.cs
%allusersprofile%\Application Data\3CX\Data\CDRTemplates\SMDR.cs
Page 26