-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] added "callback" support for texter transports #34629
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
@imiroslavov just asking in case this is merged and we need to document it: must the For example, in some parts of the docs we say this for the
Thanks. |
@javiereguiluz The query parameters of the DSN are passed to |
If #34654 is merged before this PR it will require additional work. |
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.
Thank you.
I like this PR. Could you rebase it and add this feature to Sinch too?
And a small tests would be perfect =)
@Nyholm Sorry for the late reply. The idea initially sounded good but right now I see only downsides.
I'm stuck at this point. Maybe a callback envelope will be a better solution but not implementing it for all adapters doesn't sound right. I will have enough free time to work on this next week so I'm open for suggestions. |
I would add that the payload of the callback wouldn't be the same depending on the provider. I propose to close for now until we have a better idea. |
@fabpot The provider can also be added to the callback URL but that would lead to compromises and probably more problems in the user's code, so closing the PR is the best option. |
Adding support for Twilio/Nexmo webhook endpoints used to monitor status changes.
It adds a
callback
parameter to the DSN.e.g
twilio://SID:TOKEN@default?from=PHONE&callback=http://domain.tld/path