From 26fea001257afcf7b1b13fbd4ec0cfb3d6b05e85 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 31 Dec 2007 20:41:35 +0000 Subject: [PATCH] park should not render but everything else should git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7046 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 156b5f555e..afccf7ea55 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -746,7 +746,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * stream.write_function(&stream, "\nsip:%s@%s;%s=%s\n", proto, proto, host, proto, !switch_strlen_zero(clean_to_user) ? clean_to_user : "unknown"); stream.write_function(&stream, "\n", proto, host); - stream.write_function(&stream, "\n\n\n"); + stream.write_function(&stream, "\n\n\n", + !strcasecmp(proto, "park") ? "no" : "yes"); stream.write_function(&stream, "\nsip:%s@%s\n", proto, uuid, host); stream.write_function(&stream, "\n", proto, uuid, host, proto, uuid); stream.write_function(&stream, "\n");