Module: sems Branch: master Commit: 18fdbc9a348c63308417e85dd051b06465f13225 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=18fdbc9a348c63308417e85dd051b06465f13225
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Wed Oct 6 15:57:38 2010 +0200 added: comments concerning 2xx-ACK and non-2xx-ACK --- core/sip/trans_layer.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp index cd15a31..5879522 100644 --- a/core/sip/trans_layer.cpp +++ b/core/sip/trans_layer.cpp @@ -1312,7 +1312,7 @@ int _trans_layer::update_uac_reply(trans_bucket* bucket, sip_trans* t, sip_msg* switch(t->state){ case TS_CALLING: - case TS_PROCEEDING: + case TS_PROCEEDING: // first 2xx reply // TODO: // we should take care of 200 ACK re-transmissions @@ -1340,7 +1340,7 @@ int _trans_layer::update_uac_reply(trans_bucket* bucket, sip_trans* t, sip_msg* goto pass_reply; - case TS_TERMINATED_200: + case TS_TERMINATED_200: // subsequent 2xx reply (no ACK sent) if( (to_tag.len != t->to_tag.len) || (memcmp(to_tag.s,t->to_tag.s,to_tag.len) != 0) ){ @@ -1541,7 +1541,7 @@ int _trans_layer::update_uas_request(trans_bucket* bucket, sip_trans* t, sip_msg t->clear_timer(STIMER_H); return t->state; - case TS_COMPLETED: + case TS_COMPLETED: // non-2xx-ACK t->state = TS_CONFIRMED; t->clear_timer(STIMER_G); @@ -1550,10 +1550,10 @@ int _trans_layer::update_uas_request(trans_bucket* bucket, sip_trans* t, sip_msg t->reset_timer(STIMER_I,I_TIMER,bucket->get_id()); // drop through - case TS_CONFIRMED: + case TS_CONFIRMED: // non-2xx-ACK re-transmission return t->state; - case TS_TERMINATED_200: + case TS_TERMINATED_200: // 2xx-ACK // remove transaction bucket->remove(t); return TS_REMOVED; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
