-
Notifications
You must be signed in to change notification settings - Fork 508
feat(sip): Allow the sipbridge to create a conversation with a user for a phone number #14731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
89d895b to
52483d9
Compare
|
/backport to stable31 |
52483d9 to
f4bc5d9
Compare
|
On a more general note: some customers might use internal phone extensions, i.e. not fully E.164 formatted. This will cause the validation to fail both here and in #14729. In such cases, numbers will be short. I would suggest supporting these both in #14729 and here, i.e. everything that is all-numeric (with an optional leading |
|
We probably need a dedicated response code for when the regular call workflow should be used, or should that always happen on |
I'm not really sure I can distinguish a random number from a workflow one. So yeah I'd say 404 means there is no direct-dialin => normal workflow? |
0d7cdf8 to
b227252
Compare
|
35d8780 to
a5eee09
Compare
|
/backport 2dad1f7 to stable30 |
|
/backport 2dad1f7 to stable31.0 |
|
Web-UI tries to call the phone user when clicking the button to join the call. POST-URL is |
fancycode
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The triggered dial-out when joining from the web should be fixed imho, the display name is nice to have.
It was done from frontend, but fixed it myself |
… a phone number Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
9c68e0e to
da463a9
Compare
| #[OpenAPI(scope: 'backend-sipbridge')] | ||
| public function directDialIn(string $phoneNumber, string $caller): DataResponse { | ||
| if (!$this->talkConfig->isSIPConfigured()) { | ||
| return new DataResponse(null, Http::STATUS_NOT_IMPLEMENTED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also throttle the "not implemented" response?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are not able to brute force the sip secret, so I don't think it's needed
☑️ Resolves
🛠️ API Checklist
🏁 Checklist
docs/has been updated or is not required