Route Outgoing from GSM to SMPP and Incoming from SMPP to GSM

Route Outgoing from GSM to SMPP and Incoming from SMPP to GSM SearchSearch
Author Message
Kenneth Lai
New member
Username: Madkid

Post Number: 1
Registered: 03-2017
Posted on Monday, March 27, 2017 - 08:21 pm:   

I have a scenario but not sure if it had been asked before.

I created two SMSC connections, one SMPP and the other GSM modem.

I would like to know if SMS Gateway could route all outgoing SMS originated from the GSM connection through the SMPP connection, at the same time to intercept all incoming SMS received from the SMPP connection and pass it through to the GSM connection.

If yes, can you kindly show me how to configure it properly?


Thanks,

Ken
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8165
Registered: 10-2002
Posted on Wednesday, March 29, 2017 - 02:48 am:   

Hi Ken,

This is easier to configure if you connect an SMPP client (ESME) to NowSMS (as the SMSC). Create an account under "SMS Users" and enable the SMPP server. In the properties for the modem connect, route received messages to this account. Everything you submit via SMPP goes out the modem, and everything the modem receives goes to SMPP.

If the SMPP connection is in the SMSC list, NowSMS initiates the connection (ESME role), and this configuration is more complex. But this can be manually configured with SMSGW.INI settings. In your SMSGW.INI file, you will currently have a configuration section for the SMPP connection and one for the modem connection. The ReRouteReceived setting can redirect inbound messages from one connection to be routed out another connection by linking the route names together like this:

[Modem - name]
RouteName=ModemRoute
ReRouteReceived=SMPPRoute

[SMPP - server:port]
RouteName=SMPPRoute
ReRouteReceived=ModemRoute

-bn

Bryce Norwood
Now SMS/MMS Support
Jonathan Davis
New member
Username: Catelco

Post Number: 2
Registered: 06-2018
Posted on Thursday, June 21, 2018 - 04:51 pm:   

"In the properties for the modem connect" I don't understand there are no properties to configure a modem. Could someone please call me back I can be reached at 443-500-1903
Jonathan Davis
New member
Username: Catelco

Post Number: 3
Registered: 06-2018
Posted on Thursday, June 21, 2018 - 04:54 pm:   

Do you mean under SMSC we add a modem? Because I do not see anything under the SMS Users to config a modem. Please we need to test this software - the folks in UK have gone home for the day and we ha ve to test ASAP.
Jonathan Davis
New member
Username: Catelco

Post Number: 4
Registered: 06-2018
Posted on Thursday, June 21, 2018 - 05:03 pm:   

I don't understand where I am adding a modem when I am in SMSC adding the modem is looking for a connection on a USB or COM port.
Jonathan Davis
New member
Username: Catelco

Post Number: 5
Registered: 06-2018
Posted on Thursday, June 21, 2018 - 05:31 pm:   

I am trying to use the INI method but it doesn't seem to be working. Could you please assist us with this?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5932
Registered: 08-2008
Posted on Thursday, June 21, 2018 - 06:44 pm:   

Hi Jonathan,

I assume this is related to your question here: https://support.nowsms.com/discus/messages/1/74099.html

And that a colleague of mine referred you here because it is a somewhat similar scenario.

The original question here had two SMSC connections, one is a modem, the other is SMPP.

You have 2 SMSC connections, both SMPP, I am assuming.

I understand both connections have been defined, and you have confirmed that you can send to both using the NowSMS web interface.

Each SMSC connection will have a configuration section in SMSGW.INI, such as [SMPP - server1:port].

The ReRouteReceived setting can redirect inbound messages from one connection to be routed out another connection by linking the route names together like this:

[SMPP - server1:port]
RouteName=ROUTE1
ReRouteReceived=ROUTE2

[SMPP - server2:port]
RouteName=ROUTE2
ReRouteReceived=ROUTE1

There will be existing settings already present. Each SMSC connection has its own section for settings. ReRouteReceived indicates that any SMS received on this connection are routed out to the RouteName of another connection.

--
Des
NowSMS Support