提交 765908f3 authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-3152 --resolve dup_dest was being overwritten by switch_split_user_domain

上级 9e3c258f
......@@ -195,16 +195,10 @@ switch_status_t sofia_presence_chat_send(const char *proto, const char *from, co
}
if (dst->route_uri) {
remote_host = strdup(dst->route_uri);
remote_host = strdup(dup_dest);
if (!zstr(remote_host)) {
switch_split_user_domain(remote_host, NULL, &remote_ip);
}
}
if (zstr(remote_ip)) {
switch_split_user_domain(dup_dest, NULL, &remote_ip);
}
if (!zstr(remote_ip) && sofia_glue_check_nat(profile, remote_ip)) {
char *ptr = NULL;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论