To clarify about the solution to use 2 BB is it possible?
I don't understand in your last mail if you talk about fancy way or normal
way, or if it is not possible at all to do AO-AT routing :s

Regards,

Emmanuel

2010/10/11 Nikos Balkanas <nbalka...@gmail.com>

> Nope. BB is an SMPP client and can send only to an SMPP server. If your
> applications are clients, you cannot connect to them with bb. SMPPbox cannot
> help you either, because it cannot route between 2 SMPP clients.
>
> You may be able to connect both applications to SMPPbox and then use either
> the loopback smsc or the http smsc (system kannel) to force a loopback on
> bb. However I am not sure how you will do the routing from one application
> to the other (smsbox in this case). You see, loopback and http smsc send
> back only to the originating smsbox.
>
>
> BR,
> Nikos
> ----- Original Message ----- From: Emmanuel CHANSON
> To: users@kannel.org
> Sent: Monday, October 11, 2010 11:21 AM
>
> Subject: Re: smsbox to opensmppbox routing
>
>
> Understood... so I need a second bearerbox to do AO-AT ie Application
> Originated (smpp client 1) -> Application terminated (smpp client 2)
> I tought smppbox could forward from one client to another but it can not,
> it forward all SMS to bearerbox that routes SMS.
>
> Thanks,
>
> Emmanuel
>
>
> 2010/10/11 Nikos Balkanas <nbalka...@gmail.com>
>
> (Please use list)
>
> I don't understand AO-AT. You can get infinite loop if you use careless
> routing:
>
> smsbox -> bb -> SMSc
> smppbox->    ->smppbox
>
> If you just want to send SMS to SMSc, you don't need smppbox. If you route
> SMS to smppbox, and smppbox connects to same bb, it will feed again the SMS
> to the bb, which in turn can feed it again to smppbox, and so on.
>
>
> BR,
> Nikos
> ----- Original Message ----- From: Emmanuel CHANSON
> To: Nikos Balkanas
>
> Sent: Monday, October 11, 2010 10:24 AM
>
> Subject: Re: smsbox to opensmppbox routing
>
>
> So if I want to do AO-AT routing using one bearerbox I can not. This is my
> purpose.
> Here I would like to use smsbox cgi script to send SMS but let's say I want
> to send SMS from one application to another, both will be connected to
> opensmppbox but in this case I will need the fancy solution.but you said it
> will end p to infinite loop wy ?
>
> Otherwise have to connect second bearerbox.
>
> Emmanuel
>
>
> 2010/10/11 Nikos Balkanas <nbalka...@gmail.com>
>
> Normal way would be to use 2 bbs. Fancy way would be to use a single one,
> but for what purpose? You would end up with an infinite loop. The idea is to
> be able to connect transparently other SMPP clients to your infrastructure
> and appear as another aggregator.
>
> BR,
>
> Nikos
> ----- Original Message ----- From: Emmanuel CHANSON
>
> To: Nikos Balkanas
> Cc: users
> Sent: Monday, October 11, 2010 10:00 AM
> Subject: Re: smsbox to opensmppbox routing
>
>
>
> Ok I understand a little more,
>
> Is it relevant if I use only one bearerbox and configure this bearerbox to
> be a client, to connect to smppbox using smsc = smpp ? Then add a routing ?
> Or do I have to use 2 differents bearerbox for this like you advise?
>
> Emmanuel
>
>
> 2010/10/11 Nikos Balkanas <nbalka...@gmail.com>
>
> Hi,
>
> You cannot use it that way. openSMPPbox is an SMPP proxy. It connects to
> bearerbox as another smsbox, but it cannot connect to directly to smsbox.
> You can connect an SMPP client (ie ESME - another bearerbox) to it, and it
> will forward SMS to bearerbox for routing to an smsc.
>
> HTH,
> Nikos
> ----- Original Message ----- From: Emmanuel CHANSON
> To: users
> Sent: Monday, October 11, 2010 8:34 AM
> Subject: smsbox to opensmppbox routing
>
>
>
> Hello,
>
> I am just discovering opensmppbox (latest svn release compiled and
> installed with kannel & sqlbox svn)
>
> My purpose is to send SMS to an smpp application for tests.
> For this I want to use smsbox cgi script but I got a problem of routing
> from bearerbox.
>
> How can I route these SMS from smsbox to opensmppbox (itself linked to a
> smpp application), do I have to use smsbox-route ?
>
> Below my config and logs:
>
> bearerbox.log:
> ...
> 2010-10-11 16:24:48 [27991] [17] DEBUG: boxc_receiver: sms received
> 2010-10-11 16:24:48 [27991] [17] WARNING: Cannot find SMSCConn for message
> to <1065>, rejected.
> 2010-10-11 16:24:48 [27991] [17] WARNING: Message rejected by bearerbox, no
> router!
> 2010-10-11 16:24:48 [27991] [17] DEBUG: send_msg: sending msg to box:
> <127.0.0.1>
>
> kannel.conf:
> -----------------
> group = core
> admin-port = 13000
> admin-password = xxx
> status-password = xxx
> #admin-deny-ip = ""
> #admin-allow-ip = ""
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
> #http-proxy-host = "127.0.0.1"
> #http-proxy-port = 8080
> #http-proxy-exceptions = "127.0.0.1"
> #http-proxy-username = "user"
> #http-proxy-password = "password"
> #ssl-certkey-file = "mycertandprivkeyfile.pem"
> #store-type = file
> store-type = spool
> #store-location = /var/log/kannel/kannel.store
> store-location = /var/spool/kannel
> dlr-storage = mysql
> #black-list = "http://127.0.0.1/kannel/black-list.txt";
> white-list-regex = ^\+xxx[0-9]{6}$
> #
> # Smsbox related
> # Sqlbox at that moment
> smsbox-port = 13001
> #
> # Wapbox related
> wapbox-port = 13002
> #udp-deny-ip = "*.*.*.*"
> udp-allow-ip = "127.0.0.1"
> #wdp-interface-name = "*"
>
> ####################################
> # Wapbox
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
> log-level = 0
> syslog-level = none
>
> ####################################
> # PPG
> group = ppg
> #ppg-url = /wappush
> ppg-url = /kannel/php-admin/wappush.php
> ppg-port = 8080
> concurrent-pushes = 100
> users = 1024
> ppg-allow-ip = "127.0.0.1"
> trusted-pi = true
> service-name = ppg1
>
> group = wap-push-user
> wap-push-user = wappush
> ppg-username = xxx
> ppg-password = xxx
> allow-ip = "127.0.0.1"
>
> ####################################
> # SMSC CONNECTIONS - GLOBAL FIELDS
>
> # SMSC Fake
> group = smsc
> smsc = fake
> smsc-id = "FakeSMSC-1"
> allowed-smsc-id = "FakeSMSC-1"
> host = localhost
> port = 10001
> connect-allow-ip = 127.0.0.1
>
>
> #############################
> # DLR with MySQL support configuration
> group = mysql-connection
> id = mydlr
> host = localhost
> username = xxxx
> password = xxxxxx
> database = kanneldlr
> # max count of connections that will be opened for dbpool
> # default is 1
> max-connections = 1
>
> # MySQL Group
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>
> #############################
> # SMSBOX SETUP
> # NOT USED
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> #sendsms-chars = "0123456789 +-"
> global-sender = +xxxxxxxxx
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log = "/var/log/kannel/access.log"
> #white-list =
> #black-list =
> #reply-couldnotfetch =
> #reply-couldnotrepresent =
> #reply-requestfailed =
> #reply-emptymessage =
>
> #############################
> group = smsbox-route
> smsbox-id = mmg
>
>
>
>
> opensmppbox.conf:
> -----------------------------
> # sample opensmppbox.conf
>
> group = core
> dlr-storage = mysql
>
> # this group defines your opensmppbox
> group = opensmppbox
> # our boxc type
> opensmppbox-id = smppbox
> # the port to listen on for smpp connections
> opensmppbox-port = 6201
> # we connect to the following host as a box
> bearerbox-host = localhost
> bearerbox-port = 13001
> log-level = 0
> log-file = /var/log/kannel/opensmppbox.log
> our-system-id = opensmppbox
> #route-to-smsc = smpp
> # see sample smpplogins.txt
> smpp-logins = "/etc/kannel/smpplogins.txt"
>
> # the following is just standard dlr configuration
>
> group = mysql-connection
> id = mydlr
> host = localhost
> username = xxxx
> password = xxxxxx
> database = kanneldlr
> # you can increase this upon a higher load
> max-connections = 1
>
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-destination = destination
> field-source = source
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxcid
>
> opensmpplogin.txt:
> ---------------------------
> mmg    mmg    mmg
>
> Regards,
>
> Emmanuel
>

Reply via email to