Calling Web based interface | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 02, 2006 ⬆ |
◄ ► |
Author | Message | |||
Yaswanth N New member Username: Yaswanth Post Number: 8 Registered: 03-2006 |
Hi! I have written a perl script to send messages to a particular database using perl. The data is being sent using the http option of NowSMS http://192.168.0.1:8800/?PhoneNumber=989898998&text=My%20Message Now the thing is, I am using LWP::UserAgent to call the above URL and the script returns no response code. NowSMS is configured to recieve web commands from all the hosts and the script is working well if I try some other server (Apache). How do I know what the problem is? Is there a weblog like apache has? There is a weblog but it doesnt seem to have enuf data to debug. Did anyone succeed in doing such a thing? Regards, Yaswanth | |||
Yaswanth N New member Username: Yaswanth Post Number: 9 Registered: 03-2006 |
SCREW WINDOWS FIREWALL!! I am really sorry guys, my mistake...problem solved! | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5769 Registered: 10-2002 |
Hi Yaswanth, Just for future debugging reference, enable the SMSDEBUG.LOG in NowSMS, and you can see the raw HTTP requests that it is receiving. -bn | |||
Yaswanth N New member Username: Yaswanth Post Number: 10 Registered: 03-2006 |
The WebDebug log says 2006-04-04 03:42:49,192.168.36.11,,44319DE2.req,Text 2006-04-04 03:42:49,192.168.36.11,,44319DE3.req,Text 2006-04-04 03:59:39,192.168.36.11,,44319DE5.req,Text Wat does this mean? Where are these .reqs?? Yaswanth | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5782 Registered: 10-2002 |
Those aren't debug logs ... they are entries in the SMSWEB-yyyymmdd.LOG. They indicate that messages were submitted, and "xxxxxxxx.req" is the id that was assigned. More details on the fate of the messages is in the SMSOUT-yyyymdd.LOG which records the messages being transmitted by NowSMS to an upstream connection. | |||
Terri O'Sullivan New member Username: Terri Post Number: 1 Registered: 04-2006 |
I'm just starting out with NowSMS....can I ask where do I enable the different log files? Thanks. | |||
Terri O'Sullivan New member Username: Terri Post Number: 2 Registered: 04-2006 |
It's ok - I just found the answer to this (inadvertently) on another thread...it's on the Serial # tab. |