Support forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_TopicIcon
Connector To Gateway
sp_NewTopic Add Topic
February 28, 2020
9:33 am
Henk Helmantel
Admin
Forum Posts: 1573
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello David,

You only have to use the message_out HTTP callback to change the routing of messages from the SMPP Connector to the SMPP Gateway. The message_in HTTP callback is used for inbound messages, messages that are received by the SMPP Gateway and routed back to one or more of the SMPP Connectors.

The message_out HTTP callback can only be used to limit the default routing of the connector, it can't be used to expand the routing to a gateway that is not in the routing table of the connector. For instance , if you have one connector, Connector1, and three gateways, Gateway1, Gateway2 and Gateway3, and Connector1 routes the messages to Gateway1 and Gateway2, you can use the message_out HTTP callback to route the message to Gateway1 only, but not to Gateway3.

Regards, Henk

February 27, 2020
6:26 pm
David Wylie
Guest
Guests

Sorry I'm struggling again to work something out.

I have an SMPP Connector (server) accepting messages from several users. I want all the messages received over this connector from one specific user_id to go straight out over an SMPP gateway. I don't want any other user_id's to be affected by this routing.

I thought I could do that via the HTTP callback result (using result=1&gateway=xxx) but that seems only to work with "message_out" and not "message_in". I don't see how I can hardwire the connector to the gateway in the connector properties as that will surely affect all users?

Is this possible to do or will I have to split this user into a new connector? I'd rather not if it's possible.

Forum Timezone: Europe/Amsterdam
Most Users Ever Online: 1119
Currently Online:
Guest(s) 5
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 703
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1195
Posts: 4079
Newest Members:
, Henk Helmantel
Administrators: Henk Helmantel: 1573