提交 6afc2b5a authored 作者: Michael Jerris's avatar Michael Jerris

FS-6688: #resolve fix resubscribe through proxy with record route when the resub…

FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params
上级 91758c63
...@@ -3906,8 +3906,8 @@ void sofia_presence_handle_sip_i_subscribe(int status, ...@@ -3906,8 +3906,8 @@ void sofia_presence_handle_sip_i_subscribe(int status,
if (strstr(buf, "fs_path=") && !strstr(contact_str, "fs_path=")) { if (strstr(buf, "fs_path=") && !strstr(contact_str, "fs_path=")) {
char *e = strchr(buf,';'); char *e = strchr(buf,';');
size_t l = e ? buf-e : strlen(buf); size_t l = e ? e-buf : strlen(buf);
if (strncmp(contact_str,buf,l)) { if (!strncmp(contact_str,buf,l)) {
contact = buf; contact = buf;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论