我之前写过一篇文章, 终端注册请求发到 OpenSIPS, 后者加 path 头之后 relay 到 Fs
Fs 呼叫终端是没问题的,但 Fs 通过 chat 给终端发 SIP Mesage 可要了命了,直接出错
那这问题到底要怎样解决呢?
探索中...
chat 肯定不行,不支持 sip proxy
查到一篇文档,按我现在的理解,要 fire 这样一个 event
sendevent CUSTOM SMS::SEND_MESSAGE
profile: internal
content-type: text/plain
event-string: check-sync
user: 1002
host: 3.local
to-uri: 1002@3.local
from-uri: 1002@3.local
contact-uri: sip:1002@192.168.0.99:11710;fs_path=sip:192.168.207.156:5060
留意 contact-uri, to-uri, and from-uri
改天去做测试
可查下官方 mod_event_socket 的相关资料
有兴趣的可留言给我
3409

被折叠的 条评论
为什么被折叠?



