SIP-Trunks auflisten
curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/sip-trunks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 42,
"phone_number": "1000",
"sip_username": "myuser",
"sip_address": "sip.provider.com",
"sip_calling_format": "+e164",
"inbound_authorization_type": "auth",
"allowed_inbound_ips": null,
"outbound_proxy": false,
"country_code": "US",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
SIP-Trunks auflisten
Alle SIP-Trunks des authentifizierten Benutzers abrufen
GET
/
api
/
user
/
phone-numbers
/
sip-trunks
SIP-Trunks auflisten
curl --request GET \
--url https://app.famulor.de/api/user/phone-numbers/sip-trunks \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 42,
"phone_number": "1000",
"sip_username": "myuser",
"sip_address": "sip.provider.com",
"sip_calling_format": "+e164",
"inbound_authorization_type": "auth",
"allowed_inbound_ips": null,
"outbound_proxy": false,
"country_code": "US",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
Dieser Endpunkt gibt eine Liste aller SIP-Trunks zurück, die Ihrem Konto zugeordnet sind.
Antwort
Array von SIP-Trunk-Objekten
Anzeigen SIP-Trunk-Eigenschaften
Anzeigen SIP-Trunk-Eigenschaften
Die eindeutige Kennung des SIP-Trunks
Die SIP-Erweiterung oder Telefonnummer (DID) im E.164-Format
Der Benutzername für die SIP-Authentifizierung
Die SIP-Serveradresse
Das ausgehende Rufnummernformat:
+e164, e164 oder nationalDie Methode für eingehende Authentifizierung:
auth (Benutzername/Passwort) oder ip (IP-Whitelist)Array mit freigegebenen IP-Adressen für eingehende Anrufe (nur wenn
inbound_authorization_type auf ip steht)Ob ausgehende Anrufe über eine feste Proxy-IP laufen
ISO-3166-2-Ländercode, in dem der SIP-Trunk liegt
ISO-8601-Zeitstempel der Erstellung
ISO-8601-Zeitstempel der letzten Aktualisierung
{
"data": [
{
"id": 42,
"phone_number": "1000",
"sip_username": "myuser",
"sip_address": "sip.provider.com",
"sip_calling_format": "+e164",
"inbound_authorization_type": "auth",
"allowed_inbound_ips": null,
"outbound_proxy": false,
"country_code": "US",
"created_at": "2026-03-31T10:00:00.000000Z",
"updated_at": "2026-03-31T10:00:00.000000Z"
},
{
"id": 43,
"phone_number": "+14155551234",
"sip_username": "trunk_user",
"sip_address": "sip.provider.com",
"sip_calling_format": "e164",
"inbound_authorization_type": "ip",
"allowed_inbound_ips": ["203.0.113.10", "198.51.100.20"],
"outbound_proxy": true,
"country_code": "US",
"created_at": "2026-03-31T11:00:00.000000Z",
"updated_at": "2026-03-31T11:00:00.000000Z"
}
]
}
Passende Seiten: SIP-Trunk abrufen, SIP-Trunk erstellen und SIP-Trunk aktualisieren.
War diese Seite hilfreich?
⌘I

