Select SMSC connection to use

Select SMSC connection to use SearchSearch
Author Message
Mikael Christersson
New member
Username: Micke_c

Post Number: 4
Registered: 01-2005
Posted on Wednesday, January 26, 2005 - 04:24 pm:   

Hi!

A question regarding NowSMS.

Is it possible to do something like this?

- A user selects to send a text message from the web page.
- The form content shall be sent to NowSMS
- After it has been decoded I would like to perform some operations on it and store some data in a database - this should be done with ASP.
- After my own operations I would like to submit the "already" encoded data to now sms so it can send it with one of my modems. At the same time I would also like to have the options to select which modem to use.

Is this possible?

Next question: How is the selection process for select SMSC done. Which one of them is the first one that is tested to see if the rules are fullfilled?

// Micke
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3975
Registered: 10-2002
Posted on Wednesday, January 26, 2005 - 05:15 pm:   

Hi Micke,

There are two ways to route messages to a particular SMSC.

1.) You can define recipient address masks in the Routing Properties for the SMSC to specify that particular recipient addresses that match a particular mask be routed via a particular SMSC.

2.) You can specify a "sender address" for the SMSC (if it is a GSM modem, the "phone number" field in the configuration is used). When you submit a message, include a "Sender" parameter in your HTTP request, and if the sender matches a particular SMSC, then it will only be routed through that particular SMSC connection. (You can have multiple SMSCs defined with the same "Sender Address", and the outbound message could be routed via any with that particular "Sender Address".)

-bn
Mikael Christersson
New member
Username: Micke_c

Post Number: 5
Registered: 01-2005
Posted on Wednesday, January 26, 2005 - 09:33 pm:   

Thanks!

Next problem... I use a Windows 2003 server where I redirect the http "modems" to. My problem is that I can't access the page - I always get Invalid user name or password in the logfile. I have tried to set a different username / password but that failed.

Are there any special settings needed for a Windows 2003 server?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4019
Registered: 10-2002
Posted on Thursday, February 03, 2005 - 09:56 pm:   

Micke,

Sorry, I need some more detail.

Are the pages on a Windows 2003 IIS server?

If so, and the pages are password protected, then you might need to enable basic authentication.

I'm not an expert on IIS ... but I just did some digging on our IIS server, and for password protected resources, there is a setting that specifies what types of authentication methods are supported. For us to connect to a script, we can only support Basic Authentication.

-bn