Module: sems
Branch: master
Commit: 8e76b11a39fe4b4d400940f05b88e18f4aee3c8f
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8e76b11a39fe4b4d400940f05b88e18f4aee3c8f

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Fri Jul 15 11:06:57 2011 +0200

fixes PRACK handling in early dialogs.

---

 core/AmSipDialog.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp
index 6cea146..a2d934e 100644
--- a/core/AmSipDialog.cpp
+++ b/core/AmSipDialog.cpp
@@ -698,6 +698,7 @@ void AmSipDialog::onRxReply(const AmSipReply& reply)
          status = Proceeding;
        else {
          status = Early;
+         remote_tag = reply.to_tag;
        }
       }
       else if(reply.code < 300){
@@ -1428,6 +1429,7 @@ int AmSipDialog::prack(const AmSipReply &reply1xx,
   case Trying:
   case Proceeding:
   case Cancelling:
+  case Early:
   case Connected:
     break;
   case Disconnected:

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to