Configure the delivery service type used as the destination for calls
Configure the delivery service type used as the destination for received calls. See the Notes for more information. Returns a FoneNumber object.
{
"fonenumber": {
"fonenumber": "3215551212",
"voice_options": {
"receive": {
"type": "Forward",
"value": "3215551111"
},
....
}
....
}
Notes
This endpoInt allows the application developer to programmatically and dynamically configure the Service Type to be provided for inbound phone calls that are made to a FoneNumber on a users account. The Service Type can be one of several destination options: Forward to another telephone number, send the call to a configured and registered SIP Device (e.g. handset, FracTELfone mobile app, WebRTC endpoint, etc.), connect to a properly configured FracTEL Feature (IVR, Fax2email, VoiceMail, etc.), play a specified audio file, generate speech from provided text, and more. There are also options for standard no-answer call dispositions (Reject, Hangup or Busy). Use the type
parameter to specify the Service Type, and value to provide the additional data required to specify the service. The table below summarizes available options, see Service Types for more information on Service Types and the configuration and use of a FracTEL Feature.
type
type
Use the type
parameter to specify the type of destination. Available types are Device
, Forward
, Conference
, IVR
, Scheduler
, Fax
, VoiceMail
, Monetizer
, Reject
, Hangup
, and Busy
. For more information, see Service Types.
value
value
The value
parameter contains the corresponding setting for the destination. value
is REQUIRED
unless type
is Reject
, Hangup
or Busy
. For more information, see Service Types.