In clients.txt:

 

testsmpp xxxxx localbox 127.0.0.1

 

In opensmppbox.conf:

 

group = core

 

 

# Proxy configuration

group = opensmppbox

bearerbox-host = 127.0.0.1

bearerbox-port = 13001

opensmppbox-id = smppbox1

opensmppbox-port = 2346

log-level = 0

our-system-id =testsmpp

route-to-smsc = testsmsc

# New accounts

smpp-logins = /home/kannel/src/etc/clients.txt

 

In kannel.conf:

 

group = smsbox

smsbox-id = hvgbox

bearerbox-host = 127.0.0.1

sendsms-port = 13013

global-sender = 1234

 

group = smsc

smsc-id = testsmsc

smsc = http

connect-allow-ip = 127.0.0.1

[.]

 

group = smsbox-route

smsbox-id = localbox

smsc-id = testsmsc

 

 

 

Something like that? See the group = smsbox-route. MO messages coming from
testsmsc are routed to "localbox" which is the systemtype of client:
testsmpp.

Note that in this example, we don't use use-systemid-as-smsboxid.

 

 

== Rene

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Niel Smith
Sent: Tuesday, 22 November, 2011 08:48
To: [email protected]
Subject: Routing from http smsc to a remote smpp client using opensmpp box

 

Hi,

Can anyone please assist me in routing MOSMS messages (received by a http
smsc) to a remote smpp client (via opensmppbox)?

For mtsms, I've got a bearerbox, opensmppbox, and http smsc, which is
working as expected.

Unfortunately, even after spending hours going though the mailing lists,
reading the documentation, etc, I still do not understand what boxes,
routes, and config is needed to accomplish this.

Can anyone possibly give me a link / reference to a *working* example
config? Or possibly just give me the basic steps on how to accomplish this?
What boxes, routes, etc I need.

I've downloaded, compiled and installed the latest version form cvn
yesterday.

Thanks! 

Reply via email to