Skip to content
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

create outbound dial from webhook ws #581

Merged
merged 4 commits into from
Feb 13, 2024
Merged

create outbound dial from webhook ws #581

merged 4 commits into from
Feb 13, 2024

Conversation

xquanluu
Copy link
Contributor

No description provided.

@xquanluu xquanluu marked this pull request as ready for review December 28, 2023 04:39
}
}

async _validateCreateCall(opts) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to validate here? The endpoint we are calling /createCall will do this validation. So it seems duplicated...can't we just capture the error response (typically a 400 Bad Request) and send it back over the websocket in some form?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the part of code for data validation, I just now keep the code for transforming data that feature server can understand and process the outbound call

@vdharashive
Copy link
Contributor

@xquanluu is this completed ?

@davehorton
Copy link
Contributor

@xquanluu @vdharashive is this PR tested and ready for merge?

@xquanluu
Copy link
Contributor Author

From my site, It's tested and working together with conference example app.

@xquanluu
Copy link
Contributor Author

But wait me to clean up the code as you mentioned above

@xquanluu
Copy link
Contributor Author

Hi @davehorton I have clean up the code and retested on jambonz.me

Please help me to review the code one again

@xquanluu xquanluu changed the title wip, create outbound dial from webhook ws create outbound dial from webhook ws Feb 13, 2024
@davehorton davehorton merged commit 206849f into main Feb 13, 2024
3 checks passed
@davehorton davehorton deleted the feat/rest_dail_ws branch February 13, 2024 12:58
avoylenko pushed a commit to avoylenko/jambonz-feature-server that referenced this pull request May 31, 2024
* wip, create outbound dial from webhook ws

* wip, create outbound dial from webhook ws

* clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants