提交 fa2fe6a2 authored 作者: Michael Jerris's avatar Michael Jerris

Tue Jan 13 14:59:50 CST 2009 Pekka Pessi <first.last@nokia.com>

  * nua_session.c: send answer in ACK if offer was sent in 200 OK to re-INVITE
  
  Thanks for Liu Yang for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11813 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7d792fe3
Wed Feb 11 10:54:37 CST 2009 Wed Feb 11 10:55:01 CST 2009
...@@ -1294,7 +1294,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags) ...@@ -1294,7 +1294,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
while (sip->sip_supported) while (sip->sip_supported)
sip_header_remove(msg, sip, (sip_header_t*)sip->sip_supported); sip_header_remove(msg, sip, (sip_header_t*)sip->sip_supported);
if (ss == NULL || ss->ss_state >= nua_callstate_ready) if (ss == NULL || ss->ss_state > nua_callstate_ready)
; ;
else if (cr->cr_offer_recv && !cr->cr_answer_sent) { else if (cr->cr_offer_recv && !cr->cr_answer_sent) {
if (nh->nh_soa == NULL) { if (nh->nh_soa == NULL) {
...@@ -1312,7 +1312,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags) ...@@ -1312,7 +1312,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
} }
} }
if (ss == NULL || ss->ss_state >= nua_callstate_ready || reason) if (ss == NULL || ss->ss_state > nua_callstate_ready || reason)
; ;
else if (nh->nh_soa && soa_is_complete(nh->nh_soa)) { else if (nh->nh_soa && soa_is_complete(nh->nh_soa)) {
/* signal SOA that O/A round(s) is (are) complete */ /* signal SOA that O/A round(s) is (are) complete */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论