Laravel 8 Nexmo通过nexmo.sms_from Dynamic Config发送到国际号码

发布于 2025-02-13 23:04:14 字数 518 浏览 0 评论 0原文

我正在使用Nexmo通知通道的2.5.1版,我认为现在被称为Vonage-Notification-innanel。我位于英国,在全球范围内拥有客户,我将我的SMS__从我的控制范围内设置为以下:


'nexmo' => [
    'sms_from' => 'DomainMonit',
]

更改发生在我的控制范围之外,现在将发送给我们的号码发送给我们的电话号码现在需要使用免费电话号码。

目前,我的SMS_From非常适合发送给英国的电话号码,但是,我需要购买免费电话号码,并以某种方式将SMS_FOM配置为使用特定美国客户的免费电话(我有一个我可以利用数据库中的列来获取country),如何动态更改sms_s以支持这一点?

发送给美国的所有SMS都必须源自美国预批准的长量,注册免费电话,10 dlc或与您的Vonage帐户相关联的简短代码。不支持Alpha发件人ID。

我正在使用:laravel/nexmo-notification-channel 2.5.1

I'm using version 2.5.1 of the nexmo-notification-channel which I see is now known as the vonage-notification-channel. I'm based in the UK and have customers globally, I have set my sms_from to be the following:


'nexmo' => [
    'sms_from' => 'DomainMonit',
]

A change happened on 1st March 2022 beyond my control whereby sending to US numbers now requires the use of a toll-free number as described here.

Currently, my sms_from works perfectly fine for sending to UK based numbers, but, I'm going to need to buy a toll-free number, and somehow configure the sms_from to use the toll-free number for specific US customers (I have a column in my database I can utilise to get country), how can I change the sms_from dynamically to support this?

All SMS sent to the US must originate from either a US pre-approved long number, registered toll-free, 10 DLC, or short code that is associated with your Vonage account. Alpha Sender IDs are not supported.

I'm using: laravel/nexmo-notification-channel 2.5.1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

生活了然无味 2025-02-20 23:04:14

只是为了澄清 - 您能否让我知道您是否实际使用Nexmo-Notification-notification-notechnel或Vonage-Notification-innerel?

因为差异非常重要,因为他们使用不同版本的基础核心vonage库。

向答案表示歉意 - 由于代表,我无法使用评论。

Just for clarification - can you let me know if you are actually using the nexmo-notification-channel or the vonage-notification-channel?

Because the difference is quite important in that they use different versions of the underlying Core Vonage library.

Apologies for the answer- I can't use comment because of rep.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文