Fri Aug 8 07:55:01 EDT 2008 Pekka Pessi <first.last@nokia.com>

* nua_subnotref.c: do not terminate SUBSCRIBE usage if Expires: 0 is used
  
  Terminate subscription only when NOTIFY is received or timeout occurs.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9277 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-08-12 17:07:20 +00:00
parent 8eaf59b7f3
commit 426570b105
2 changed files with 1 additions and 6 deletions

View File

@ -1 +1 @@
Tue Aug 12 13:06:53 EDT 2008
Tue Aug 12 13:07:15 EDT 2008

View File

@ -256,11 +256,6 @@ static int nua_subscribe_client_request(nua_client_request_t *cr,
struct event_usage *eu = nua_dialog_usage_private(du);
sip_event_t *o = sip->sip_event;
if (eu->eu_notified &&
sip->sip_expires &&
sip->sip_expires->ex_delta == 0)
cr->cr_terminating = 1;
if (nua_client_bind(cr, du) < 0)
return -1;