【发布时间】:2016-05-04 18:47:22
【问题描述】:
我目前将 SMS 转发到一个号码用于多个应用程序 - 它使我的 SMS 收件箱保持整洁 - 喜欢它。
但是,我们正在使用多个 SMS 警报服务,我想将它们转发给我的团队,以便我们都能收到警报。我的编码技能不是很强,所以我在这里努力了解我可以做些什么来完成这项工作。长话短说,一条 SMS 消息进来并立即转发到多个号码。
这是我用于转发到一个号码的代码。如何转发到多个号码?
> [root@centos64 html]# more fwdsms.php
> <?php
> header('Content-Type: text/html');
> ?>
> <Response>
> <Message to="<?=$_REQUEST['PhoneNumber']?>">
> <?=htmlspecialchars(substr($_REQUEST['From'] . ": " . $_REQUEST['Body'], 0, 1600))?>
> </Message>
> </Response>
> [root@centos64 html]#
【问题讨论】:
标签: twilio