提交 ef24ef8d authored 作者: Anthony Minessale's avatar Anthony Minessale

alternate fix for MODENDP-144 that does not break eyebeam/x-lite

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10102 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7904c465
......@@ -791,6 +791,13 @@ static char *gen_pidf(char *user_agent, char *id, char *url, char *open, char *r
{
if (switch_stristr("polycom", user_agent)) {
*ct = "application/xpidf+xml";
/* of course!, lets make a big deal over dashes. Now the stupidity is complete. */
if (!strcmp(prpid, "on-the-phone")) {
prpid = "onthephone";
}
return switch_mprintf(
"<?xml version=\"1.0\"?>\n"
"<!DOCTYPE presence PUBLIC \"-//IETF//DTD RFCxxxx XPIDF 1.0//EN\" \"xpidf.dtd\">\n"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论