From: Anthony Minessale Date: Mon, 20 Feb 2012 17:11:15 +0000 (-0600) Subject: FS-3794 X-Git-Tag: v1.2-rc1~19^2^2~68^2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4c800fb3616e2bffc686b66fc9c73f5c0c1eba;p=thirdparty%2Ffreeswitch.git FS-3794 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 719cdfcecd..0bb119f8d3 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1124,7 +1124,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event) switch_safe_free(sql); - +#if 0 if (hup && dh.hits > 0) { /* sigh, mangle this packet to simulate a call that is up instead of hungup */ event->flags |= EF_UNIQ_HEADERS; @@ -1155,7 +1155,7 @@ static void actual_sofia_presence_event_handler(switch_event_t *event) switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "answer-state", "confirmed"); } } - +#endif if (zstr(call_id) && (dh.hits && presence_source && (!strcasecmp(presence_source, "register") || switch_stristr("register", status)))) { goto done;