Does SMSNow route submit_sm message

Does SMSNow route submit_sm message SearchSearch
Author Message
Nicholas Mayne
Unregistered guest
Posted on Tuesday, January 27, 2004 - 11:39 pm:   

I'm sending an SMS message (deliver_sm) to my SMSNow server that forwards the message through one of the user accounts of the SMPP server to an ESME that sends a response back (submit_sm). When the response gets to NOWSms, the logs say that it routes the message, but no .req file is created and nothing arrives at the destination. Does anyone know what I'm doing wrong? Thank you in advance
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1738
Registered: 10-2002
Posted on Wednesday, January 28, 2004 - 06:53 pm:   

Hi Nicholas,

Can you help me understand this configuration better?

I'm assuming that NowSMS is connected as an SMSC client to an SMPP server.

There are then SMPP clients connecting to NowSMS.

I'm not following the transaction flow of submit and deliver messages. Who issues a submit and who issues a deliver?

I'm assuming that the deliver_sm is generated by the SMPP server and routed to NowSMS.

At that point, if NowSMS doesn't see a match for any of the "SMS Users" accounts that are defined, it will route it to the SMS-IN subdirectory for processing by "2-way" SMS.

(Note: There is currently a bug that some messages that are routed to an SMPP client account on the NowSMS server are not logged. But I don't think that affects this scenario. It has to do with messages submitted by an SMPP or web client to NowSMS, where the message gets routed to an SMPP client account of NowSMS.)

-bn
Nicholas Mayne
Unregistered guest
Posted on Wednesday, January 28, 2004 - 08:04 pm:   

_____SMPP Server
_________|
_________|
____Now SMS #1<-->HTTP Script<-->Now SMS #2
_________________________________/____|____\
________________________________clnt1 clnt2 clnt3

The HTTP script is used for routing to determine what client requests go to. Currently I've sent a request to SMS1->HTTP Script->SMS2->clnt2->sms2 and then the SMSWeb log says the msg came in and SMSOut says it sent the message to HTTP Script via XXXXXXXX.req file. However I ran a program to catch delete files, and I caught other .req files but the XXXXXXXX.req file was never created.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1759
Registered: 10-2002
Posted on Wednesday, January 28, 2004 - 08:52 pm:   

How does the program to catch deleted files work?

If it was in the SMSOUT log, that means it was processed.

The SMSWEB log logs when the message was received, and the SMSOUT logs when it was processed.

If the XXXXXXXX.req file exists in both logs, I have to believe that it existed at some point.

I take it that your script also has no record of the message.

Is this happening with some soft of pattern, or is it a one-off?

If it is happening with some sort of pattern, it may help to enable the debug logs and try to see if we can follow some of the flow from that. (Manually edit SMSGW.INI, and add Debug=Yes under the [SMSGW] section header. Then restart the gateway service. An SMSDEBUG.LOG will then be created as the gateway runs. If you want to send any logs to me rather than posting them here, please feel free to send to nowsms@now.co.uk.)