Received SMS are not routed to SMSC-Client

Received SMS are not routed to SMSC-Client SearchSearch
Author Message
Rico Feist
New member
Username: Puratorle

Post Number: 1
Registered: 09-2010
Posted on Thursday, September 23, 2010 - 12:37 pm:   

Hello,

I set up NowSMS lite, connected to a Sony-Ericsson W995. The Problem is now, that received SMS are stored in the SMS-IN folder, but not processed to my Application.

I tried the Echo-Test as described in the manual, but it fails.

How can this be solved?

Greetings
PuratorLE

P.S.: The Application does work, a test with smmpsim showed me, that it processes sms correctly...
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2527
Registered: 08-2008
Posted on Thursday, September 23, 2010 - 07:30 pm:   

Hi Rico,

The most common problem in this area is if the "SMS Command Prefix" is not set to a value of *

Also, if the messages were received after the command is defined, they will not be reprocessed.
However, you can rename *.SMS to *.IN in SMS-IN to force reprocessing.

If you can't figure out this problem, please enable the SMSDEBUG.LOG (checkbox on the "Serial #" page), then restart the NowSMS service. Send another message in to the modem.

Then reply back with the SMSDEBUG.LOG and SMSGW.INI so that we can determine what is not working as expected.

--
Des
NowSMS Support
Rico Feist
New member
Username: Puratorle

Post Number: 2
Registered: 09-2010
Posted on Friday, September 24, 2010 - 07:24 am:   

Hi,

i tried and it did not work. Here are the Files you asked for:

SMSDEBUG
SMSDEBUG.LOG (22.5 k)


SMSGW
SMSGW.INI (0.5 k)


I have X-ed out the PIN, but it is the correct one.

What is interesting: I tested several things, and when I added a user, configured it the way that all messages are redirected to that user, it worked when I invoked a testmessage, even via webfrontend.

Greetings
Rico
Rico Feist
New member
Username: Puratorle

Post Number: 3
Registered: 09-2010
Posted on Friday, September 24, 2010 - 08:10 am:   

Hi,

an addition: it, well, worked, but not the way it should. I just received an SMS on my phone which started with "ECHO", so that means that the echo sent an SMS back to my mobile phone. I do not kno how to interpret that.

Greetings
Rico
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2528
Registered: 08-2008
Posted on Friday, September 24, 2010 - 05:12 pm:   

Hi Rico,

That is what it is supposed to do.

NowSMS runs as a service process. Nothing is displayed on the screen, the command is executed in the background.

The simple ECHO example just sends back the same text starting with ECHO to show you that it is working.

Sorry for any confusion. I just re-read that text in the manual, and it is confusing. It should mention how this command would normally echo the text to the screen, but as it is running in the background, it grabs the screen output and sends it back as a reply.

--
Des
NowSMS Support
Rico Feist
New member
Username: Puratorle

Post Number: 4
Registered: 09-2010
Posted on Monday, September 27, 2010 - 10:00 am:   

Hi Des,

I continued testing, and tried several configurations, bit none of them worked. I attach the different configurations, including the log hoping you can help me.

1: Sent SMS to mobile phone, the SMS is received and stored in the SMS-IN Folder and my application does not receive it.
Config 1
SMSGW_stored.INI (0.5 k)


2: Sent SMS to mobile phone, the SMS is received, not stored in the SMS-IN Folder, but my application does not receive it.
Config 2
SMSGW_notstored.INI (0.5 k)


3: Same config, just copied SMS into SMS-in folder - SMS disappeared...

The Logfiles:
SMSDebug
SMSDEBUG.LOG (20.5 k)
SMPPDebug
SMPPDEBUG.LOG (5.4 k)


I hope you can Help
Rico
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2530
Registered: 08-2008
Posted on Monday, September 27, 2010 - 04:54 pm:   

Hi Rico,

Thanks for the files. I understand better what you are trying to do. You are trying to route received messages to your SMPP application. (I thought you were trying to implement a 2-way command, but I assume that was only because SMPP was not working.)

There is a compatibility issue that occurs with this type of configuration in NowSMS Lite with some modems. It happens if NowSMS Lite cannot programmatically read the modem's phone number.

You can manually work around this by manually editing the SMSGW.INI file, and under the [Modem - Sony Ericsson Device 1018 USB WMC Data Modem] section header, add PhoneNumber=############

Whatever value you enter here, NowSMS will apply as the recipient number for the message when route via SMPP. Without this number, the SMPP message transfer gets blocked because there is no recipient address.

We've implemented a fix for this, but so far only the NowSMS heavy download has been updated. It is easy enough to work-around with the configuration setting.

I would also suggest that you edit your "SMS Users" account definition and remove the "Route received messages to user via SMPP" address list, as it may cause messages your application submits to be routed back to itself.

Instead use the "Route SMS to local user" setting on the "2-way" page.

--
Des
NowSMS Support
Rico Feist
New member
Username: Puratorle

Post Number: 5
Registered: 09-2010
Posted on Tuesday, September 28, 2010 - 08:08 am:   

Hello,

that helped me - thanks a lot!

Greetings
Rico