-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Add Telnyx notifier bridge #41172
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
src/Symfony/Component/Notifier/Bridge/Telnyx/TelnyxTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Telnyx/TelnyxTransport.php
Outdated
Show resolved
Hide resolved
|
||
where: | ||
- `API_KEY` is your telnyx API key | ||
- `FROM` is your sender. The phone number should start with a plus "%2B" |
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.
We should validate this and throw a proper exception instead of documenting it
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.
Asked company about to have ability to test number + custom sender name, then I will make additional validation :)
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.
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 mean you can add a messageProfileId
and from there the company name is used as sender?
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.
@OskarStark provider allow to have sender name like Symfony
(not phone number) if this option filled and correct :) Than I will need to put this option into .env file to access it :) messageProfileId unique by their account and can be regenerated :)
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.
Updated
src/Symfony/Component/Notifier/Bridge/Telnyx/TelnyxTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Telnyx/Tests/TelnyxTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Tests/Exception/UnsupportedSchemeExceptionTest.php
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Telnyx/TelnyxTransportFactory.php
Outdated
Show resolved
Hide resolved
Added docs + recipes |
Forgot about me? :)))) |
We need another review and approval please |
Thank you @StaffNowa. |
…uild) (wouterj) This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Fix Telnyx service registration (fixes build) | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - This was missed in #41172 and caused the build to fail in 5.4 and 6.0 Commits ------- 1044087 [FrameworkBundle] Fix Telnyx service registration
Telnyx notifier https://developers.telnyx.com/docs/v2/messaging/quickstarts/sending-sms-and-mms