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
This commit is contained in:
parent
7904c46533
commit
ef24ef8db9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue