提交 2ac4557f authored 作者: Anthony Minessale's avatar Anthony Minessale

fix issue with blf over a sip proxy

上级 b843911c
......@@ -1924,7 +1924,7 @@ static void _send_presence_notify(sofia_profile_t *profile,
route_uri = sofia_glue_strip_uri(dst->route_uri);
} else {
if (remote_ip && remote_port) {
route_uri = switch_mprintf("sip:%s:%s;transport=%s", remote_ip, remote_port, tp);
route_uri = switch_mprintf("sip:user@%s:%s;transport=%s", remote_ip, remote_port, tp);
}
}
......@@ -1987,7 +1987,8 @@ static void _send_presence_notify(sofia_profile_t *profile,
nua_notify(nh,
NUTAG_NEWSUB(1),
TAG_IF(dst->route_uri, NUTAG_PROXY(route_uri)), TAG_IF(dst->route, SIPTAG_ROUTE_STR(dst->route)),
TAG_IF(route_uri, NUTAG_PROXY(route_uri)),
TAG_IF(dst->route, SIPTAG_ROUTE_STR(dst->route)),
TAG_IF(user_via, SIPTAG_VIA_STR(user_via)),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论