KAPSYSTEM – BULK SMS PROVIDERS

  • Free Demo / Signup

Integrate Two way SMS with ASP.NET

Posted on July 25, 2014 by kapadmin Posted in Technical .

How does it work?

2waysmsnew

Step 1:

The user needs a specific number to send his messages to SMS gateway. You can use either long code or short code which is provided by your SMS Gateway Provider.

A short code is a 5-6 digit code like 56767. Long code is 10 digit number. It is like mobile number but not the mobile number. It’s called Virtual Mobile Number(VMN).

Step 2:

After receiving SMS from user, SMS Gateway sends the user mobile number and request message details to application server.

Step 3:

Application server generates response for the particular user’s request from server and sends back to SMS Gateway via HTTP API.

Step 4:

SMS gateway forwards the same back to user’s mobile number immediately.

Feature of two way sms:

  • It can be used for customer feedback
  • Used for customer survey
  • Online Voting
  • Most of the time this  SMS services can be used for customer enquiry

How to integrate two way SMS in your application with ASP.net

using System;

using System.Collections;

using System.Configuration;

using System.Data;

using System.Linq;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.HtmlControls;

using System.Web.UI.WebControls;

using System.Net.Mail;

using System.Net;

using System.IO;

using System.Xml.Linq;

using System.Data.SqlClient;

using System.Text;

 

 

public partial class Twowaysms : System.Web.UI.Page

{

 

string mobile = “”;

protected void Page_Load(object sender, EventArgs e)

{

mobile = Request.QueryString[“dest_mobileno”].ToString();

Response.Clear();

Response.ClearHeaders();

Response.ContentType = “text/plain”;

Response.Write(“Thanks for your valuable feedback!!! Have a nice day:)”);

 

Response.End();

SendSMStoCustomer();

}

 

public void SendSMStoCustomer()

{

string Respond_message = “Test message”;

string dest_mobileno = “XXXXXXXXX”;

//To send SMS via transactional route

WebClient client = new WebClient();

string baseurl = “http://123.63.33.43/blank/sms/user/urlsmstemp.php?username=xxxx&pass=xxxx&senderid=xxxx&dest_mobileno=” + dest_mobileno + “&message=” + Respond_message + “&response=Y”;

Stream data = client.OpenRead(baseurl);

StreamReader reader = new StreamReader(data);

string s = reader.ReadToEnd();

data.Close();

reader.Close();

 

}

}

 

Get more details on http://kapsystem.com/bulksms/index.htm

Need Demo click on http://kapsystem.com/freedemo.php

For further assistance mail to info@kapsystem.com or call on +91 97380 10000

Tags: Bulk SMS Gateway, Bulk SMS Provider, Integrate Two way SMS with ASP.NET, SMS Gateway Provider .
« SMS used by Machine to Machine
Short Code Service »

Pages

  • Free Demo / Signup

Archives

  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014

Categories

  • Bulk SMS (25)
  • Bulk SMS API (6)
  • Career (2)
  • Health (3)
  • Industry (73)
  • Lowest Price Bulk SMS (10)
  • Social Message (1)
  • Technical (4)
  • Uncategorized (114)

WordPress

  • Log in
  • WordPress

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Pages

  • Free Demo / Signup

Archives

  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • October 2014
  • September 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014

Categories

  • Bulk SMS (25)
  • Bulk SMS API (6)
  • Career (2)
  • Health (3)
  • Industry (73)
  • Lowest Price Bulk SMS (10)
  • Social Message (1)
  • Technical (4)
  • Uncategorized (114)

WordPress

  • Log in
  • WordPress

CyberChimps WordPress Themes

BPO Call Center Best SEO Company