Transfer Number
# support
v
@soc86 It seems like there might be a misunderstanding in the structure of the data you're sending. The error message indicates that the
condition
property should not exist within the
messages
array. To help you further, I need to know the exact structure of the API request you're trying to make. Could you please provide more details about the API call you're making, specifically the part where you're setting the conditions for transferring a call? This will help me understand the context and assist you better.
You can continue this conversation by mentioning me in the message.
s
$data=[ "assistant"=>[ "backgroundSound"=>"office", "endCallMessage"=>"thankyouforyourtimetoday,goodbye.", "firstMessage"=>$intro, "voicemailDetectionEnabled"=>true, "endCallFunctionEnabled"=>true, "hipaaEnabled"=>false, "llmRequestDelaySeconds"=>0.1, "maxDurationSeconds"=>300, "serverMessages"=>[ "end-of-call-report", ], "model"=>[ "model"=>"gpt-4o", "provider"=>"openai", "semanticCachingEnabled"=>true, "tools"=>[ [ "type"=>"voicemail" ] ], "messages"=>[ [ "role"=>"system", "content"=>$prompt, "conditions"=>[ [ "param"=>"destination", "operator"=>"eq", "value"=>"+#####"]]]]], "voicemailDetection"=>[ "provider"=>"twilio", "enabled"=>false ], "name"=>"zo", "recordingEnabled"=>true, "transcriber"=>[ "provider"=>"deepgram", "language"=>"en-GB", "model"=>"nova-2" ], "voice"=>[ "provider"=>"11labs", "voiceId"=>$voiceId ] ], "customer"=>[ "number"=>$telephone, "name"=>$name ], "maxDurationSeconds"=>600, "phoneNumber"=>[ "assistantId"=>"#####", "name"=>"####", "twilioAccountSid"=>"#####", "twilioAuthToken"=>"#####", "twilioPhoneNumber"=>$tel], "type"=>"outboundPhoneCall" ];
s
can you describe your issue if your saying about the tansfer call function then please enable it and add your call fowarding number.
because of no response closing this ticket.
3 Views