Calling Web based interface

Calling Web based interface SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 02, 2006 » Calling Web based interface « Previous || Next »
Author Message
Yaswanth N
New member
Username: Yaswanth

Post Number: 8
Registered: 03-2006
Posted on Sunday, April 02, 2006 - 11:41 pm:   

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
Posted on Sunday, April 02, 2006 - 11:51 pm:   

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
Posted on Monday, April 03, 2006 - 04:18 pm:   

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
Posted on Monday, April 03, 2006 - 09:57 pm:   

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
Posted on Tuesday, April 04, 2006 - 08:10 pm:   

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
Posted on Monday, April 10, 2006 - 01:51 pm:   

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
Posted on Monday, April 10, 2006 - 01:55 pm:   

It's ok - I just found the answer to this (inadvertently) on another thread...it's on the Serial # tab.

Login Login / Register Logout Logout Search Last 30 Days Topics Topics