示例#1
0
        public MyRegistrationSession(MySipStack sipStack)
            : base(sipStack)
        {
#if WINDOWS_PHONE
            this.session = org.doubango.WindowsPhone.BackgroundProcessController.Instance.rtRegistrationSessionNew(sipStack.WrappedStack);
#else
            this.session = new RegistrationSession(sipStack.WrappedStack);
#endif

            // commons
            base.init();

            // SigComp
            base.SigCompId = sipStack.SigCompId;

            /* support for 3GPP SMS over IP */
            this.session.addCaps("+g.3gpp.smsip", BogheCore.Utils.StringUtils.nullptr);

            /* support for OMA Large message (as per OMA SIMPLE IM v1) */
            this.session.addCaps("+g.oma.sip-im.large-message", BogheCore.Utils.StringUtils.nullptr);

            /* 3GPP TS 24.173
             *
             * 5.1 IMS communication service identifier
             * URN used to define the ICSI for the IMS Multimedia Telephony Communication Service: urn:urn-7:3gpp-service.ims.icsi.mmtel.
             * The URN is registered at http://www.3gpp.com/Uniform-Resource-Name-URN-list.html.
             * Summary of the URN: This URN indicates that the device supports the IMS Multimedia Telephony Communication Service.
             *
             * 5.2 Session control procedures
             * The multimedia telephony participant shall include the g.3gpp. icsi-ref feature tag equal to the ICSI value defined
             * in subclause 5.1 in the Contact header field in initial requests and responses as described in 3GPP TS 24.229 [13].
             */
            /* GSMA RCS phase 3 - 3.2 Registration */
            this.session.addCaps("audio", BogheCore.Utils.StringUtils.nullptr);
            this.session.addCaps("+g.3gpp.icsi-ref", "\"urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel\"");
            this.session.addCaps("+g.3gpp.icsi-ref", "\"urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs\"");
            // In addition, in RCS Release 3 the BA Client when used as a primary device will indicate the capability to receive SMS
            // messages over IMS by registering the SMS over IP feature tag in accordance with [24.341]:
            this.session.addCaps("+g.3gpp.cs-voice", BogheCore.Utils.StringUtils.nullptr);
        }
示例#2
0
        public MyRegistrationSession(MySipStack sipStack)
            : base(sipStack)
        {
            #if WINDOWS_PHONE
            this.session = org.doubango.WindowsPhone.BackgroundProcessController.Instance.rtRegistrationSessionNew(sipStack.WrappedStack);
            #else
            this.session = new RegistrationSession(sipStack.WrappedStack);
            #endif

            // commons
            base.init();

            // SigComp
            base.SigCompId = sipStack.SigCompId;

            /* support for 3GPP SMS over IP */
            this.session.addCaps("+g.3gpp.smsip", BogheCore.Utils.StringUtils.nullptr);

            /* support for OMA Large message (as per OMA SIMPLE IM v1) */
            this.session.addCaps("+g.oma.sip-im.large-message", BogheCore.Utils.StringUtils.nullptr);

            /* 3GPP TS 24.173
            *
            * 5.1 IMS communication service identifier
            * URN used to define the ICSI for the IMS Multimedia Telephony Communication Service: urn:urn-7:3gpp-service.ims.icsi.mmtel.
            * The URN is registered at http://www.3gpp.com/Uniform-Resource-Name-URN-list.html.
            * Summary of the URN: This URN indicates that the device supports the IMS Multimedia Telephony Communication Service.
            *
            * 5.2 Session control procedures
            * The multimedia telephony participant shall include the g.3gpp. icsi-ref feature tag equal to the ICSI value defined
            * in subclause 5.1 in the Contact header field in initial requests and responses as described in 3GPP TS 24.229 [13].
            */
            /* GSMA RCS phase 3 - 3.2 Registration */
            this.session.addCaps("audio", BogheCore.Utils.StringUtils.nullptr);
            this.session.addCaps("+g.3gpp.icsi-ref", "\"urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel\"");
            this.session.addCaps("+g.3gpp.icsi-ref", "\"urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs\"");
            // In addition, in RCS Release 3 the BA Client when used as a primary device will indicate the capability to receive SMS
            // messages over IMS by registering the SMS over IP feature tag in accordance with [24.341]:
            this.session.addCaps("+g.3gpp.cs-voice", BogheCore.Utils.StringUtils.nullptr);
        }