mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Describe how to pass caller information for outgoing calls.
This commit is contained in:
parent
f1d5b3b5bd
commit
899a9b6a61
1 changed files with 21 additions and 1 deletions
|
|
@ -1849,7 +1849,7 @@ Message format (Backend -> Server)
|
||||||
"dialout" {
|
"dialout" {
|
||||||
"number": "e164-target-number",
|
"number": "e164-target-number",
|
||||||
"options": {
|
"options": {
|
||||||
...arbitrary options that will be sent back to validate...
|
...additional options...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1857,6 +1857,26 @@ Message format (Backend -> Server)
|
||||||
Please note that this requires a connected internal client that supports
|
Please note that this requires a connected internal client that supports
|
||||||
dialout (e.g. the SIP bridge).
|
dialout (e.g. the SIP bridge).
|
||||||
|
|
||||||
|
The `options` will be sent to Nextcloud Talk for validation of the dialout
|
||||||
|
request. A field `caller` can be included containing the data that should be
|
||||||
|
sent as `From` header in the outgoing call, or a field `anonymous` with value
|
||||||
|
`true` to trigger an anonymous outgoing call (CLIR).
|
||||||
|
|
||||||
|
Example request (dialout to `+49123456789` and use `+491122334455` as caller):
|
||||||
|
|
||||||
|
{
|
||||||
|
"type": "dialout"
|
||||||
|
"dialout" {
|
||||||
|
"number": "+49123456789",
|
||||||
|
"options": {
|
||||||
|
"attendeeId": "abcdef",
|
||||||
|
"actorType": "actor-type",
|
||||||
|
"actorId": "the-actor",
|
||||||
|
"caller": "+491122334455"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Message format (Server -> Backend, request was accepted)
|
Message format (Server -> Backend, request was accepted)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue