SMPP <-> UCP conversion using NowSMS

SMPP <-> UCP conversion using NowSMS SearchSearch
Author Message
hip hei
New member
Username: Hip_hei

Post Number: 1
Registered: 09-2011
Posted on Monday, September 19, 2011 - 12:51 pm:   

Hello!

I have the following setup:
Application <-> NowSMS <-> SMSC

Application only supports SMPP and SMSC only supports UCP/EMI. So it's NowSMS's job to do the conversion from SMPP to UCP and vice versa.

So far everything works well when I'm sending a SMS from application, but I receive no messages back to application via NowSMS.

From NowSMS I've set the UCP SMSC to receive SMS messages to certain port. I've chosen to route SMS's to local user, but the chosen user doesn't stay selected when I close and open the settings window again.

From SMSIN-log I'm able to see that the messages are received by NowSMS, but for some reason they are not sent to the application. I have used Wireshark to confirm that no network traffic is sent from the NowSMS server to the applications server.

Any help?
hip hei
New member
Username: Hip_hei

Post Number: 2
Registered: 09-2011
Posted on Monday, September 19, 2011 - 02:31 pm:   

To clear out my problem/question:

The main problem is how do I get NowSMS to send the message received from SMSC to certain ip/port in my network?

At the moment it seems that NowSMS receives the SMS but it doesn't forward it to the application in certain ip/port.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3477
Registered: 08-2008
Posted on Monday, September 19, 2011 - 10:35 pm:   

Hi,

There does seem to be a problem in the configuration program.

If you select "Route SMS to Local User" for a UCP connection, after you save the setting, if you come back in, it will be cleared.

The setting is properly saved (RouteLocal=xxxx under [UCP - server:port] section header). But it is not properly displayed by the configuration program, and if you make additional changes and save again, the setting is lost.

We are working to fix this problem.

However, assuming that the SMSGW.INI file shows RouteLocal=xxxx under the [UCP - server:port] section header, I'm not seeing a problem rerouting received messages from the UCP connection to an SMPP client.

Make sure that where the SMPP client is defined in NowSMS (under "SMS Users") that "Accept received messages for this user" is checked, otherwise NowSMS won't deliver any messages here.

Also, if there is a receive phone number or short code associated with the account, you could put it in the "Receipt address(es) to route to this user" field. If NowSMS sees an inbound or outbound messages to an address that matches this field, it routes the message to this client account. (As part of the address, you can use these wildcards: ? to match one digit, or * to match 0 or more digits.)

If this doesn't point to an answer for your problem, can I see the SMSIN-yyyymmdd.LOG showing messages received, and the SMSGW.INI file.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3483
Registered: 08-2008
Posted on Wednesday, September 21, 2011 - 08:31 pm:   

Follow-up.

I've posted an updated version that corrects the problem with the configuration program not displaying the "Route SMS to Local User" property correctly for UCP connections.

It is available for download at http://www.nowsms.com/download/nowsms20110920.zip

If you still have problems, I would like to see the SMSIN-yyyymmdd.LOG file showing messages received, and the SMSGW.INI file showing the configuration.

I did see one potential problem. Are you using the optional "Receive Port" setting for the UCP connection, where the UCP server initiates a connection to NowSMS to deliver messages? That could be a problem. This feature definitely works when NowSMS initiates the UCP connection to the server and sending/receiving takes place over the same connection. However, it might not work for a server initiated connection.

--
Des
NowSMS Support