Evo Voice

<back to all web services

QueueNodeWaitCallback

The following routes are available for this service:
All Verbs/nodes/queue/wait-callback
QueueNodeWaitCallback Parameters:
NameParameterData TypeRequiredDescription
WaitMusicqueryList<QueueWaitMusic>No
QueueNamequerystringNo
AccountIdquerystringNo
SessionIdquerystringNo
RecordingReadyquerystringNo
RecordCallqueryboolNo
RecordedFilequerystringNo
RecordedFileUrlquerystringNo
TwilioRequestBase Parameters:
NameParameterData TypeRequiredDescription
CallSidformstringNo
AccountSidformstringNo
FromformstringNo
ToformstringNo
CallStatusformstringNo
ApiVersionformstringNo
DirectionformstringNo
ForwardedFromformstringNo
CallerNameformstringNo
ParentCallSidformstringNo
StirVerstatformstringNo
CalledformstringNo
CalledZipformstringNo
CalledCityformstringNo
CalledStateformstringNo
CalledCountryformstringNo
CallerformstringNo
CallerCityformstringNo
CallerStateformstringNo
CallerZipformstringNo
CallerCountryformstringNo
FromCityformstringNo
FromStateformstringNo
FromZipformstringNo
FromCountryformstringNo
ToCityformstringNo
ToStateformstringNo
ToZipformstringNo
ToCountryformstringNo
MessageSidformstringNo
SmsIdformstringNo
MessagingServiceSidformstringNo
BodyformstringNo
NumMediaformintNo
MediaContentType0formstringNo
MediaUrl0formstringNo
MediaContentType1formstringNo
MediaUrl1formstringNo
MediaContentType2formstringNo
MediaUrl2formstringNo
IndexformintNo
InstanceSidformstringNo
EventTypeformstringNo
ChannelSidformstringNo
AttributesformstringNo
ClientIdentityformstringNo
MediaContentTypeformstringNo
MediaSidformstringNo
IdentityformstringNo
DigitsformstringNo
SpeechResultformstringNo
ConfidenceformdoubleNo
CallDurationformintNo
RecordingUrlformstringNo
RecordingSidformstringNo
RecordingDurationformintNo
RecordingStatusformstringNo
TranscriptionSidformstringNo
TranscriptionTextformstringNo
TranscriptionUrlformstringNo
TranscriptionStatusformstringNo
DialCallStatusformstringNo
DialCallSidformstringNo
DialCallDurationformdoubleNo
DialBridgedformboolNo
QueueResultformstringNo
QueueSidformstringNo
QueueTimeformintNo
ConferenceSidformstringNo
FriendlyNameformstringNo
StatusCallbackEventformstringNo
MutedformboolNo
HoldformboolNo
EndConferenceOnExitformboolNo
StartConferenceOnEnterformboolNo
EventNameformstringNo
AssistantSidformstringNo
DialogueSidformstringNo
UserIdentifierformstringNo
CurrentInputformstringNo
CurrentTaskformstringNo
DialoguePayloadUrlformstringNo
MemoryformstringNo
ChannelformstringNo
FaxSidformstringNo
FaxStatusformstringNo
NumPagesformintNo
MediaUrlformstringNo
ErrorCodeformstringNo
ErrorMessageformstringNo
QueueWaitMusic Parameters:
NameParameterData TypeRequiredDescription
ModeformQueueWaitMusicModesNo
AudioFileformstringNo
TextformstringNo
TextVoiceformSayVoicesNo
NumTimesformintNo
QueueWaitMusicModes Enum:
Audio
Text
SayVoices Enum:
Man
Woman
Polly_Mads_Danish_Male
Polly_Naja_Danish_Female
Polly_Lotte_Dutch_Female
Polly_Ruben_Dutch_Male
Polly_Nicole_Australian_Female
Polly_Russell_Australian_Male
Polly_Amy_British_Female
Polly_Brian_British_Male
Polly_Emma_British_Female
Polly_Raveena_Indian_Female
Polly_Ivy_US_Female
Polly_Joanna_US_Female
Polly_Joey_US_Male
Polly_Justin_US_Male
Polly_Kendra_US_Female
Polly_Kimberly_US_Female
Polly_Matthew_US_Male
Polly_Salli_US_Female
Polly_Geraint_Welsh_Male
Polly_Celine_French_Female
Polly_Mathieu_French_Male
Polly_Chantal_French_Canadian_Female
Polly_Hans_German_Male
Polly_Marlene_German_Female
Polly_Vicki_German_Female
Polly_Dora_Iceland_Female
Polly_Karl_Iceland_Male
Polly_Carla_Italian_Female
Polly_Giorgio_Italian_Male
Polly_Mizuki_Japanese_Female
Polly_Takumi_Japanese_Male
Polly_Liv_Norwegian_Female
Polly_Jacek_Polish_Male
Polly_Jan_Polish_Female
Polly_Ewa_Polish_Female
Polly_Maja_Polish_Female
Polly_Ricardo_Portuguese_Male
Polly_Vitoria_Portuguese_Female
Polly_Cristiano_Portuguese_Male
Polly_Inese_Portuguese_Female
Polly_Carmen_Romanian_Female
Polly_Maxim_Russian_Male
Polly_Tatyana_Russian_Female
Polly_Conchita_Spanish_Female
Polly_Enrique_Spanish_Male
Polly_Miguel_Latin_American_Male
Polly_Penelope_Latina_American_Female
Polly_Astrid_Swedish_Female
Polly_Filiz_Turkish_Male
Polly_Gwyneth_Welsh_Female

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /nodes/queue/wait-callback HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	waitMusic: 
	[
		{
			mode: Audio,
			audioFile: String,
			text: String,
			textVoice: Man,
			numTimes: 0
		}
	],
	queueName: String,
	accountId: String,
	sessionId: String,
	recordingReady: String,
	recordCall: False,
	recordedFile: String,
	recordedFileUrl: String,
	callSid: String,
	accountSid: String,
	from: String,
	to: String,
	callStatus: String,
	apiVersion: String,
	direction: String,
	forwardedFrom: String,
	callerName: String,
	parentCallSid: String,
	stirVerstat: String,
	called: String,
	calledZip: String,
	calledCity: String,
	calledState: String,
	calledCountry: String,
	caller: String,
	callerCity: String,
	callerState: String,
	callerZip: String,
	callerCountry: String,
	fromCity: String,
	fromState: String,
	fromZip: String,
	fromCountry: String,
	toCity: String,
	toState: String,
	toZip: String,
	toCountry: String,
	messageSid: String,
	smsId: String,
	messagingServiceSid: String,
	body: String,
	numMedia: 0,
	mediaContentType0: String,
	mediaUrl0: String,
	mediaContentType1: String,
	mediaUrl1: String,
	mediaContentType2: String,
	mediaUrl2: String,
	index: 0,
	instanceSid: String,
	eventType: String,
	channelSid: String,
	attributes: String,
	clientIdentity: String,
	mediaContentType: String,
	mediaSid: String,
	identity: String,
	digits: String,
	speechResult: String,
	confidence: 0,
	callDuration: 0,
	recordingUrl: String,
	recordingSid: String,
	recordingDuration: 0,
	recordingStatus: String,
	transcriptionSid: String,
	transcriptionText: String,
	transcriptionUrl: String,
	transcriptionStatus: String,
	dialCallStatus: String,
	dialCallSid: String,
	dialCallDuration: 0,
	dialBridged: False,
	queueResult: String,
	queueSid: String,
	queueTime: 0,
	conferenceSid: String,
	friendlyName: String,
	statusCallbackEvent: String,
	muted: False,
	hold: False,
	endConferenceOnExit: False,
	startConferenceOnEnter: False,
	eventName: String,
	assistantSid: String,
	dialogueSid: String,
	userIdentifier: String,
	currentInput: String,
	currentTask: String,
	dialoguePayloadUrl: String,
	memory: String,
	channel: String,
	faxSid: String,
	faxStatus: String,
	numPages: 0,
	mediaUrl: String,
	errorCode: String,
	errorMessage: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(string)