Trial does not recieve messages

Trial does not recieve messages SearchSearch
Author Message
Opsy Natas
Posted on Thursday, April 24, 2003 - 11:17 am:   

i am trying out the trial version of now sms with an smsc simulator from logica. am able to configure everything and bind to the simulator. i am able to send messages from now sms and i recieve the messages on screen on the simulator session but when i try to send a message to now sms, the simulator reports that the message is sent but i dont see it in folder sms-in. i even tried configuring 2-way sms but to no avail. can someone please tell me what i may be doing wrong please?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Friday, April 25, 2003 - 08:54 pm:   

Hi Opsy,

I believe that I've exchanged some e-mail with a couple of your colleagues, and one of your colleagues talked with Keith Norris in our UK office this morning.

Your colleague talked with someone in our UK office this morning.

I believe the problem with the messages coming from the simulator is that they lack a "sender" field in the SMS message.

The current version of the NowSMS gateway discards any received messages that do not have a "sender" field (it would be impossible to reply back to such a message).

We have changed this behaviour in the next release of NowSMS. I could send you a beta release of the next version, if you would like to try it ... however, I suspect that you may just want to change your simulator tests to insert a "Sender" field in the SMS message ... as you should not be receiving any messages without a "sender" field in a real world environment.

If this does not sound like the situation that you are experiencing, then I would like to see a debug log from your system, so that I can better understand what is occurring on your system.

To enable the debug log, manually edit SMSGW.INI, and under the [SMSGW] section header, add Debug=Yes. Then restart the gateway. Repeat your tests, and then e-mail me (nowsms@now.co.uk) the SMSGW.INI, SMSDEBUG.LOG and SMPPDEBUG.LOG files.

Cheers!

-bn
Opsy Natas
Posted on Monday, April 28, 2003 - 09:51 am:   

Thanks. The simulator does not allow any changes to the message format however. Can you suggest a simulator ? Alternatively, how can i get an actual smpp over tcp/ip account?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Monday, April 28, 2003 - 02:53 pm:   

If you're using the Logica SMSC client simulator that I'm aware of, I'm referring to setting the "Source Address" when you submit a message.

Perhaps you are using a different simulator?

I'm using the simulator that I found at http://opensmpp.logica.com.

-bn
Opsy Natas
Posted on Tuesday, April 29, 2003 - 10:14 am:   

Yes, i am using the software from that link. But, i have no problems 'sending' a message from nowsms. The problem occurs when i attempt to send a message 'to' nowsms from the simulator. Is there another simulator you are aware of? Have you tried using the smsc simulator and find that nowsms can recieve messages from it?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Tuesday, April 29, 2003 - 01:54 pm:   

At present, I can't get the Logica SMPP simulator to work at all. I have used it in the past ... but at present, I can't get it to send or receive messages on two different computers.

The problem doesn't seem to be related to NowSMS ... as based upon my tests, I cannot get the server simulator to accept any connections (even from Telnet) and the client simulator does not make an outbound TCP/IP connection at all.

I recently upgraded the versions of Java on my PCs, so I think there is some sort of compatibility problem with the Logica SMPP simulator and the latest release of Java for Windows.

So, let's back up a minute. Around the same time that you posted your message here, we had someone call our offices reporting the same type of problem that you describe. They forwarded their log files to us, and we could see that the problem was that when they sent a message with the simulator, they were not including a "source address" when they sent a message from the simulator to NowSMS. (NowSMS does indeed receive those messages, but in the current version, it ignores them for 2-way processing because without a sender address they are invalid.)

Perhaps this is not the problem that you are experiencing?

I'd suggest that you place the NowSMS gateway into debug mode. You do this by manually editing SMSGW.INI, and adding Debug=Yes under the [SMSGW] section header. Then restart the gateway service.

Then repeat your attempts to send a message into NowSMS via SMPP.

Then e-mail the SMSGW.INI, SMSDEBUG.LOG and SMPPDEBUG.LOG files to nowsms@now.co.uk, and we'll take a look ... and we should then have a better understanding of what is actually going on in your configuration.

I'm afraid that I don't have any suggestions for simulators.

-bn
Opsy Natas
Posted on Tuesday, April 29, 2003 - 02:41 pm:   

Thanks.
that was my collegue. and yes u r right, the simulator does not include a sender in the message it packs. we need to test nowsms with an smpp connection berfore we buy the license we want.(we both the 6/minute license last week just for testing). Any suggestions on how to go about setting up an smpp account with an smsc here in the UK? Will the message format in the sms-in folder be the same for an smpp connection and a gsm connection?
Bryce Norwood - NowSMS Support (Bryce)
Posted on Tuesday, April 29, 2003 - 03:39 pm:   

Opsy,

Many SMPP providers look for a minimum commitment level (£500 to £1000 per month minimum for x months is typical for the lower priced alternatives). So this may not be the best option for testing. Your colleague talked to Keith Norris the other day, and I'd suggest maybe another call to Keith to talk about some potential SMS providers to talk to would be a good idea.

On the whole, you won't see much difference between the interface using a GSM modem or using SMPP.

The primary differences are:

1.) With an SMPP account, you can set the sender address when sending an outbound message. (Your provider may limit what sender addresses you can use.) On a GSM modem, the sender address is always set to the phone number of the phone that is used for sending the message.

2.) A single SMPP account can receive messages addressed to multiple phone numbers. The application will see the recipient phone number in the "PhoneNumber" field of the file in the SMS-IN directory ... or it will be supplied via the @@RECIP@@ replaceable parameter in a "2-way command". (Note: When using a GSM modem connection, the recipient phone number will only be set if you click on "Properties" for the GSM modem definition on the "SMSC" page of the configuration dialog, and define the phone number for the GSM modem there.)

-bn
Opsy Natas
Posted on Tuesday, April 29, 2003 - 04:51 pm:   

Thanks a zillion! I am looking into the .java files for the simulator to see if i can alter it to package a 'sender; field as part of the message it sends.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Tuesday, April 29, 2003 - 05:28 pm:   

Opsy,

If you use the menu driven SMPP client that is part of that simulator, it does allow you to set the sender.

I run the SMPP client by issuing the following command:

java -cp smpp.jar;smpptest.jar com.logica.smpp.test.SMPPtest

(The only problem is that since I upgraded the Java on my machine, this simulator software can no longer make TCP/IP connections. But it does prompt for a "source address" when you submit a message.)

-bn
Opsy Natas
Posted on Wednesday, April 30, 2003 - 11:06 am:   

It seems you do not understand the problem i have.smpptest is a client. smscsim is the smsc simulator. smpptest binds to the simulator session (smscsim). the simulator itself can then be used to send massges to smpptest or recieve messages from smpptest. i am not using smpptest. nowsms does the job of smpptest. i am only using the simulator (smscsim) so that nowsms can bind to an smsc(the simulator). It is the simulator(smscsim) that does not package a 'sender' field in the messages it sends. note that smpptest uses smscsim to test connection to an smsc. i am testing nowsms using smscsim as the smsc.
Leye
Posted on Wednesday, April 30, 2003 - 02:14 pm:   

I am an associate of Opsy and I bound the smpptest client and the nowsms to the Logica smsc simulator. If I send from nowsms to smpptest, the message is received and displayed but if I send from nowsms to smpptest, I get nothing.

Note that the sender field was defined for both the smpptest client and the nowsms.

Why do we have problems receiving messages with nowsms when we connect to an SMSC using SMPP/TCP IP protocol?
Leye
Posted on Wednesday, April 30, 2003 - 02:21 pm:   

Sorry, meant to say I don't get to receive anything if I send from smpptest client to nowsms.

Sorry about the mix up.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Wednesday, April 30, 2003 - 03:14 pm:   

Leye,

How about sending me a log file?

You previously sent a log file to Keith Norris, but it wasn't the log file that we needed to see.

Assuming the gateway is in debug mode (it appeared to be as you previously sent an SMSDEBUG.LOG), then please e-mail the following files to nowsms@now.co.uk, and we'll get to the bottom of this ... SMSGW.INI, SMSDEBUG.LOG & SMPPDEBUG.LOG.

Make sure that the you attempt to send a message from the simulator into NowSMS just before you send those log files, so that we have something to look at.

-bn