> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Room Dial Out Start

> Start a dial-out in a room



## OpenAPI

````yaml POST /rooms/{room_name}/dialOut/start
openapi: 3.0.3
info:
  title: Daily API
  description: |-
    The Daily REST API offers the ability to manage the following: 
    - Overall Domain Configuration
    - Individual Room creation and config management 
    - Meeting token creation and validation
    - Recording and compositing management 
    - Meeting analytics
    - Logs and metrics
    - Real-time presence

    Please reach out to help@daily.co if we can help with anything
  version: 1.1.1
  contact:
    name: Daily
    url: https://docs.daily.co
    email: help@daily.co
servers:
  - url: https://api.daily.co/v1
security:
  - bearerAuth: []
paths:
  /rooms/{room_name}/dialOut/start:
    post:
      tags:
        - rooms
      summary: rooms/:name/dialOut/start
      description: Start a dial-out in a room
      operationId: RoomDialOutStart
      parameters:
        - name: room_name
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dialout-properties'
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    ok: 'true'
                    sessionId: UUID of the dial-out session
        '400':
          $ref: '#/components/responses/400'
        '404':
          description: >-
            No SFU could be placed for the room, so the dial-out did not start.
            Retry the request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  info:
                    type: string
              examples:
                Result:
                  value:
                    error: not-found
                    info: room my-room does not seem to be hosting a call currently
        '503':
          description: Workers are at full capacity. Retry the request shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  info:
                    type: string
              examples:
                Result:
                  value:
                    error: service-temporarily-unavailable
                    info: service is temporarily unavailable, please try again later
      deprecated: false
      security:
        - bearerAuth: []
components:
  schemas:
    dialout-properties:
      properties:
        sipUri:
          description: >-
            sipUri to call. uri should start with `sip:`. Query parameters
            appended to the sipUri will appear as SIP Headers in the INTIVE
            message at the remote SIP endpoint. Headers must start with "X-",
            e.g. to append a header "myexampleHeader" it is appended to sipUri
            as "sip:<dialout_sip_uri>?X-header-1=val-1&X-header-2=val-2".
          type: string
        phoneNumber:
          description: phone number to call. number must start with country code e.g `+1`
          type: string
        extension:
          description: the extension to dial after dialed number is connected. e.g. `1234`
          type: string
        waitBeforeExtensionDialSec:
          description: >-
            number of seconds to wait before dialing the extension, once dialed
            number is connected.
          type: integer
          default: 0
          minimum: 0
          maximum: 60
        displayName:
          description: >-
            The sipUri or The phone participant is shown with this name in the
            web UI.
          type: string
        userId:
          description: userId to assign to the participant. default `userId` is null.
          type: string
        callerId:
          description: >-
            The `id` of a [purchased phone
            number](/reference/rest-api/phone-numbers/list-purchased) on the
            domain, not the phone number itself. The phone number associated
            with this `id` is displayed as the caller ID on the called phone.
          type: string
        video:
          description: Enable SIP video in the room, only available for sipUri.
          type: boolean
        videoSettings:
          $ref: '#/components/schemas/sip-video-settings'
        provider:
          description: >-
            The SIP provider for this dial-out. Applies to `sipUri` dial-out
            only. `"daily"` dials the `sipUri` through the Daily SIP provider,
            the recommended choice for SIP dial-out. A `phoneNumber` dial-out
            with `"daily"` returns `400`. See [SIP
            providers](/docs/guides/features/dial-in-dial-out#sip-providers).
          type: string
          enum:
            - signalwire
            - daily
          default: signalwire
        codecs:
          description: Specify the codecs to use for dial-out.
          type: object
          properties:
            audio:
              description: >-
                Specify the audio codecs to use for dial-out. Default codec is
                PCMU/PCMA. If the set codec is not supported by the remote
                party, the media stream will be transcoded and a transcoding
                charge will be applied. ['OPUS', 'G722', 'PCMU', 'PCMA']
              type: array
              items:
                type: string
                example:
                  - OPUS
                  - G722
                  - PCMU
                  - PCMA
                enum:
                  - OPUS
                  - G722
                  - PCMU
                  - PCMA
            video:
              description: >-
                Specify the video codecs to use for dial-out. Default coded is
                VP8. If the set codec is not supported by the remote party, the
                media stream will be transcoded and a transcoding charge will be
                applied. ['H264', 'VP8'].
              type: array
              items:
                type: string
                example:
                  - H264
                  - VP8
                enum:
                  - H264
                  - VP8
        permissions:
          description: Sets which media the dialed participant can receive.
          type: object
          required:
            - canReceive
          properties:
            canReceive:
              type: object
              description: >-
                Which media the participant should be permitted to receive. 


                [See here for `canReceive` object
                format](/reference/rest-api/meeting-tokens/create-meeting-token#body-properties-permissions).
      additionalProperties: false
      type: object
    sip-video-settings:
      type: object
      description: >-
        Video settings for the SIP participant. Only applicable when `video` is
        `true`.
      properties:
        width:
          description: >-
            Video width in pixels. Default and maximum: 1280, or 720 with
            `sip-portrait`.
          type: integer
          default: 1280
          minimum: 1
          maximum: 1280
        height:
          description: >-
            Video height in pixels. Default and maximum: 720, or 1280 with
            `sip-portrait`.
          type: integer
          default: 720
          minimum: 1
          maximum: 1280
        fps:
          description: 'Video frame rate. Default: 15. Maximum: 30.'
          type: integer
          default: 15
          minimum: 1
          maximum: 30
        videoBitrate:
          description: 'Video bitrate in kbps. Default: 900. Maximum: 1000.'
          type: integer
          default: 900
          minimum: 1
          maximum: 1000
        layout:
          $ref: '#/components/schemas/sip-video-layout'
    sip-video-layout:
      type: object
      description: >-
        What the SIP participant sees and hears. Pick a preset, then narrow it
        with participant references. A participant reference is a participant's
        `user_id` or session id; the `user_id` is matched first, so it survives
        a rejoin and may name a participant who has not joined yet. The SIP
        participant is named by the dial's `userId` (`user_id` in the `sip` room
        property). Their own camera is sent only when a reference names it,
        never through `*`, and their own audio is never sent back to them.
        Default: `sip-active` with one camera and everyone's audio.
      required:
        - preset
      properties:
        preset:
          type: string
          enum:
            - sip-active
            - sip-grid
            - sip-single
            - sip-portrait
          description: >-
            `sip-active`: the most recently active cameras, current speaker
            large. `sip-grid`: cameras in `participants.video` order, in a grid.
            `sip-single`: one participant's video and audio. `sip-portrait`: a
            720x1280 composition unless `width` (up to 720) or `height` (up to
            1280) is given, two cameras stacked or one full-frame with a small
            inset tile.
        maxCamStreams:
          type: integer
          minimum: 1
          maximum: 4
          description: >-
            Cameras to composite. `sip-active` and `sip-grid`: 1 to 4, default
            4. `sip-portrait`: 1 to 2, default 2, and must be 2 with
            `insetParticipant`. Not allowed with `sip-single`.
        participants:
          type: object
          description: >-
            Who to include. Not allowed with `sip-single`. Entries are `*`
            (everyone), `owners`, or participant references, in order.
          properties:
            video:
              type: array
              items:
                type: string
              maxItems: 50
              description: >-
                Cameras, up to 50 entries. Default `["*"]`; `sip-portrait`
                defaults to `["owners", "*"]`.
            audio:
              type: array
              items:
                type: string
              maxItems: 50
              description: Audio sources, up to 50 entries. Default `["*"]`.
        videoParticipant:
          type: string
          description: >-
            `sip-single` only, required. The participant whose video is sent;
            also the audio source unless `audioParticipant` is set.
        audioParticipant:
          type: string
          description: >-
            `sip-single` only. The participant whose audio is sent instead of
            `videoParticipant`'s.
        variant:
          type: string
          enum:
            - vertical
            - inset
          default: vertical
          description: >-
            `sip-portrait` only. `vertical` stacks up to two cameras; `inset`
            shows one camera full-frame with the other in a small tile.
        mainParticipant:
          type: string
          description: >-
            `sip-portrait` with `variant: "inset"` only. Pins a participant
            full-frame. Unpinned, the main slot follows the most recent speaker.
        insetParticipant:
          type: string
          description: >-
            `sip-portrait` with `variant: "inset"` only. Pins a participant to
            the small tile; must differ from `mainParticipant`. Unpinned, the
            tile shows the first participant `participants.video` selects.
      example:
        preset: sip-portrait
        variant: inset
        mainParticipant: patient-42
        insetParticipant: doctor-7
  responses:
    '400':
      description: '400'
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              info:
                type: string
          examples:
            Result:
              value:
                error: invalid-request-error
                info: missing required field
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.