From 8f8af383654dcb3caf7cb483c073e63d8e2a3a7d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 7 Mar 2012 13:05:27 -0600 Subject: [PATCH] FS-3983 try this --- src/mod/endpoints/mod_sofia/sofia_presence.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 1dfa7188cd..6e1d895074 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2499,7 +2499,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * } - if (!zstr(uuid)) { + if (zstr(uuid)) { + stream.write_function(&stream, "terminated\n"); + } else { if (!zstr(answer_state)) { astate = answer_state; }