ColdFusion短信网关实例问题
我的短信网关遇到了一个奇怪的问题。与外部网关的 SMPP 连接良好,发送消息从来都不是问题。
问题与我的传入.cfc 有关 - 网关实例指向“传入.cfc”,并且该文件设置为发送对传入消息的自动回复并向数据库添加一些详细信息。简单且经过测试即可正常工作。
每隔几天,传入的消息就会停止添加到数据库中,并且不会生成自动回复消息。日志文件表明(尽管未对传入.cfc 文件或任何其他文件或配置设置进行任何更改)我们已以某种方式“切换回”传入.cfc 文件的早期版本 - 我可以这么说,因为日志中返回消息的措辞与此早期版本匹配。
我已阅读 Adobe 文档,该文档表示网关将使用它指向的任何传入.cfc,并且如果更改 cfc,则无需刷新事件网关实例 - 即使旧的 cfc 已从服务器中完全删除并且新的未更改 - 当问题发生时(每隔一天),实例刷新会出现以修复它。
有人见过这样的东西吗?
感谢您的聆听!
西蒙
I am having a strange problem with my SMS Gateway. The SMPP connection to the external gateway is fine, and outgoing messages are never a problem.
The problem is to do with my incoming.cfc - the gateway instance points to "incoming.cfc" and that file is set up to send an auto reply to the incoming message and add some details to a database. Simple and it works as tested.
Every couple of days though the incoming messages stop getting added to the database, and the auto reply messages don't get generated. The log files indicate that (although no changes have been made to either the incoming.cfc file or any other files or configuration settings) we have somehow "switched back" to an earlier version of the incoming.cfc file - I can tell this because the wording of the return message in the logs matches this earlier version.
I have read Adobe documentation that says the gateway will use whatever incoming.cfc it is pointed to and you don't need to refresh the event gateway instance if you change the cfc - even though the old cfc has been deleted off the server entirely and the new one not changed - when the problem occurs (every other day) an instance refresh appears to fix it.
Has anyone seen anything like this?
Thanks for listening!
Simon
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将您的
cfc
从incoming.cfc
重命名为incoming2.cfc
Try renaming your
cfc
fromincoming.cfc
toincoming2.cfc