Skip to content

SIP Trunks

The networks Ella PSAP accepts emergency calls from, over SIP.

List SIP Trunks

Returns the SIP trunks that Ella PSAP accepts emergency calls from.

Method Path
GET /api/v1/sip-trunks

Response Fields

Field Type Description
items array The SIP trunks, by name.
items[].name string Name of the trunk.
items[].enabled boolean Whether Ella PSAP accepts requests from the trunk.
items[].inbound_cidrs array The networks the trunk's requests come from, in CIDR notation.
items[].callback_uri string The SIP URI that callbacks are sent to. Empty when the trunk places no callbacks.
items[].callback_number string The number that callbacks come from. Empty when none.
items[].smsc string The SMSC that texts to the trunk's callers go through. Empty when none.
items[].created_at string Time the trunk was added.

Sample Response

{
    "result": {
        "items": [
            {
                "name": "ella-ims",
                "enabled": true,
                "inbound_cidrs": ["10.90.3.0/24"],
                "callback_uri": "sip:10.90.3.2:5060",
                "callback_number": "+16135550100",
    "smsc": "ella-smsc",
                "smsc": "ella-smsc",
                "created_at": "2026-12-01T12:00:00.000Z"
            }
        ]
    }
}

Add a SIP Trunk

Adds a SIP trunk that Ella PSAP accepts emergency calls from.

Method Path
POST /api/v1/sip-trunks

Request Body

Field Type Required Description
name string Yes 1 to 63 lowercase letters, digits and inner hyphens.
enabled boolean No Default: true.
inbound_cidrs array Yes 1 to 16 distinct networks in CIDR notation.
callback_uri string No A sip: or sips: URI with no user part, such as sip:10.90.3.2:5060. Default empty.
callback_number string No A number in international format, such as +16135550100. Default empty.
smsc string No The name of an SMSC. Default empty.

Sample Request

{
    "name": "ella-ims",
    "inbound_cidrs": ["10.90.3.0/24"],
    "callback_uri": "sip:10.90.3.2:5060",
    "callback_number": "+16135550100",
    "smsc": "ella-smsc"
}

Get a SIP Trunk

Returns one SIP trunk and the addresses it accepts calls from.

Method Path
GET /api/v1/sip-trunks/{name}

Update a SIP Trunk

Changes the settings of a SIP trunk.

Method Path
PUT /api/v1/sip-trunks/{name}

The request body is as in Add a SIP Trunk.

Delete a SIP Trunk

Deletes a SIP trunk, so Ella PSAP stops accepting new calls from it.

Method Path
DELETE /api/v1/sip-trunks/{name}