Connecting Two SMSC

Connecting Two SMSC SearchSearch
Author Message
Vincent Babcock
New member
Username: Vinnieb1987

Post Number: 1
Registered: 07-2014
Posted on Thursday, July 17, 2014 - 10:32 pm:   

Hi Everyone,

I am trying to get two SMSC connections to see each other. There is a SMPP and a GSM Modem that are currently active.

The SMPP connection has two phones connected that can send SMS and MMS to each other. They can also receive SMS and MMS from the Web GUI. Their numbers have been added to the MSS Users section. Numbers 80001 & 80002

The GSM modem is connected to AT&T. NowSMS receives the SMS that is sent from a mobile user dialing the AT&T number. I can also send a SMS to a private number with the GUI going through the GSM Modem. Number 555-555-5555

What I want to set up is a forward/route so that when the AT&T number receives a SMS, it sends it to a number on the SMPP connection. So when I text 555-555-555, 80001 will receive it.

Is it possible to do this?

Please tell me if more information is needed.

Thanks for the help.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4953
Registered: 08-2008
Posted on Friday, July 18, 2014 - 09:50 pm:   

Hi Vincent,

if you were connecting two actual SMSC, there are advanced configuration settings that can be used to route a received message out via a different connection.

However, what you are doing here is a little different, because one connection is a modem, and you essentially want to forward/redirect the message, altering the recipient.

A 2-way command is the best way to do this.

Your 2-way command can be an HTTP request back to NowSMS to submit a new message containing the text of the received message.

We've recently changed the user interface for defining 2-way commands.

The new interface is described here: http://www.nowsms.com/2-way-commands-for-sms-and-mms-processing-new-2014-feature s

The old interface is described here (for now) http://www.nowsms.com/doc/2-way-sms-support

The basic process is that you are defining an HTTP based 2-way command (no response back to sender).

The HTTP command is a submit back to NowSMS, like this:

http://127.0.0.1:8800/?user=username&password=password&PhoneNumber=xxxxxxx&Text=@@FULLSMS@@&Sender=@@SENDER@@

Replace xxxxxxx with the number you want to forward the message to. This example preserves the text (@@FULLSMS@@) and sender of the original message when resubmitting.

To configure the command to only process messages received via the modem, make sure a "Phone Number" is manually configured under the properties of the modem in the NowSMS SMSC list. Then define that same phone number as the "Receive phone number" for the 2-way command, meaning the command only apples to messages received on that number. Use * as the keyword or command prefix to match any keyword,

--
Des
NowSMS Support