From 36851a90b72292446b1e55257e15415da6dd3350 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 19 Oct 2010 13:33:07 -0500 Subject: [PATCH] dont update display to ring when call is hungup in pidf presence --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 67db5dba92..cdaec04d5e 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1511,7 +1511,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * } - if (!is_dialog) { + if (!is_dialog && (zstr(astate) || strcasecmp(astate, "hangup"))) { switch_set_string(status_line, status); if (in) {