Member Junction
    Preparing search index...

    The REST payload ITwilioRestLike.calls.create accepts (the subset we use).

    interface TwilioCreateCallParams {
        AsyncAmd?: boolean;
        AsyncAmdStatusCallback?: string;
        From: string;
        StatusCallback?: string;
        StatusCallbackEvents?: string[];
        To: string;
        Twiml: string;
    }
    Index

    Properties

    AsyncAmd?: boolean

    Enables asynchronous answering-machine detection: Twilio keeps the call flowing (so the agent can start speaking) and later POSTs the verdict (AnsweredBy) to AsyncAmdStatusCallback. Maps to machineDetection: 'Enable' + asyncAmd: 'true'.

    AsyncAmdStatusCallback?: string

    URL Twilio POSTs the async-AMD verdict to. Maps to asyncAmdStatusCallback. Required when AsyncAmd is set.

    From: string

    Originating caller-id / DID. Maps to Twilio's from.

    StatusCallback?: string

    Optional status-callback URL for lifecycle events. Maps to Twilio's statusCallback.

    StatusCallbackEvents?: string[]

    Lifecycle events to post to StatusCallback (initiated/ringing/answered/completed). Maps to statusCallbackEvent.

    To: string

    Destination number (E.164). Maps to Twilio's to.

    Twiml: string

    The TwiML executed when the call connects (our <Connect><Stream>). Maps to Twilio's twiml.