2 way SMS + Delivery Report Problem.

2 way SMS + Delivery Report Problem. SearchSearch
Author Message
Nasif Khan
New member
Username: Nasifkhan

Post Number: 5
Registered: 11-2006
Posted on Monday, October 05, 2009 - 04:17 am:   

Please check the below log:

10:04:48:711 [0] main: Now SMS/MMS Gateway Web server started on port number 8800
10:04:50:710 [0] main: preferred sender = WARID,SMPP - 10.6.1.10:2775
10:05:37:722 [6] ThreadProcessConnection: Processing connection from 10.243.97.16...

10:05:37:722 [6] ThreadProcessConnection: Processing request /?phonenumber=88XXXXXXXXXX&Text=asdasdasd&User=cs&Password=cs&ReceiptRequested=Y es
10:05:37:722 [6] Debug: 1 recipient entries
10:05:37:722 [6] Debug: 88XXXXXXXXXX
10:05:37:738 [6] ThreadProcessConnection: Request processing complete
10:05:38:394 [2] ThreadProcessModem: Processing 4AC96281.req...
10:05:44:547 [2] SMPPReceiveMessageCallback: inbound message: sender=+88XXXXXXXXXX, recip=71294, pid=0, dcs=0, msgFlags=4, udh=, msg=id:400000BE883090015001502482 sub:000 dlvrd:000 submit date:0910051005 done date:0910051005 stat:DELIVRD err:000 Text:asdasdasd
10:05:44:688 [3] ThreadProcessInboundSMS: Processing 4AC96282.in...
10:05:44:688 [3] GetProgramToExecute: c:\windows\system32\cmd.exe /c echo @@FULLSMS@@
10:05:44:688 [3] GetProgramToExecute: Converting character set for received SMS message to utf-8
10:05:44:688 [3] smsData Before: id:400000BE883090015001502482 sub:000 dlvrd:000 submit date:0910051005 done date:0910051005 stat:DELIVRD err:000 Text:asdasdasd
10:05:44:688 [3] UTF8ToLocalString: Error 87 from WideCharToMultiByte
10:05:44:688 [3] UTF8ToLocalString: Error 87 from WideCharToMultiByte
10:05:44:688 [3] smsData After: id:400000BE883090015001502482 sub:000 dlvrd:000 submit date:0910051005 done date:0910051005 stat:DELIVRD err:000 Text:asdasdasd
10:05:44:688 [3] GetProgramToExecute: c:\windows\system32\cmd.exe /c echo id:400000BE883090015001502482 sub:000 dlvrd:000 submit date:0910051005 done date:0910051005 stat:DELIVRD err:000 Text:asdasdasd
10:05:44:688 [3] ThreadProcessInboundSMS: Executing c:\windows\system32\cmd.exe /c echo id:400000BE883090015001502482 sub:000 dlvrd:000 submit date:0910051005 done date:0910051005 stat:DELIVRD err:000 Text:asdasdasd



Can someone tell me why I am not getting the @@MESSAGEID@@ ?..
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1335
Registered: 08-2008
Posted on Monday, October 05, 2009 - 03:41 pm:   

Hi,

It would be helpful to see an SMPPDEBUG.LOG.

But before you do this ... look at SMSOUT-yyyymmdd.LOG and find the record for 4AC96281 ... what does it report for "SMSCMsgId=".

It should report "400000BE883090015001502482" ... however I think it will not.

When NowSMS submits the message to the SMSC, the SMSC returns a message id.

When the delivery report comes back in later, NowSMS expects to see that same message id. If it does not see the same message id, then there is a problem.

An SMPPDEBUG.LOG showing the message being sent and the delivery report being received would be helpful for determining what is happening. But if you look at the SMSOUT-yyyymmdd.LOG first, it should tell us what we need to know.

--
Des
NowSMS Support