]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add newsub tag to presence notify
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 23 Oct 2007 22:15:09 +0000 (22:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 23 Oct 2007 22:15:09 +0000 (22:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6039 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index feb67ca777da5fc0d5292b66560371456b01629e..97c17e903eb44dd06ccfb2c5173744605081c559 100644 (file)
@@ -553,6 +553,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
        contact = sofia_glue_get_url_from_contact(tmp, 0);
 
        nua_notify(nh,
+                          NUTAG_NEWSUB(1),
                           NUTAG_URL(contact),
                           SIPTAG_TO_STR(full_from),
                           SIPTAG_FROM_STR(id),