From c4347e6e8171e4d314443b164e6ce5210705402b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 27 Mar 2013 11:37:15 -0500 Subject: [PATCH] FS-5234 --resolve --- src/mod/endpoints/mod_sofia/sofia_presence.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"))) {