I dont know the host of NOwsms server

I dont know the host of NOwsms server SearchSearch
Author Message
kariel
New member
Username: Karl

Post Number: 2
Registered: 06-2013
Posted on Saturday, June 22, 2013 - 08:46 pm:   

Hi, I am configuring on this function...
/* Parameters:
$host - IP address or host name of the NowSMS server
$port - "Port number for the web interface" of the NowSMS Server
$username - "SMS Users" account on the NowSMS server
$password - Password defined for the "SMS Users" account on the NowSMS Server
$phoneNoRecip - One or more phone numbers (comma delimited) to receive the text message
$msgText - Text of the message
*/


where i can get those value in the parameter like host,port,uername etc...

what is the host ?is it localhost or 127.0.0.1,i tried this but i can't recieve sms messages.i also try my local ip as host,but nothing happen.

the documentation that you provided is difference from the newly donwloaded nowsms,the http configuration,what should i put in the Nowsms route name ? the server url path.


I hope will answer my problem,

Thank you in advance.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4545
Registered: 08-2008
Posted on Monday, June 24, 2013 - 10:51 pm:   

Hi,

You need a connection to an SMS service provider, or a GSM modem connected directly to the PC, before you can send any messages with NowSMS.

The script that you are referring to does use HTTP to submit SMS messages to NowSMS. And the parameters for the script would all point to your local NowSMS installation.

I could provide more clarification on those parameters if necessary, but I don't think that is where you are confused.

Put the scripting aside. If you cannot send a message using the NowSMS web interface, you will not be able to do so from a script.

When an SMS message is submitted to NowSMS, NowSMS needs to have an SMSC connection defined through which it will route the message.

NowSMS is not a replacement for a bulk SMS or MMS service provider. You need a connection to an SMS service provider, or a GSM modem, before you can send any messages with NowSMS.

NowSMS is a middleware tool which simplifies the process of connecting to one or more of these SMS service providers and/or managing one or more GSM modems

Any server address (or URL path) that you configure in NowSMS would point to your SMS service provider. There are not HTTP settings that work without an SMS service provider.

The "Route name" parameter that you refer to is a new setting, but it is just an internal setting to help identify different routes when there are connections to more than one SMS service provider.

--
Des
NowSMS Support
kariel
New member
Username: Karl

Post Number: 3
Registered: 06-2013
Posted on Thursday, June 27, 2013 - 05:41 pm:   

Hi, thank you for the reply, yes i am using the 3G modem...connection SMSC type i choose the HTTP over
TCP/IP why i could not use this type of connection... I switched to GSM phone or MODEM there you go it works!:)...

Can you please enlighten my mind in the HTTP over TCP/IP on how to use that or when to use that.


Thank you in advance!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4558
Registered: 08-2008
Posted on Tuesday, July 02, 2013 - 05:29 pm:   

Hi Kariel,

I don't know how to answer your question because I do not understand why you would think it should work with an HTTP over TCP/IP setting.

To use HTTP over TCP/IP as an SMSC setting, this means that to send SMS out from NowSMS, you are connecting to an SMS service provider that you have an account with, or forwarding messages to another server over which you have control. But basically you would need to have a destination to which those HTTP requests should be sent....and that would understand what to do with the requests.


Maybe you are confused because you want to use HTTP to connect to NowSMS. That is fine. NowSMS will accept input via HTTP and output via your modem.

The SMSC table lists output methods for SMS.

--
Des
NowSMS Support