Newbie Question

Newbie Question SearchSearch
Author Message
Bickley
Posted on Sunday, February 16, 2003 - 08:14 am:   

Halo Bryce... i am new for NowSMS/MMS...
I've download your 60 trial NowSMS...

is it possible to use my computer as sms gateway so i can send various sms to my customers?

My Computer is
pentium 4, use Windows XP RAM 256DDR...

how to set up an HTTP SMSC server?

how to set up that... is that possible to configure my computer as sms server so i dont have to use gsm modem,

i've set up my http to localhost ...the pop up says that smsc was configured and tell me to try send an sms... but when i send one, the message not send, and at the log file error 302 appeared

sorry my newbie question
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, February 17, 2003 - 06:47 pm:   

Hi Bickley,

No, you can't do that. An SMSC provides the connection into the GSM network, and it takes special hardware to make that type of connection.

The easiest way (albeit a low volume way) of making that connection is with a GSM modem. Many of today's phones can be used as a GSM modem with the appropriate data cable (or some even support infrared or bluetooth connections).

Beyond that, you would need to setup an account with an SMS service provider that has the requisite hardware links into the GSM networks.

For people who are just trying to get started, I've found that Clickatell (www.clickatell.com) is relatively easy to get started with ... primarily because they don't have a startup fee or any minimum fees. So you can put a little bit of money into an account paying them through PayPal, and use them as an HTTP SMSC.

(Note: We have no affiliation with Clickatell, and we don't get any kickbacks from them. Personally, I just find that with no startup fee and no minimum fees, it is convenient for people who are looking for away to get started. I would not necessarily recommend them for a high volume system.)

Clickatell offers a number of SMS services, the API service is the one that NowSMS can be used with.

HTTP SMSC parameters for Clickatell:

Host Name: api.clickatell.com
Port Number: 80
HTTP Proxy Settings: leave blank unless required by your local network
User Name: (leave blank)
Password: (leave blank)

Send login credentials using HTTP Authorization Header: NOT checked

Server type: Custom

URL Template text: /http/sendmsg?api_id=**APIid**&user=**username**&password=**password**&to=@@PhoneNumber@@&text=@@Text@@

URL Template binary: /http/sendmsg?api_id=**APIid**&user=**username**&password=**password**&to=@@PhoneNumber@@&udh=@@UDH@@&text=@@Text@@

(Note: In the above two templates, you need to replace **APIid** with an API ID assigned by the Clickatell service. Replace **username** with your username for the Clickatell service, and **password** with the password for that service.)

Sender Address: (leave blank)

Remove "+" from Recipient Phone Number: CHECKED
Send long messages without segmentation: NOT checked

Support any outbound message traffic: CHECKED

Good luck!

-bn
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, February 17, 2003 - 07:47 pm:   

I should probably mention ...

Test Clickatell with phone numbers on different areas in your area before making a commitement.

In the past ...

I've seen great performance with their service sending to UK phone numbers. I've seen sporadic several hour delays sending to the US (and last I knew they didn't support connectivity to AT&T Wireless in the US). I've also seen problems in some European countries.

My point here is to use the SMS "test" feature that they have on their web page to send to a few phone numbers on different operators in your area before making a large commitment.

-bn
Anonymous
Posted on Wednesday, February 19, 2003 - 12:18 am:   

ive signed up to clickatell and it works in the uk because ive tested it by typing the command they give you for sending messages from a url command but i cant get it to work with nowsms

have any idea what might be wrong, cheers
Bryce Norwood - NowSMS Support (Bryce)
Posted on Thursday, February 20, 2003 - 03:53 pm:   

Are you the same person as in the other thread? With the problem connecting to the service via the HTTP proxy?

-bn
Bickley
Posted on Friday, February 21, 2003 - 12:27 pm:   

Thx, Bryce...
it's seems like i have to use gsm modem... i'll ty it.

so ... i have another problem ...
1.Bryce, i'm a web designer. Is that possible to make my web visitor have a login to my site and send they personal sms?

2. Is that possible to send a number of sms to my customer in the same time? I mean can i send 100 (with the same content) sms to my visitor from my phone number database?

3. Is that possible to use php script to integrating with your software? How?

Thx alot
Bryce Norwood - NowSMS Support (Bryce)
Posted on Sunday, February 23, 2003 - 03:46 pm:   

1. There are a couple of different approaches. You could provision accounts for these users on NowSMS ("SMS Users" list in the configuration dialog), and have them login to NowSMS. Or, you could have them login to your web server only, and have scripts running on your web server connect to the NowSMS machine over HTTP to send messages. (In this latter case, users would not connect directly to NowSMS.)

2. You can create a distribution list in NowSMS (create them in the web interface, but you'll find they are just text files under the DLists subdirectory of the gateway that you could update manually) ... or your scripts can issue multiple commands to the gateway to send messages.

3. You can make HTTP requests from within your PHP scripts. So you issue HTTP requests from your script that are sent to the NowSMS server to be processed.

-bn
Bickley
Posted on Monday, February 24, 2003 - 07:37 am:   

Sorry for my newbie question again...:)

if i use gsm modem/ gsm smsc for my connection..:

my gsm provider will charge what? My connection time duration or cost of each sms?

I mean, if i send 200 sms in two minutes ,my provider will charge me for cost of 2 minutes connection or cost of 200 sms?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Wednesday, February 26, 2003 - 08:13 pm:   

Per SMS.

You're charged as if you sent the messages from the phone keypad itself.
Friendly mms
Posted on Saturday, March 01, 2003 - 12:47 pm:   

How do you set it up to use http to send each msg?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, March 03, 2003 - 04:04 pm:   

>How do you set it up to use http to send each
>message?

I'm sorry, but I don't understand the question ... it's just a little too vague. Could you please post in a new thread conversation with some more detail?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, March 03, 2003 - 04:30 pm:   

On another front, I just got an e-mail from Clickatell telling me that they no longer support payments via PayPal.

So they may not be as easy to work with for an SMS newbie any more.
Bryce Norwood - NowSMS Support
Posted on Friday, June 20, 2003 - 10:45 pm:   

A note on the Clickatell URL templates in this thread based upon an e-mail to our support mailbox.

The templates referenced above do not provide the ability to override the sender address when submitting a message.

To enable that capability, you must add the following to both the URL template text and URL template binary:

&from=@@Sender@@

Be sure that you also provide a default sender address in the "Sender Address" field of the configuration dialog. (The advice above states to leave that field blank. If you modify the URL templates as mentioned here, you should not leave that field blank.)

-bn
Anonymous
Posted on Wednesday, July 02, 2003 - 03:09 pm:   

Hello,

I'd like to ask you for help. I want to understand how MMS notification is
encoded into binary sms. Until TP-UDH it's clean for me, but what to put into SM body ?
as I understand, it's WAP PUSH message, but unfortunately I don't know how
exactly does it look like in text, even as encoded.

Can you please give me some example how this message look like in text
and/or link to some specs to for binary encoding ?

Thanks a lot,
Regards,

Rudolf
Bryce Norwood - NowSMS Support
Posted on Thursday, July 03, 2003 - 09:54 pm:   

Rudolf,

Here are some links to other discussion threads that I think would be helpful:

http://support.nowsms.com/discus/messages/1/395.html

http://support.nowsms.com/discus/messages/12/208.html

Basically an MMS notification message is encoded according to the MMS Encapsulation Specification, as defined by the Open Mobile Alliance (www.openmobilealliance.org). The MMS notification message is sent out as the payload of a WAP push message. The WAP push format is defined in the WAP Wireless Session Protocol (WSP). A connection-less push is implemented on top of the WAP Wireless Datagram Protocol (WDP), which is where you'll find out about how WDP makes use of User Data Headers (UDH) in the GSM SMS environment.

The MMS Encapsulation spec, and the WSP and WDP specs can all be found at the Open Mobile Alliance web site.

-bn
Anonymous
Posted on Wednesday, July 09, 2003 - 04:10 pm:   

Hello Bryce,

Thank you for your support. According to your info, I've encoded SMS message,
it has been received by MS, but there were only four strange characters displayed.

If it's possible, can you please check if encoded SMS message is OK ?

UDH + WAP push message:

06 05 04 0B 84 23 F0 00
06 22 61 70 70 6C 69 63
61 74 69 6F 6E 2F 76 6E
64 2E 77 61 70 2E 6D 6D
73 2D 6D 65 73 73 61 67
65 00 AF

as text:

0605040B8423F0 UDH
06 UDHL
05 IE=16bit port addressing
04 lenght of ports
0B84 dest. port
23F0 source port

00 ?
06 Push PDU Type
22 Header Len
6170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500AF84
content-ID: application/vnd.wap.mms-message
AF84
AF X-Wap-Application-ID type=2F (+80)
84 x-wap-application:mms.ua=04 (+80)


MMS - notification

8C 82 98 74 65 73 74 00
8D 90 89 11 80 2B 31 32
33 34 35 36 2F 54 59 50
45 3D 50 4C 4D 4E 00 8A
80 8E 01 78 88 05 81 03
02 A3 00 83 68 74 74 70
3A 2F 2F 31 30 2E 32 30
2E 31 2E 32 31 30 2F 74
65 73 74 2E 6D 6D 73 00


Thank you very much,
Rudolf
Bryce Norwood - NowSMS Support
Posted on Wednesday, July 09, 2003 - 04:48 pm:   

Rudolf,

The length field in the Mms-From header appears to be calculated one byte too short. I suspect you're not taking into account the length of the Address-present-token.

But that wouldn't explain what you are seeing. It sounds to me like either the UDH flag is not set in the outbound message (you don't mention how you're submitting the message, but I suspect you're not using NowSMS ... which would set this flag automatically), or the DCS value is not set to indicate that this is a binary message (use a DCS of 4 or F5).

-bn
Blue
Posted on Wednesday, July 16, 2003 - 11:45 am:   

Total newbie to MMS. Been using NowMMS service on my mobile and was very pleased/impressed with service, naturally I guess this service was run using your software. I see you are closing the service down due to SMSC costs.

Was just interested how you had your system set up (and I'm sure anyone else who has thought about providing the same sort of service would like to know).

With regards to SMS costs, I cant quite understand how people such as CBFSMS.com manage to make it pay. I guess advertising pays for it on their site.

Will look forward to hearing from you as it would be nice to thing that using your software, someone else might try to run a similar service to NowMMS. It was very good while it lasted.

Blue
Bryce Norwood - NowSMS Support
Posted on Wednesday, July 16, 2003 - 02:59 pm:   

Hi Blue,

It was good while it lasted. If we were to attempt something like that again, it would have been more practical if we put more strict limits on international traffic or sign-ups. Our costs for just the UK and USA were quite reasonable.

Costs in some other countries were high, and we had too many subscribers in some of these countries who were abusing the system. We also had some issues with our SMS provider that were going to force us to find another provider.

The system itself was quite simple.

We actually set it up first as a demo system before we opened up registrations. The software was installed on an old notebook computer that was just lying around the office ... a less-than-speedy Celeron that someone had made the mistake of upgrading to Windows XP (it didn't really have enough memory to run XP well).

We kept meaning to move the system to another server (especially when someone would accidentally knock the plug out of the notebook and that notebook battery would give out in the middle of the night shutting the system down), but we were always busy with other work.

We moved between a few different SMS providers trying to find a good balance between cost and reliability.

Everything was pretty much off-the-shelf with our gateway, we had just added in some features to process registrations (although if we were to do this again, we'd probably process the registrations on a separate web server so that we could collect more relevant information and statistics for potential advertisers). We have given out the info to a few customers about how to use the built-in registration screens that we created for nowmms.com ... I actually posted some info here yesterday:

http://support.nowsms.com/discus/messages/1/429.html#POST1657

If you wanted to do the user registrations on a separate server, this link has documentation on how that server can provision users on the gateway:

http://www.nowsms.com/support/bulletins/tb-nowsms-005.htm

-bn
Blue
Posted on Saturday, September 20, 2003 - 09:41 am:   

Hi Bryce,
Its been ages since I looked at setting up an MMSC, but have just downloaded the trial version to give it a go. Can you confirm that the Clickatell information you have given above is still correct. I have just tried it inputting the information above with my clickatell username and passwords in the right place, but although if I click the test button it say 'HTTP Connection OK' when I try and send a test message I get 'HTTPSMSC Connection failed'.

Was just wondering it the settings above were still correct?

TIA

Blue
Blue
Posted on Saturday, September 20, 2003 - 12:02 pm:   

Think I've got it. Although on the profiles I checked for my operator costs it said one credit for O2UK, I have just ticked all the boxes and it now works, it infact cost 2 credits.

Thanks anyway.

Blue