[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "nat-support" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jul 6 09:27:41 CDT 2011


branch "nat-support" has been updated
       via  9c3dc6a9d0a70dfb93ef2544d0709e225f961df8 (commit)
      from  608285ecd4ac5f2ad353511a10394a9cc7ce435e (commit)

Summary of changes:
 slice/AsteriskSCF/System/NAT/NATTraversalIf.ice |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 9c3dc6a9d0a70dfb93ef2544d0709e225f961df8
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Jul 5 11:56:57 2011 -0230

    Added a couple of members to the negotiation interface to provide more
    info to the ICE agent on who it is trying to negotiate with.

diff --git a/slice/AsteriskSCF/System/NAT/NATTraversalIf.ice b/slice/AsteriskSCF/System/NAT/NATTraversalIf.ice
index 28194bd..48a23c6 100644
--- a/slice/AsteriskSCF/System/NAT/NATTraversalIf.ice
+++ b/slice/AsteriskSCF/System/NAT/NATTraversalIf.ice
@@ -343,7 +343,11 @@ interface InteractiveConnectionAgent
      * When provided a sequence of candidates from a remote agent, select the best Candidate for communicating
      * with this agent. 
      * 
-     * @parmap proposedCandidates The sequence of candidates from the remote agent.
+     * @param proposedCandidates The sequence of candidates from the remote agent.
+     * 
+     * @param hostname The target host
+     * 
+     * @param port The intended port (may be 0 if defaults are to be used)
      *
      * @throws UnsupportedCandidate if there something about the provided Candidates that is not supported
      * by this agent.
@@ -353,7 +357,7 @@ interface InteractiveConnectionAgent
      * @throws NoValidCandidates if all connection check fail.
      *
      **/
-    Candidate negotiate(CandidateSeq proposedCandidates) throws UnsupportedCandidate, NegotiationNotSupported,
+    Candidate negotiate(string hostname, int port, CandidateSeq proposedCandidates) throws UnsupportedCandidate, NegotiationNotSupported,
               NoValidCandidates;
 
     /**

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list