Module: sems Branch: 1.5 Commit: 22e12647cd7c941cb6950c340b31b873231f497e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=22e12647cd7c941cb6950c340b31b873231f497e
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Wed Oct 3 12:09:17 2012 +0200 b/f: fix record-routing in early dialog (fixes PRACK routing) Thx to Nathan Angelacos for reporting the issue. --- core/AmSipDialog.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index d121606..17c9731 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -406,6 +406,9 @@ void AmSipDialog::onRxReply(const AmSipReply& reply) else { status = Early; remote_tag = reply.to_tag; + route = reply.route; + if(!reply.to_uri.empty()) + remote_uri = reply.to_uri; } } else if(reply.code < 300){ _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
