From: Anthony Minessale Date: Wed, 27 Mar 2013 16:37:15 +0000 (-0500) Subject: FS-5234 --resolve X-Git-Tag: v1.3.17-final~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4347e6e8171e4d314443b164e6ce5210705402b;p=thirdparty%2Ffreeswitch.git FS-5234 --resolve --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index d57b434c45..6232671817 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -4259,6 +4259,12 @@ void sofia_presence_handle_sip_i_publish(nua_t *nua, sofia_profile_t *profile, n if ((tuple = switch_xml_child(xml, "tuple")) && (status = switch_xml_child(tuple, "status")) && (basic = switch_xml_child(status, "basic"))) { open_closed = basic->txt; + + if ((note = switch_xml_child(tuple, "note"))) { + rpid = note_txt = note->txt; + } else if ((note = switch_xml_child(tuple, "dm:note"))) { + rpid = note_txt = note->txt; + } } if ((person = switch_xml_child(xml, "dm:person"))) {