Esempio n. 1
0
        /// <summary>
        /// Creates instance of the SubmitSMS message
        /// </summary>
        /// <param name="messageToSent">Message to be sent</param>
        public SMSSubmit(ISmsMessageContent messageToSent)
        {
            // Set the default values
            this.RequestDeliveryConfirmation = false;
            this.ValidityPeriod     = TimeSpan.MinValue;
            this.MessageReference   = 0x00;
            this.ProtocolIdentifier = 0x00;
            this.MessageToSend      = messageToSent;

            this.Indication           = new MessageIndication(MessageClass.MESpecific);
            this.Indication.Type      = IndicationType.Voicemail;
            this.Indication.Operation = MessageIndicationOperation.NotSet;
            this.Indication.IsActive  = false;
        }
Esempio n. 2
0
        /// <summary>
        /// Creates instance of the SubmitSMS message
        /// </summary>
        /// <param name="messageToSent">Message to be sent</param>
        public SMSSubmit(ISmsMessageContent messageToSent)
        {
            // Set the default values
            this.RequestDeliveryConfirmation = false;
            this.ValidityPeriod = TimeSpan.MinValue;
            this.MessageReference = 0x00;
            this.ProtocolIdentifier = 0x00;
            this.MessageToSend = messageToSent;

            this.Indication = new MessageIndication(MessageClass.MESpecific);
            this.Indication.Type = IndicationType.Voicemail;
            this.Indication.Operation = MessageIndicationOperation.NotSet;
            this.Indication.IsActive = false;
        }