Connecting to SMSC. Sending/Recieving SMS Messages. How?

Connecting to SMSC. Sending/Recieving SMS Messages. How? SearchSearch
Author Message
zeesh
New member
Username: Zeesh

Post Number: 1
Registered: 12-2005
Posted on Thursday, December 01, 2005 - 05:56 pm:   

i'm working on a project which requires me to build an information service for a local organization here. here is wat needs to be done:

1) A Mobile user sends an SMS message to a certain number

2) The mobile connection provider's SMSC receives the SMS message

PROBLEM#1: How do i get that SMS message from the SMSC to my own PC for processing?

3) After i've received the SMS message from teh SMSC, i process it, query a database according to the SMS string and return the results to the SMSC

PROBLEM#2: How do i send the SMS message back to the SMSC to return the database query results to the mobile user who sent the SMS?

i need any and all help possible that can aid me accomplishing this task. I'd appreciate if i could be referred to some Mobile SMSC Architecture or some classes/procedures could be recommended!!
zeesh
New member
Username: Zeesh

Post Number: 2
Registered: 12-2005
Posted on Thursday, December 01, 2005 - 05:59 pm:   

I'd appreciate it if someone gave me a complete guide/overview of the process coz i'm really new at this stuff!! thx in advance!!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5296
Registered: 10-2002
Posted on Friday, December 02, 2005 - 03:04 pm:   

Hi Zeesh,

You either need a GSM modem, or a connection to a mobile operator that allows you to send/receive messages.

A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone. From the mobile operator perspective, a GSM modem looks just like a mobile phone.

However, a GSM modem exposes an interface that allows applications such as NowSMS to send and receive messages over the modem interface. The mobile operator charges for this message sending and receiving as if it was performed directly on a mobile phone.

GSM modems can be a quick and efficient way to get started with SMS, because a special subscription to an SMS service provider is not required. In most parts of the world, GSM modems are a cost effective solution for receiving SMS messages, because the sender is paying for the message delivery.

While there are specialized GSM modem devices, such as the Siemens MC35 Terminal, or various devices from Wavecom, many mobile phones also have inbuilt GSM modem capability. Capabilities vary by mobile phone, but different mobile phones have options to connect to a PC as a GSM modem using a serial or USB cable, or using Bluetooth or infrared technologies.

A partial list of GSM modems that have been tried with NowSMS can be found at the following link: http://support.nowsms.com/discus/messages/1/4218.html
So basically, users are sending messages to the phone number associated with your GSM modem, and through this modem you can receive the messages on a PC for processing (more about this in a moment).

Alternatively, you can can get an account with an SMS service provider. You'd need an account that allowed you to both send and receive messages. Your receive number could be a standard format phone number, or you might want to pay more for a "short code" number.

You connect with an SMS service provider using a TCP/IP based protocol like SMPP or UCP/EMI.

NowSMS simplifies this process of developing this type of application through our "2-way" SMS facility.

Basically, you can configure NowSMS to send/receive SMS messages with either GSM modems or one or more connections over TCP/IP based protocols. Your application interacts with NowSMS over HTTP.

You can configure NowSMS to make an HTTP request to call a script that you have running on a standard web server every time an SMS message is received. That script might query a database, and it can either reply back directly with the text message to be sent in reply ... or it can make a new HTTP request to take some other action.

Here's more info about the NowSMS 2-way SMS facility:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm
http://support.nowsms.com/discus/messages/1/4520.html
http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm

The easiest way to get started with something to prototype is to use a GSM modem. Then if you need higher volume or cheaper sending rates, you can add an IP based connection to an SMS service provider.

-bn
zeesh
New member
Username: Zeesh

Post Number: 3
Registered: 12-2005
Posted on Friday, December 02, 2005 - 08:32 pm:   

Alternatively, you can can get an account with an SMS service provider. You'd need an account that allowed you to both send and receive messages. Your receive number could be a standard format phone number, or you might want to pay more for a "short code" number.

You connect with an SMS service provider using a TCP/IP based protocol like SMPP or UCP/EMI.


could yu elaborate more on this process coz the incoming sms messages is very large and i'll be needing a large account/alloted short code for the process. could yu tip me off in the right direction to get work started?

thx man!!
zeesh
New member
Username: Zeesh

Post Number: 4
Registered: 12-2005
Posted on Friday, December 02, 2005 - 08:41 pm:   

i've worked out i'll be using SMPP.
1)what exactly do i need to do to get this system(the one i mentioned in my first post) in shape?!?
2) contract with mobile conncetion provider - not a problem
3) what software/hardware is required?
4) whats the deal with the IP's?
zeesh
New member
Username: Zeesh

Post Number: 5
Registered: 12-2005
Posted on Sunday, December 04, 2005 - 10:08 pm:   

could yu give me a step by step procedure plz?
hari krishna
New member
Username: Grandhi_krishna

Post Number: 1
Registered: 12-2005
Posted on Tuesday, December 06, 2005 - 04:31 am:   

hi friends,

I need to send messages to mobiles through web.
Please explain the process involved to send messages.

Thanks in advance.

Regards
Krishna.}
lawrence harding
New member
Username: Lawrence

Post Number: 1
Registered: 12-2005
Posted on Wednesday, December 21, 2005 - 11:03 am:   

The main mobile players in the UK (Orange, Vodafone) appear not to provide SMSC access via the internet. Does anyone know different? After hours on the phone explaining that NowSMS can connect to their SMSC via HTTP I am becoming frustrated and disillusioned!

Alternatively, can anyone recommend an SMSC they are currently using?

Thanks.
Hanane Abdelhakmi
New member
Username: Nanou

Post Number: 1
Registered: 01-2006
Posted on Monday, January 02, 2006 - 03:37 pm:   

Hello,
i want to now if it's possible to extract from an SMS the IMEI of the mobile sender,
i'm working with SMS Module, i've a direct connection with the SMSC but i didn't find the command which return the MSISDN of the SIM and the IMEI of mobile

Thanks
Hanane Abdelhakmi
New member
Username: Nanou

Post Number: 2
Registered: 01-2006
Posted on Monday, January 02, 2006 - 03:38 pm:   

Hello,
i want to now if it's possible to extract from an SMS the IMEI of the mobile sender,
i'm working with SMS Module, i've a direct connection with the SMSC but i didn't find the AT command which return the MSISDN of the SIM and the IMEI of mobile

Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5420
Registered: 10-2002
Posted on Friday, January 13, 2006 - 08:27 pm:   


quote:

The main mobile players in the UK (Orange, Vodafone) appear not to provide SMSC access via the internet. Does anyone know different? After hours on the phone explaining that NowSMS can connect to their SMSC via HTTP I am becoming frustrated and disillusioned!

Alternatively, can anyone recommend an SMSC they are currently using?




They most definitely do provide this type of access. It is expensive (with a somewhat expensive setup fee and monthly minimum requirements), but possible.

The problem is that these mobile operators are big companies, and they employ a lot of people ... and most of those people only know about selling mobile phones.

For this type of connection, you need to ask for their developer programs.

And you're most likely not going to be using HTTP. SMPP is used more frequently for these types of connections..

But, like I say, going directly to a mobile operator tends to be expensive. And it also can be a very frustrating experience.

That's why there are so many SMS aggregators out there. Companies like mBlox, Simplewire, Clickatell, etc. You'd probably be better off dealing with one of them ... just be forewarned that many of these SMS aggregators are interested primarily in accounts that are going to send hundreds of thousands or millions of messages per month.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5421
Registered: 10-2002
Posted on Friday, January 13, 2006 - 08:46 pm:   


quote:

i want to now if it's possible to extract from an SMS the IMEI of the mobile sender,
i'm working with SMS Module, i've a direct connection with the SMSC but i didn't find the AT command which return the MSISDN of the SIM and the IMEI of mobile




If your GSM modem supports it, you can retrieve your IMSI with AT+CIMI, and the modem's IMEI with AT+CGSN.

But not all modem's support these.

There is NO command to return either the IMSI or IMEI associated with any other subscriber or device (such as a message sender). Such information might be available via the mobile operator via an SS7 connection, but it would not be easy to come by, as it would be considered commercially sensitive.

-bn
suryam.mangalampalli
New member
Username: Mnvsuryam

Post Number: 1
Registered: 01-2006
Posted on Sunday, January 15, 2006 - 09:55 am:   

hi buddi nidrapothunnavaa?
Seema Pannu
New member
Username: Seemapannu

Post Number: 1
Registered: 01-2006
Posted on Monday, January 16, 2006 - 04:47 am:   

sir,
i want to send message through the xml code
tell me steps to submit hoe to processin xml code
plz reply me
regards
seema pannu
Ramakrishna Amperayani
New member
Username: Amperayanirk

Post Number: 1
Registered: 01-2006
Posted on Saturday, January 21, 2006 - 09:15 am:   

hi friends,
This is Ramakrishna, doing sms application by using java. Is it possible to send sms using simple java code..Iam interested to use any third party tool. How can i do this one. Please cooperate.
Thanks in advance...
kris
lookasms
New member
Username: Lookasms

Post Number: 2
Registered: 01-2006
Posted on Wednesday, January 25, 2006 - 11:08 am:   

Hi,

If any body needs HTTP connectivity with the SMSC in India for bulk sms or developer account please contact me at great.king.cobra@gmail.com

lookasms
New member
Username: Lookasms

Post Number: 3
Registered: 01-2006
Posted on Wednesday, January 25, 2006 - 11:31 am:   

One question I found in this forum so many times is how to get connectivity with the operator or how to send sms via web?

I want to clear this to all users that you won't ever found any free sms service provider as Administrator of this forum quoted many times. In the end some one has to pay for that sms, so if, you want a really good service then stop searching free sms service providers.

Getting connected with the operator is not at all viable for anybody who has a monthly volume of less then 0.5 million sms and also operators are not intersted in anything less.

So the best way to get the connectivity for your application or other purpose is search for some aggregator in your country as they provide good support, less price and many connectivity options compratively to mobile operator.

From an aggregator you can get HTTP, SMPP, FTP and E-mail connectivity depending upon your needs. Aggregators generally offers web interface too for their low volume customers which is not at all available with the operator.

Sorry for my poor grammer and silly mistakes if, I have made here. If any one need support kindly mail me on great.king.cobra@gmail.com
Muhammad Mostafizur Rahaman
New member
Username: Mostafiz

Post Number: 2
Registered: 12-2005
Posted on Thursday, January 26, 2006 - 10:15 am:   

i am developing a smpp client that need to connect to smsc and receive and send sms

i use now sms to test it
but
i have some problem
1. i connect to nowsms smpp user successfully using nokia 8620
2. i send sms from my client successfully
3. but when i send sms to the mobile from other mobile it should route the sms to my smpp client but it does not work. but smsin file i see that sms are store but why not it send to my client

can any one help me

i send my log file
smpp debug log
text/plainSMPPDebug
SMPPDEBUG.LOG (3.9 k)


application/octet-streamnowsms debug log
SMSDEBUG.LOG (1.7 k)

thanks
hope to get help
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5443
Registered: 10-2002
Posted on Thursday, January 26, 2006 - 04:35 pm:   

Hi,

I don't see the SMS message being received in the SMS debug log.

But if you see the received message in the SMS-IN directory, then I will take your word for it that it is actually being received by NowSMS. (Nokia Series 60 phones have a limitation that they only support sending SMS messages over the GSM modem interface, but not receiving them. I'm not familiar with the Nokia 8620, so I do not know if it might be a Series 60 device. Although, I look at your log file, and I see a reference to the Nokia 6820, so perhaps 8620 is just a typo in your message. The Nokia 6820 is NOT a Series 60 phone, in which case you are fine.)

So, assuming that NowSMS is actually receiving the message, what you need to do is make sure that NowSMS is configured to route received messages to your SMPP client account. Here is what you need to do:

1.) Select your modem in the "SMSC" list and press "Properties". Make sure that a "Phone Number" is defined for the modem. (I'm not 100% sure this is necessary, but I think it might be required.)

2.) Under "SMS Users", edit the account defined for your SMPP client. Make sure that "Route received messages to user via SMPP" is checked, and "Recipient address(es) to route to this user" should contain the phone number defined in #1.

-bn
parisa terdale
New member
Username: Psterdale

Post Number: 1
Registered: 02-2006
Posted on Monday, February 06, 2006 - 06:58 am:   

Hi,

I need a GSM kit or modem just to send and recieve SMS to other mobiles. I have to interface this module serially (RS-232) with my micro-controller board. This is for my accademic project work so plase give ne info on a low cost GSM modem.

Thanks and Regards
Parisa Terdale
parisa terdale
New member
Username: Psterdale

Post Number: 2
Registered: 02-2006
Posted on Monday, February 06, 2006 - 07:07 am:   

Hi,

I need a GSM kit or modem just to send and recieve SMS to other mobiles. I have to interface this module serially (RS-232) with my micro-controller board. This is for my accademic project work so plase give ne info on a low cost GSM modem.

Thanks and Regards
Parisa Terdale
Anthony
New member
Username: Antlks

Post Number: 1
Registered: 02-2006
Posted on Tuesday, February 07, 2006 - 05:16 am:   

Hi,

I'm a new comer in SMS Programming, and currently i need a full sample about SMS autorespond application for use with a SMSC working using HTTP.

If anyone happened to have a full sample of working SMS autoresponder, i would like to have it (of course if the owner dont mind).

thanks.