make sofia not auto-respond to SUBSCRIBE refresh requests

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16273 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-01-13 15:47:14 +00:00
parent b26151d0f8
commit 2d73aba12b
1 changed files with 2 additions and 2 deletions

View 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);