public void SendInteractiveSmsMessage(SmsNode node, string largeAccount, string msisdn)
        {
            string sessionId = SmsUtils.BuildSession(largeAccount, msisdn);

            _msisdn = msisdn;

            this.Url = "http://127.0.0.1/" + Global.App.eSpaceName + "/" + sessionId + "/ismshandler.asmx";


            if ((HttpContext.Current.Session != null) && (sessionId == RuntimePlatformUtils.SessionPrefix + HttpContext.Current.Session.SessionID + RuntimePlatformUtils.SessionSuffix))
            {
                // To make sure the session is not blocked, make an assynchronous request
                BeginSendInteractiveSms(node, largeAccount, msisdn, new AsyncCallback(SendInteractiveSmsResult), null);
            }
            else
            {
                SendInteractiveSms(node, largeAccount, msisdn);
            }
        }
 public void SetupInteractiveSmsHandling(string origin, string destination, int nTenant, string patterns, int eSpaceId, string eSpaceName)
 {
     this.Url = "http://127.0.0.1/SmsHandler/" + SmsUtils.BuildSession(origin, destination) + "/iSmsNotificationHandler.asmx";
     // To make sure the session is not blocked, make an assynchronous request
     BeginSetupiSmsHandling(nTenant, patterns, eSpaceId, eSpaceName, new AsyncCallback(SetupiSmsHandlingResult), null);
 }