我尝试将OpenSIPS实施2.4.1从常规数据中心迁移到Azure。 我使用启用了NAT的标准住宅脚本,注册人和动态路由模块。呼叫正常,路由模块正在工作。问题是我无法将基于路由模块的呼叫转发到星号实例的另一个端口上的相同内部IP。
我的配置:
...
listen=udp:10.209.xx.xx:5060 as 40.xx.xx.xx:5060
alias=udp:40.xx.xx.xx:5060
alias=udp:10.209.xx.xx:5060
...
调试:
/usr/sbin/opensips[21038]: DBG:drouting:do_routing: using dr group 1, rule_idx 0, username xyz
/usr/sbin/opensips[21038]: DBG:drouting:internal_check_rt: found rgid 1 (rule list 0x7f81e3cc2490)
/usr/sbin/opensips[21038]: DBG:drouting:push_gw_for_usage: adding gw [Dries] as "sip:0123456789/xyz@10.209.xx.xx:5070" in order 0
/usr/sbin/opensips[21038]: DBG:drouting:push_gw_for_usage: setting GW id [Dries] as avp
/usr/sbin/opensips[21038]: DBG:tm:t_newtran: transaction on entrance=(nil)
/usr/sbin/opensips[21038]: DBG:core:parse_headers: flags=ffffffffffffffff
/usr/sbin/opensips[21038]: DBG:core:parse_headers: flags=78
/usr/sbin/opensips[21038]: DBG:tm:t_lookup_request: start searching: hash=48689, isACK=0
/usr/sbin/opensips[21038]: DBG:tm:matching_3261: RFC3261 transaction matching failed