Configure Compound Step Default Parameters¶
The default values of the Call Compound Step parameters may be configured:
-
When the parameter represents time, either a fixed value or a range of values can be given as the default
-
When the parameter represents telephone number format, one of the valid formats must be selected
Fore more details, see below.
Syntax
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | StepDefaults { callDetails { callDuration : <Number>, callDurationUnit : <String>, callDurationSeconds : <Number> | <Number> to <Number> ringDuration : <Number>, ringDurationUnit : <String>, ringDurationSeconds : <Number> | <Number> to <Number> detectCallWithinSeconds : <Number> | <Number> to <Number> callerConnectsWithinSeconds : <Number> | <Number> to <Number> calleeConnectsWithinSeconds : <Number> | <Number> to <Number> dialFormat : <String> detectFormat : <String> callDisconnectsWithinSeconds : <Number> | <Number> to <Number> } smsDetails { receptionWithinSeconds: <Number> | <Number> to <Number> deliveryConfirmedWithinSeconds: <Number> | <Number> to <Number> } } |
Parameters
-
callDuration - Deprecated. The number of
callDurationUnit
s- It is recommended to use
callDurationSeconds
instead
- It is recommended to use
-
callDurationUnit - Deprecated May be one of
millisecond
,milliseconds
,second
,seconds
,minute
,minutes
,hour
orhours
- It is recommended to use
callDurationSeconds
instead
- It is recommended to use
-
callDurationSeconds - The call duration timeout in seconds given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
ringDuration - Deprecated. The number of
ringDurationUnit
s- It is recommended to use
ringDurationSeconds
instead
- It is recommended to use
-
- *ringDurationUnit
-
Deprecated May be one of
millisecond
,milliseconds
,second
,seconds
,minute
,minutes
,hour
orhours
- It is recommended to use
ringDurationSeconds
instead
- It is recommended to use
-
ringDurationSeconds - The ringing timeout in seconds given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
detectCallWithinSeconds - The call detection timeout in seconds given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
callerConnectsWithinSeconds - The timeout in seconds within which the caller connects, given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
calleeConnectsWithinSeconds - The timeout in seconds within which the callee connects, given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
dialFormat - The number format that the calling party will dial
- Must be one of
int
,int00
ornat
- Must be one of
-
detectFormat - The number format that the called party will receive
- Must be one of
int
,int00
,nat
orany
- Must be one of
-
receptionWithinSeconds - The timeout in seconds within which the SMS is received, given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
-
deliveryConfirmedWithinSeconds - The timeout in seconds within which the SMS delivery is confirmed given as either a single number or a range of numbers
- If a range of numbers is given, a random number within the range, excluding the upper bound, will be selected
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | StepDefaults { callDetails { callDurationSeconds : "7", callDurationUnit : "seconds", ringDurationSeconds : "0.35 to 0.9", detectCallWithinSeconds : "27" callerConnectsWithinSeconds : "10" calleeConnectsWithinSeconds : "10" dialFormat : "int" detectFormat : "any" callDisconnectsWithinSeconds : "5" } smsDetails { receptionWithinSeconds: "15" deliveryConfirmedWithinSeconds: "30" } } |
Note:
-
If both
callDurationSeconds
andcallDuration
are configured,callDurationSeconds
has precedence overcallDuration
. -
If both
ringDurationSeconds
andringDuration
are configured, theringDurationSeconds
has precedence overringDuration
. -
If using the
callDuration
configuration andcallDurationUnit
is not configured, seconds will be used implicitly. -
If using the
ringDuration
configuration andringDurationUnit
is not configured, seconds will be used implicitly.