Package com.ringcentral.definitions
Class CreateAnsweringRuleRequest
java.lang.Object
com.ringcentral.definitions.CreateAnsweringRuleRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionAnswering rules are applied when calling to selected number(s)Answering rule will be applied when calls are received from the specified caller(s)Specifies how incoming calls are forwarded Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly, SharedLinesSpecifies if the rule is active or inactive.Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting ListName of an answering rule specified by user RequiredCall screening status.Type of an answering rule. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalledNumbers
(CalledNumberInfo[] calledNumbers) callers
(CallersInfoRequest[] callers) callHandlingAction
(String callHandlingAction) forwarding
(ForwardingInfo forwarding) greetings
(GreetingInfo[] greetings) missedCall
(MissedCallInfo missedCall) schedule
(ScheduleInfo schedule) transfer
(TransferredExtensionInfo transfer) unconditionalForwarding
(UnconditionalForwardingInfo unconditionalForwarding) voicemail
(VoicemailInfo voicemail)
-
Field Details
-
enabled
Specifies if the rule is active or inactive. The default value is `true` -
type
Type of an answering rule. The 'Custom' value should be specified Required -
name
Name of an answering rule specified by user Required -
callers
Answering rule will be applied when calls are received from the specified caller(s) -
calledNumbers
Answering rules are applied when calling to selected number(s) -
schedule
-
callHandlingAction
Specifies how incoming calls are forwarded Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly, SharedLines -
forwarding
-
unconditionalForwarding
-
queue
-
transfer
-
voicemail
-
missedCall
-
greetings
Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List -
screening
Call screening status. 'Off' - no call screening; 'NoCallerId' - if caller ID is missing, then callers are asked to say their name before connecting; 'UnknownCallerId' - if caller ID is not in contact list, then callers are asked to say their name before connecting; 'Always' - the callers are always asked to say their name before connecting. The default value is 'Off' Default: Off Enum: Off, NoCallerId, UnknownCallerId, Always
-
-
Constructor Details
-
CreateAnsweringRuleRequest
public CreateAnsweringRuleRequest()
-
-
Method Details
-
enabled
-
type
-
name
-
callers
-
calledNumbers
-
schedule
-
callHandlingAction
-
forwarding
-
unconditionalForwarding
public CreateAnsweringRuleRequest unconditionalForwarding(UnconditionalForwardingInfo unconditionalForwarding) -
queue
-
transfer
-
voicemail
-
missedCall
-
greetings
-
screening
-