Hi,

I have connected the opensmppbox directly to both the bearerbox, and sqlbox without any issues. In the configuration scenario I sent two messages prior the opensmppbox was connecting to the sqlbox, however if the opensmppbox configurations bearerbox-port was set to (for example) 12001 the opensmppbox would be connecting to the bearerbox.

Kind Regards,

Chris

On 07/08/12 11:25, spameden wrote:
OpenSMPPBox can be connected to smsbox or sqlbox, not bearerbox directly.

bearerbox is used to operate with smsc connections, whilst smsbox or sqlbox used to send messages.

OpenSMPPBox acts like a proxy, it's not a standalone server, so it needs to be connected either to smsbox or sqlbox.

There is just a confusion due used variables in the configuration file I think.. Correct me If I am wrong.

In the configuration example posted by Christopher OpenSMPPBox is connected to SQLBox:

>group                           = opensmppbox
> opensmppbox-id                  = send_hsl_smpp
> opensmppbox-port                = 12090
> bearerbox-host                  = localhost
> bearerbox-port                  = *12005*

> group                           = sqlbox
> id                              = send_sqlbox
> smsbox-id                       = send_sqlbox
> bearerbox-host                  = localhost
> bearerbox-port                  = *12001*
> smsbox-port                     = *12005*
> smsbox-port-ssl                 = false

2012/8/7 Milan P. Stanic <m...@arvanta.net>
On Tue, 2012-08-07 at 10:41, Christopher Burke wrote:
> The opensmppbox appears in the bearerbox as an smsbox, therefore I

So, it is connected to bearerbox and not to to SQLBox as you told in
your previous e-mail.
AFAIK opensmppbox cannot be connected to SQLBox. Please prove me wrong.

If you connect it to bearerbox and connect SQLBox to bearerbox to, you
can say that the opensmppbox and sqlbox are (inter)connected but
opensmppbox does not know anything about sqlbox.

I'm writing this mail not to bash you but to explain that the
opensmppbox can only be connected to bearerbox, which is clearly
depicted and described in (opensmppbox) documentation.

> setup as I would an smsbox connected to a sqlbox. Configurations are
> below; but if this is not how it's designed possibly I done
> something wrong or I can expect some undesired results.
>
> *The opensmppbox configuration: *
> cb@MOBILEWORKBOX:~$ sudo cat
> /etc/kannel/internal/smppboxes/send_hsl/send/send.conf
> ############################################################
> # KANNEL CONFIGURATION                                     #
> # Christopher Burke <christopher.bu...@simulity.com>       #
> ############################################################
>
> include=/etc/kannel/internal/bearerboxes/send_hsl/send/send.conf
>
> ############################################################
> # SMPPBOX Connections                                      #
> ############################################################
>
> group                           = opensmppbox
> opensmppbox-id                  = send_hsl_smpp
> opensmppbox-port                = 12090
> bearerbox-host                  = localhost
> bearerbox-port                  = *12005*
> log-level                       = 0
> log-file                        =
> /var/log/kannel/send_hsl/send/log_smppbox.log
> our-system-id                   = send_hsl_smpp
> route-to-smsc                   = send_hsl
> smpp-logins                     =
> /etc/kannel/internal/smppboxes/smpplogins.txt
> box-dlr-storage                 = mysql
>
> ############################################################
> # mysql Connections                                        #
> ############################################################
>
> group                           = mysql-connection
> id                              = mydlr
> host                            = localhost
> username                        = root
> password                        = root
> database                        = SEND_HSL_SMPP
> max-connections                 = 20
>
> ############################################################
> # dlrmysql Connections                                     #
> ############################################################
>
> group                           = dlr-db
> id                              = mydlr
> table                           = smppdlr
> 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
>
> *The SQLBox Configuration:*
> cb@MOBILEWORKBOX:~$ sudo cat
> /etc/kannel/internal/sqlboxes/send_hsl/send/send.conf
> ############################################################
> # KANNEL CONFIGURATION                                     #
> # Christopher Burke <christopher.bu...@simulity.com>       #
> ############################################################
>
> ############################################################
> # SQLBOX GROUP                                             #
> ############################################################
>
> group                           = sqlbox
> id                              = send_sqlbox
> smsbox-id                       = send_sqlbox
> bearerbox-host                  = localhost
> bearerbox-port                  = *12001*
> smsbox-port                     = *12005*
> smsbox-port-ssl                 = false
> sql-log-table                   = sent_sms
> sql-insert-table                = send_sms
> log-file                        =
> /var/log/kannel/send_hsl/send/log_sqlbox.log
> log-level                       = 0
>
> group                           = mysql-connection
> id                              = send_sqlbox
> host                            = localhost
> username                        = root
> password                        = root
> database                        = SEND_HSL_SQLBOX
>
> *The SMPP/SMSC/Bearerbox configuration:*
> cb@MOBILEWORKBOX:~$ sudo cat
> /etc/kannel/internal/bearerboxes/send_hsl/send/send.conf
> ############################################################
> # KANNEL CONFIGURATION                                     #
> # Christopher Burke <christopher.bu...@simulity.com>       #
> ############################################################
>
> group                           = smsbox
>
> ############################################################
> # CORE GROUP                                               #
> ############################################################
>
> group                           = core
> admin-port                      = 12000
> smsbox-port                     = *12001*
> admin-password                  = foobarz
> log-file                        =
> /var/log/kannel/send_hsl/send/log_bearerbox.log
> access-log                      =
> /var/log/kannel/send_hsl/send/acc_bearerbox.log
> log-level                       = 0
> box-deny-ip                     = "*.*.*.*"
> box-allow-ip                    = "*.*.*.*"
>
> ############################################################
> # SMSC GROUP                                               #
> ############################################################
>
> group                           = smsc
> smsc                            = smpp
> smsc-id                         = send_hsl
> host                            = a.b.c.d
> port                            = abcd
> transceiver-mode                = false
> smsc-username                   = "foo"
> smsc-password                   = "bar"
> system-type                     = "SMPP"
> address-range                   = "12345678901"
> source-addr-ton                 = 1
> source-addr-npi                 = 1
> dest-addr-ton                   = 1
> dest-addr-npi                   = 1
> bind-addr-ton                   = 1
> bind-addr-npi                   = 1
>
>
> On 07/08/12 10:27, Milan P. Stanic wrote:
> >On Tue, 2012-08-07 at 09:57, Christopher Burke wrote:
> >>Hi Guys,
> >>
> >>Just thought I'd wrap up on this issue as it's now solved.
> >>
> >>1. You can connect an OpenSMPPBox to a SQLBox
> >If that is true then Rene (Kluwen) should update opensmppbox
> >documetation with the description of SQLBox parameters and update
> >diagram in SMPPBox.png
> >
> >>2. The reason I could not connect was because I had the "vma" string
> >>as lower case in the smpplogins file, but upper case in the
> >>configuration file
> >Could you post your config section where you define 'SQLBox' parameters,
> >please?
> >
> >>Thanks again!
> >>
> >>Chris
> >>
> >>On 03/08/12 17:51, Milan P. Stanic wrote:
> >>>On Fri, 2012-08-03 at 17:05, Christopher Burke wrote:
> >>>>Hi,
> >>>>
> >>>>Using the latest from SVN - perhaps I'll try to add the VMA into the
> >>>>smpplogins.txt and see if that works.
> >>>>
> >>>>Are you communicating directly to the bearerbox or to a sqlbox?
> >>>Is it possible for opensmppbox to communicate/connect anything than
> >>>bearerbox?
> >>>>Kind Regards and Thanks in Advance,
> >>>>
> >>>>Chris
> >>>>
> >>>>On 03/08/12 16:10, Milan P. Stanic wrote:
> >>>>>On Fri, 2012-08-03 at 14:42, Christopher Burke wrote:
> >>>>>>Thanks for your response. My smpplogins is as follows:
> >>>>>>
> >>>>>>username internal 127.0.0.1
> >>>>>Which version of the opensmppbox you use?
> >>>>>
> >>>>>I have next line in my smpplogings.txt file:
> >>>>>xxxx yyyy vma 127.0.0.1
> >>>>>where xxxx is username and yyyy is password.
> >>>>>
> >>>>>>-rw-rw-rw- 1 root root   28 Aug  3 14:40 smpplogins.txt
> >>>>>>
> >>>>>>Does this look okay to you?
> >>>>>>
> >>>>>>Kind Regards,
> >>>>>>
> >>>>>>Christopher
> >>>>>>
> >>>>>>On 03/08/12 10:48, Artem Chekulaev wrote:
> >>>>>>>Hi
> >>>>>>>
> >>>>>>>I had the same issue. Try to delete your smpplogins.txt (or where
> >>>>>>>you store your logins) and create it again from emtpy and fill it
> >>>>>>>carefully, not from example. In my case it was rights-to-read-file
> >>>>>>>issue too - Kannel had no rights to any access that file
> >>>>>>>
> >>>>>>>2012/8/3 Christopher Burke <christopher.bu...@simulity.com
> >>>>>>><mailto:christopher.bu...@simulity.com>>
> >>>>>>>
> >>>>>>>    Hi,
> >>>>>>>
> >>>>>>>    I've been attempting to connect an opensmppbox to my
> >>>>>>>    configuration, however I am getting the following errors:
> >>>>>>>
> >>>>>>>    2012-08-03 10:19:06 [10282] [6] ERROR: SMPP[recv_smpp]: SMSC
> >>>>>>>    rejected login to transmit, code 0x0000000d (Bind Failed).
> >>>>>>>    2012-08-03 10:19:06 [10282] [6] ERROR: SMPP[recv_smpp]: Couldn't
> >>>>>>>    connect to SMS center (retrying in 10 seconds).
> >>>>>>>
> >>>>>>>    What is a likely cause of this issue? I can post my configuration
> >>>>>>>    files and detailed logs if needed.
> >>>>>>>
> >>>>>>>    Kind Regards and Thanks in Advance,
> >>>>>>>
> >>>>>>>    Chris
> >>>>>>>
> >>>>--
> >>>>*Christopher Burke*
> >>>>Development Team Leader / Software Engineer
> >>>>http://simulity.com
> >>>>Mobile: +44 7590 571 833
> >>>>Skype:krslynx
> >>>>NOTICE: This message contains privileged & confidential information
> >>>>intended only for the use of the addressee named above. If you are
> >>>>not the intended recipient of this message, you are hereby notified
> >>>>that you must not disseminate, copy or take any action in reliance
> >>>>on it. If you have received this message in error, please notify
> >>>>Simulity Labs immediately. Any views expressed in this message are
> >>>>those of the individual sender except where the sender specifically
> >>>>states them to be the view of Simulity Labs
> >>--
> >>*Christopher Burke*
> >>Development Team Leader / Software Engineer
> >>http://simulity.com
> >>Mobile: +44 7590 571 833
> >>Skype:krslynx
> >>NOTICE: This message contains privileged & confidential information
> >>intended only for the use of the addressee named above. If you are
> >>not the intended recipient of this message, you are hereby notified
> >>that you must not disseminate, copy or take any action in reliance
> >>on it. If you have received this message in error, please notify
> >>Simulity Labs immediately. Any views expressed in this message are
> >>those of the individual sender except where the sender specifically
> >>states them to be the view of Simulity Labs
>
> --
> *Christopher Burke*
> Development Team Leader / Software Engineer
> http://simulity.com
> Mobile: +44 7590 571 833
> Skype:krslynx
> NOTICE: This message contains privileged & confidential information
> intended only for the use of the addressee named above. If you are
> not the intended recipient of this message, you are hereby notified
> that you must not disseminate, copy or take any action in reliance
> on it. If you have received this message in error, please notify
> Simulity Labs immediately. Any views expressed in this message are
> those of the individual sender except where the sender specifically
> states them to be the view of Simulity Labs

--
Kind regards,  Milan
--------------------------------------------------
Arvanta,        http://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)



--
Christopher Burke
Development Team Leader / Software Engineer
Mobile: +44 7590 571 833
Skype:krslynx
NOTICE: This message contains privileged & confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message, you are hereby notified that you must not disseminate, copy or take any action in reliance on it. If you have received this message in error, please notify Simulity Labs immediately. Any views expressed in this message are those of the individual sender except where the sender specifically states them to be the view of Simulity Labs

Reply via email to