From: Brian West Date: Mon, 31 Dec 2007 20:41:35 +0000 (+0000) Subject: park should not render but everything else should X-Git-Tag: v1.0-rc1~851 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fea001257afcf7b1b13fbd4ec0cfb3d6b05e85;p=thirdparty%2Ffreeswitch.git park should not render but everything else should git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7046 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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");