[commit] r10102 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Tue Oct 21 16:01:52 2008 New Revision: 10102 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Log: alternate fix for MODENDP-144 that does not break eyebeam/x-lite Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Tue Oct 21 16:01:52 2008 @@ -791,6 +791,13 @@ { 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"
participants (1)
-
Freeswitch SVN