Wed Aug 6 15:17:30 EDT 2008 Pekka Pessi <first.last@nokia.com>

* nua_subnotref.c: nua_unsubscribe() should not terminate usage w/ final response
  
  Do not terminate until final NOTIFY or timeout.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9275 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-08-12 17:06:35 +00:00
1 parent 81e1edffa9
commit b489249f60
3 files changed
+7 -4

No files matched your search

+4 -1
View File
@@ -954,7 +954,10 @@ int test_subscribe_notify(struct context *ctx)
TEST(e->data->e_status, 200);
r_tags = e->data->e_tags;
TEST_1(tl_find(r_tags, nutag_substate));
TEST(tl_find(r_tags, nutag_substate)->t_value, nua_substate_terminated);
if (en1 == a->events->head)
TEST(tl_find(r_tags, nutag_substate)->t_value, nua_substate_terminated);
else
TEST(tl_find(r_tags, nutag_substate)->t_value, nua_substate_active);
TEST_1(sip = sip_object(e->data->e_msg));
TEST_1(sip->sip_expires);
TEST_1(sip->sip_expires->ex_delta == 0);