Yes thanks Saad and Alvaro, my build is the following: "version `svn-r4865.
Build `Feb 9 2012 04:35:47'"

Down are my configs, main.conf & smsc.conf.

Regarding Alvaro's email, I really don't see it sending to 2 operators or
more simultaneously, because it takes long time to send to other operator
while sending bulk SMSs to other, I also use smsc=SMSC1 in sendsms URL. I
know I should implement priority in sendsms URL for better quality(bulk SMSs
don't have to get there on specific times, but subscription packages' or
competitions' do), or again back to installing to 2 bearerboxes 1 for bulk
and 1 for normal SMSs.

Regarding Saad's email, Yes I will try to increase my throughput on operator
side or have another connection, but by the way using multiple SMSBoxes in
this case wouldn't help, in my opinion, since the problem is with SMSs
getting out of kannel not in it, which is what bearerbox does, I'm only
sending Bulk to 1 operator ATM, but in future I'll be sending to others, so
I know the problem will escalate.

I was wondering if opensmppbox would help getting better performance, but
things are still foggy as to what it does? how to configure it? If I run 1
or more opensmppboxes would they help sending SMSs faster than my poor old
bearerbox!

Below are my configuration files, and thanks greatly for everything.

main.conf

############################################################################
#################
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13012
admin-password = **********
log-file = "/var/log/kannel/bearer.log"
log-level = 3
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
box-allow-ip = "*.*.*.*" 
store-type = spool
store-location = /var/spool/kannel/spool
wdp-interface-name = "*"
dlr-storage=mysql
sms-resend-freq = 1


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#sendsms-chars = "0123456789 +-"
log-level = 0
smsbox-id = internal
#http-request-retry=5
mo-recode=true
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/access.log"


include = "/kannel/conf/SMSC.conf"


group = sms-service
keyword=default
accepted-smsc = "SMSC1;SMC2;********"
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "http://Webserver-IP/%p_%b_%P_%i";
omit-empty=yes


group = sendsms-user
username = username
password = password
concatenation = true
max-messages = 7


group=smsbox-route
smsbox-id = internal
smsc-id="SMSC1;SMSC2;********"


group = mysql-connection
id= mykannel
host= DB-IP
username=user
password=password
database=DB


group =dlr-db
id=mykannel
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
############################################################################
#################


smsc.conf

############################################################################
#################
group=smsc
smsc=smpp
denied-smsc-id = "SMSC2;SMSC3;******"
smsc-id=SMSC1
smsc-admin-id=SMSC1_Tx1
allowed-smsc-id=SMSC1
interface-version=34
host=IP
port=PORT-NUMBER
system-id=username
smsc-password=password
system-type="pc8446"
transceiver-mode=0
dest-addr-ton=1
dest-addr-npi=1
source-addr-ton=5
source-addr-npi=0
log-file = "/var/log/kannel/SMSC1_Tx1.log"
log-level = 3


group=smsc
smsc=smpp
denied-smsc-id = "SMSC2;SMSC3;****"
smsc-id=SMSC1
smsc-admin-id=SMSC1_Rx1
allowed-smsc-id=SMSC1
interface-version=34
host=IP
system-id=user
smsc-password=password
system-type="pc8446"
transceiver-mode=0
receive-port=16000
dest-addr-ton=1
dest-addr-npi=1
source-addr-ton=5
source-addr-npi=0
log-file = "/var/log/kannel/SMSC1_Rx1.log"
log-level = 3


.....

############################################################################
#################


Amin.




-----Original Message-----
From: Alvaro Cornejo [mailto:[email protected]] 
Sent: Monday, September 03, 2012 4:59 PM
To: Amin Mukhaimer
Cc: Saad Omer; [email protected]
Subject: Re: help with understanding opensmppbox

Can you post configs?

Kannel treats each smsc independently with its own queue each.
Therefore it shouldn't wait to empty sms1 queue to send smsc2 msgs.

if you know to which smsc a message should take before hand, you can add its
id when posting it to kannel. i.e. If using smsbox adding
"&smsc_id=smscx&..."  I think there is something similar in sqlbox.

Regards

Alvaro


|---------------------------------------------------------------------------
--------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones
2 vias via SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


From: Saad Omer [mailto:[email protected]] 
Sent: Monday, September 03, 2012 12:02 PM
To: 'Amin Mukhaimer'
Subject: RE: help with understanding opensmppbox

You don’t need multiple kannels. One kannel can handle multiple SMSC LAs,
and you can even define absolute paths as well, which your SMS traffic will
follow. Here is what you need to do to improve SMS sending timing:

-       Check the LA throughput from your operators. If they have allowed
some low speed (like 5 messages/sec), there is no way you can send SMS with
higher speed. For sending bulks like 100k or more, you should request the
operator to provide you the speed of at least 30 SMS/sec for one LA, or
multiple LAs with 5 SMS/sec (to get overall high speed).
-       Use SQLBOX and tweak your application to submit SMS directly to
send_sms table, instead of sending via SMSBOX.
-       Configure kannel to use multiple operators. In SMSC configuration,
use different IP and port for another connection. OR use multiple SMSBOXES
for multiple connections. Multiple kannels is like worst solution for
handling such thing. Besides, it will cause you a lot of reconcile problems.

Let me know if I could help you anymore.

Regards,
Saad


On Mon, Sep 3, 2012 at 2:07 AM, Amin Mukhaimer
<[email protected]> wrote:
> Ok thanks greatly, definitely looking up SMSbox configurations and 
> need to modify my backend server to insert into db instead of calling 
> sendsms page, that seems great.
>
>
>
> Though my real issue is SMSs taking too long to get out of kannel, 
> into the operator, not getting in kannel, meaning it takes long time 
> to send 100,000 SMS for one operator, and sending SMSs to other 
> operators will stay in Queue until first ones are sent, meaning it 
> doesn’t seem to multi-thread, or send SMS to multiple operators 
> Simultaneously, which is why I am considering running 2 kannels or 
> more…
>
>
>
> Thanks anyways,
>
> Amin
>
>
>
> From: Saad Omer [mailto:[email protected]]
> Sent: Saturday, September 01, 2012 11:21 AM
> To: 'Amin Mukhaimer'
> Subject: RE: help with understanding opensmppbox
>
>
>
> What you need is SQLBOX, not SMPPBOX. SQLBOX is a database layer which 
> sites between BEARERBOX and SMSBOX. You can insert the SMS data 
> directly into database, from where it will be picked up by BEARERBOX 
> itself. The process is at least 10 times faster than standard SMSBOX.
>
>
>
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of Amin Mukhaimer
> Sent: Wednesday, August 29, 2012 7:20 PM
> To: [email protected]
> Subject: help with understanding opensmppbox
>
>
>
> hey guys,
>
>
>
> how is it going? I have some questions regarding opensmppbox, so I can 
> connect it to bearerbox as normal smsbox? And what would be the 
> purpose of that? I am looking to increase the performance of my 
> installation since sending large numbers of SMSs to many operators can 
> take a long time… I am thinking of doing 2 or more installations of 
> kannel, to increase performance and total number of SMSs sent/period of
time.
>
>
>
> Thanks in advance,
>
>


Reply via email to