]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make sofia not auto-respond to SUBSCRIBE refresh requests
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Jan 2010 15:47:14 +0000 (15:47 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Jan 2010 15:47:14 +0000 (15:47 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16273 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/libsofia-sip-ua/nua/nua_notifier.c

index 263632bb9d166b29c2898fda8ca142392650563d..c22804b33cc06a977851c8cb72832ce4be796273 100644 (file)
@@ -257,10 +257,10 @@ int nua_subscribe_server_preprocess(nua_server_request_t *sr)
   }
   else {
     /* Refresh existing subscription */
-    if (su_strmatch(event, "refer"))
+         if (su_strmatch(event, "refer")){
       expires = NH_PGET(nh, refer_expires);
 
-    SR_STATUS1(sr, SIP_200_OK);
+         SR_STATUS1(sr, SIP_200_OK);}
   }
 
   nu = nua_dialog_usage_private(du);