diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 0da7ee7809..d0beebec30 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -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( "\n" "\n"