[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "sip-auth-hook" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Wed Feb 9 10:30:53 CST 2011
branch "sip-auth-hook" has been updated
via 89e06ac4dbdf1d9d6043a7770497dc83a05ae17a (commit)
via 06e3aa507539fe0e017ebcfce6d476e33507ff2e (commit)
from 82d142a052204f76cd21b8ecc58f69147e95491e (commit)
Summary of changes:
AsteriskSCF/SIP/SIPExtensionPointIf.ice | 81 +++++++++++++++++++++++++++++++
1 files changed, 81 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 89e06ac4dbdf1d9d6043a7770497dc83a05ae17a
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Wed Feb 9 10:30:33 2011 -0600
Add RequestInfo subclasses for all IANA-registered SIP request methods.
diff --git a/AsteriskSCF/SIP/SIPExtensionPointIf.ice b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
index e2071dd..9b9f642 100644
--- a/AsteriskSCF/SIP/SIPExtensionPointIf.ice
+++ b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
@@ -68,6 +68,76 @@ module V1
RequestTransport transport;
};
+ // RFC 3261 - ACK method
+ class AckRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3261 - BYE method
+ class ByeRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3261 - CANCEL method
+ class CancelRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 6086 - INFO method
+ class InfoRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3261/6026 - INVITE method
+ class InviteRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3428 - MESSAGE method
+ class MessageRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3265 - NOTIFY method
+ class NotifyRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3261 - OPTIONS method
+ class OptionsRequestInfo extends InviteRequestInfo
+ {
+ };
+
+ // RFC 3262 - PRACK method
+ class PrackRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3903 - PUBLISH method
+ class PublishRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3515 - REFER method
+ class ReferRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3261 - REGISTER method
+ class RegisterRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3265 - SUBSCRIBE method
+ class SubscribeRequestInfo extends RequestInfo
+ {
+ };
+
+ // RFC 3311 - UPDATE method
+ class UpdateRequestInfo extends RequestInfo
+ {
+ };
+
enum DigestAlgorithm
{
MD5,
@@ -108,6 +178,8 @@ module V1
NonDialog,
// Examples of 'In Dialog' requests include (but are not limited to):
// (RFC3261) INVITE with a valid To tag denoting an existing dialog
+ // (RFC3261) ACK with a valid To tag denoting an existing dialog
+ // (RFC3261) BYE with a valid To tag denoting an existing dialog
// (RFC3265) SUBSCRIBE with a valid To tag denoting an existing dialog
InDialog,
};
commit 06e3aa507539fe0e017ebcfce6d476e33507ff2e
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Wed Feb 9 10:19:44 2011 -0600
Document some examples of SIP methods that fall into each category
of RequestType.
diff --git a/AsteriskSCF/SIP/SIPExtensionPointIf.ice b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
index dffcd74..e2071dd 100644
--- a/AsteriskSCF/SIP/SIPExtensionPointIf.ice
+++ b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
@@ -98,8 +98,17 @@ module V1
enum RequestType
{
+ // Examples of 'Dialog Establishing' requests include (but are not limited to):
+ // (RFC3261) INVITE without a To tag
+ // (RFC3265) SUBSCRIBE without a To tag
DialogEstablishing,
+ // Examples of 'Non Dialog' requests include (but are not limited to):
+ // (RFC3261) OPTIONS
+ // (RFC3261) REGISTER
NonDialog,
+ // Examples of 'In Dialog' requests include (but are not limited to):
+ // (RFC3261) INVITE with a valid To tag denoting an existing dialog
+ // (RFC3265) SUBSCRIBE with a valid To tag denoting an existing dialog
InDialog,
};
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list