A zero (0) in the sms content when i use php to return response... | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 24, 2009 ⬆ |
◄ ► |
Author | Message | |||
karite vert New member Username: Karite Post Number: 2 Registered: 04-2009 |
my small application consists to return a sms response. i use php language. my probleme is in the sms received, there are a zero (0) and some empty added at the end of the text message on the phone. Mys script is : <?php header("Content-type: text/plain"); echo ".ceci est un test" ; ?> thank you for your help. | |||
karite vert New member Username: Karite Post Number: 3 Registered: 04-2009 |
This is the log of SMSOUT --------------- " 2009-04-29 09:45:48,49F821CB.req,Auto-response to +22652136461,+22652136461,OK -- SMPP - 192.168.3.111:2775,Text="ceci est un test 0 " ---------------------- | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 725 Registered: 08-2008 |
I'm glad you posted the follow-up with information from the SMSOUT log. When I first saw your posting in the other thread, I thought you were referring to a null character, not an actual "0" character. It looks like a chunked HTTP response that NowSMS is not parsing properly. Are you running an older version of NowSMS? What version of NowSMS are you using? I'm pretty sure that NowSMS has supported chunked responses from 2-way commands for quite some time. Can you enable the SMSDEBUG.LOG and send another message in to your 2-way command. Reply back with the SMSDEBUG.LOG as an attachment ... I'd like to see the response coming back from the 2-way command, as maybe for some reason NowSMS is not able to determine that it is a chunked response. -- Des NowSMS Support | |||
karite vert New member Username: Karite Post Number: 4 Registered: 04-2009 |
Thank you for your help. I don't find SMSDEBUG.LOG file in the nowsms repertory. How can i enable Debug SMS option. I use the old version of nowsms : V.5.51 for my tests. But if all the tests are ok, i would take the lattest version. So can you give me the sale contact for to obtain the price. | |||
karite vert New member Username: Karite Post Number: 5 Registered: 04-2009 |
Thank you for your help. I don't find SMSDEBUG.LOG file in the nowsms repertory. How can i enable Debug SMS option. I use the old version of nowsms : V.5.51 for my tests. But if all the tests are ok, i would take the lattest version. So can you give me the sale contact for to obtain the price. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 731 Registered: 08-2008 |
In that version, to enable SMSDEBUG.LOG, you need to manually edit SMSGW.INI, and under the [SMSGW] header, add a new line with Debug=Yes on it. Then restart the NowSMS services for the setting to take effect. I did some searching on the discussion board here for posts that mention chunking, and I found the following: http://support.nowsms.com/discus/messages/1/10965.html That sounds like the same problem that you are having. I'm not sure if the link to the old patch is still valid or not, but that might make a difference. For sales info, use the contact info at http://www.nowsms.com/contact.htm ... call, e-mail, or fill in the form on the web page. -- Des NowSMS Support | |||
karite vert New member Username: Karite Post Number: 6 Registered: 04-2009 |
Thans for your help. It's ok now. I used the patch available on www.nowsms.com/download/latestpatch.zip to fixe the problem. |