Difference between revisions of "CatiSettings class"

From Catglobe Wiki
Jump to: navigation, search
Line 8: Line 8:
 
|Methods=
 
|Methods=
 
{{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Save</nowiki>|Description=<nowiki>Save settings.</nowiki>}}
 
{{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Save</nowiki>|Description=<nowiki>Save settings.</nowiki>}}
 +
{{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>SetOutcomeSetAndSave</nowiki>|Parameters=
 +
{{CGscriptParameters_Template|Type=OutcomeSet|Name=<nowiki>set</nowiki>|Description=<nowiki>Outcome set to update to</nowiki>}}
 +
|Description=<nowiki>Change the outcome set of the questionnaire.</nowiki>}}
 
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
 
{{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}}
 
|Properties=
 
|Properties=
Line 13: Line 16:
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>AstParam</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Comma seperated list of parameters to send to the dialplan in asterisk when initiating a call (Requires dialplan support).</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>AstParam</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Comma seperated list of parameters to send to the dialplan in asterisk when initiating a call (Requires dialplan support).</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>ChanceForInterviewerNeeded</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When using predictive, when cold-dialing the first couple of numbers what is the chance to get picked up. This determines how many predictive calls to make.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>ChanceForInterviewerNeeded</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When using predictive, when cold-dialing the first couple of numbers what is the chance to get picked up. This determines how many predictive calls to make.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>ContactLimit</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Maximum number of calls to a single qas, before being excluded.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>DialerType</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Which dialer to use. 0 = Auto dial, 1 = Auto pick, but don't start dialing until user ok, 2 = Auto pick, but don't use Voip/Asterisk, 3 = Predictive dialing.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>DialerType</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Which dialer to use. 0 = Auto dial, 1 = Auto pick, but don't start dialing until user ok, 2 = Auto pick, but don't use Voip/Asterisk, 3 = Predictive dialing.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>HighPriorityTimeFrameAfter</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When scheduling a meeting/retry how many minutes after is it ok to pick, before picking other on-time appointments.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>HighPriorityTimeFrameAfter</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When scheduling a meeting/retry how many minutes after is it ok to pick, before picking other on-time appointments.</nowiki>}}
Line 18: Line 22:
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>MaxDialingThreads</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When using predictive, how many maximum call attempts can happen at the same time.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>MaxDialingThreads</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When using predictive, how many maximum call attempts can happen at the same time.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}}
 +
{{CGscriptProperties_Template|ReturnType=OutcomeSet|Name=<nowiki>OutcomeSet</nowiki>|HasGetter=1|Description=<nowiki>Get the outcome set.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>PickTimeout</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When call is finished, how long in seconds does the interviewer have to pick an outcome before it is picked automatically.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>PickTimeout</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>When call is finished, how long in seconds does the interviewer have to pick an outcome before it is picked automatically.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>SuccessPerHour</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=number|Name=<nowiki>SuccessPerHour</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.</nowiki>}}
Line 23: Line 28:
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}}
 
}}
 
}}
 +
 
=== <span style="color:#DF8621">'''Note'''</span> ===
 
=== <span style="color:#DF8621">'''Note'''</span> ===
 
<span style="color:#DF8621">AfterCallScriptResourceId</span>  
 
<span style="color:#DF8621">AfterCallScriptResourceId</span>  
 
see more [[Script on Cati call|here]]
 
see more [[Script on Cati call|here]]

Revision as of 10:47, 29 January 2019

CatiSettings



Settings for cati questionnaires.

Constructors

  • (int questionnaireResourceId "Resource id of the questionnaire") - Load existing settings for questionnaire.

Methods

  • Empty Save() - Save settings.
  • Empty SetOutcomeSetAndSave(OutcomeSet set "Outcome set to update to") - Change the outcome set of the questionnaire.
  • string ToString() - The string representation of the object.

Properties

  • int AfterCallScriptResourceId { get; set; } - After saving outcome status for a call, invoke this script. It gets 2 parameters: The chosen outcome, see CATI_getCATIContacts and the number of times called. The current context is set the the qas.
  • string AstParam { get; set; } - Comma seperated list of parameters to send to the dialplan in asterisk when initiating a call (Requires dialplan support).
  • number ChanceForInterviewerNeeded { get; set; } - When using predictive, when cold-dialing the first couple of numbers what is the chance to get picked up. This determines how many predictive calls to make.
  • int ContactLimit { get; set; } - Maximum number of calls to a single qas, before being excluded.
  • int DialerType { get; set; } - Which dialer to use. 0 = Auto dial, 1 = Auto pick, but don't start dialing until user ok, 2 = Auto pick, but don't use Voip/Asterisk, 3 = Predictive dialing.
  • int HighPriorityTimeFrameAfter { get; set; } - When scheduling a meeting/retry how many minutes after is it ok to pick, before picking other on-time appointments.
  • int HighPriorityTimeFrameBefore { get; set; } - When scheduling a meeting/retry how many minutes before is it ok to pick.
  • int MaxDialingThreads { get; set; } - When using predictive, how many maximum call attempts can happen at the same time.
  • string ObjectTypeName { get; } - The name of the type of object.
  • OutcomeSet OutcomeSet { get; } - Get the outcome set.
  • int PickTimeout { get; set; } - When call is finished, how long in seconds does the interviewer have to pick an outcome before it is picked automatically.
  • number SuccessPerHour { get; set; } - Number of expected successes an interviewer per hour is expected to do to get 100% performance. This can be altered throughout the duration of the project to reflect harder to get quotas.
  • int TimeoutExceed { get; set; } - After how many minutes is an ongoing qas seen as lost and put back in queue. Use negative to disable.
  • TypeInformation TypeInformation { get; } - Get information about this class.


Note

AfterCallScriptResourceId see more here