[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Sep 9 14:45:50 CDT 2010


branch "master" has been updated
       via  984f7d26fd22b625cfeb397f6a05ae7f297496f0 (commit)
      from  b37828b7ce257b319e77b117e13b9952c97a58b6 (commit)

Summary of changes:
 local-slice/SipStateReplicationIf.ice |   54 +++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 local-slice/SipStateReplicationIf.ice


- Log -----------------------------------------------------------------
commit 984f7d26fd22b625cfeb397f6a05ae7f297496f0
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Sep 9 14:46:32 2010 -0500

    Add initial SipStateReplicationIf.ice with data that will need to
    be replicated in order to facilitate failover of SIP calls.

diff --git a/local-slice/SipStateReplicationIf.ice b/local-slice/SipStateReplicationIf.ice
new file mode 100644
index 0000000..52c981c
--- /dev/null
+++ b/local-slice/SipStateReplicationIf.ice
@@ -0,0 +1,54 @@
+#pragma once
+
+module AsteriskSCF
+{
+module SIP
+{
+["suppress"]
+module V1
+{
+
+   class SipDialogDataItem
+   {
+      string mCallId;
+	  bool mIsDialogEstablished;
+	  bool mIsSecure;
+	  int mLocalCSeq;
+	  string mLocalTag;
+	  string mLocalUri;
+	  int mRemoteCSeq;
+	  string mRemoteTag;
+	  string mRemoteUri;
+	  Ice::StringSeq mRouteSet;
+	  string mTransport;
+   }
+
+   enum TransactionState
+   {
+      //Fill this in later
+   }
+
+   class TransactionDataItem
+   {
+      string mBranch;
+	  TransactionState mCurrentState;
+	  //Indicates whether we were the originator
+	  //of the transaction. On a failover, this in
+	  //tandem with the current state of the transaction
+	  //can be used to determine if we are awaiting a
+	  //message or are supposed to be sending one.
+	  bool mIsClient;
+   }
+
+   class SessionDataItem
+   {
+      //XXX There probably needs to be a lot more specified
+	  //here, but frankly I have no clue.
+      AsteriskSCF::Media::V1::StreamSourceSeq mSources;
+      AsteriskSCF::Media::V1::StreamSinkSeq mSinks;
+      AsteriskSCF::Media::V1::Session mSources;
+   }
+
+}; //module V1
+}; //module SIP
+}; //module Asterisk SCF

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list