NumberDestination
Properties
This is the description of the destination, used by the AI to choose when and how to transfer the call.
This is the message to say before transferring the call to the destination.
If this is not provided and transfer tool messages is not provided, default is "Transferring the call now".
If set to "", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message
for the destination assistant.
This is the flag to toggle the E164 check for the number
field. This is an advanced property which should be used if you know your use case requires it.
Use cases:
false
: To allow non-E164 numbers like+001234567890
,1234', or abc`
. This is useful for dialing out to non-E164 numbers on your SIP trunks.true
(default): To allow only E164 numbers like+14155551234
. This is for most standard PSTN calls.
If
false
, the number
is still required to only contain alphanumeric characters (regex: /^\+?[a-zA-Z0-9]+$/
).
@default true (E164 check is enabled)