Re: Store size increasing on MO
I unable to start kannel if i comment out smsbox-id. 2016-05-25 12:27:20 [15033] [0] PANIC: 'smsbox-route' group without valid 'smsbox-id' directive! ~ KH > On 24 May 2016, at 7:52 PM, amal...@kannel.org wrote: > > Hi, > > looks like you MO routing is broken. Try to comment out smsbox-id = „mo“ in > your config. > > Alex > >> Am 18.05.2016 um 05:12 schrieb conandor <conan...@gmail.com >> <mailto:conan...@gmail.com>>: >> >> I have a kannel bearerbox dedicated to MO only. And I notice the store size >> keep increasing. Why is it so? >> >> Kannel bearerbox version `1.4.4'. >> Build `Oct 9 2015 03:35:52', compiler `4.4.7 20120313 (Red Hat 4.4.7-16)'. >> System Linux, release 2.6.32-573.8.1.el6.x86_64, version #1 SMP Fri Sep 25 >> 19:24:22 EDT 2015, machine x86_64. >> Hostname localhost, IP 127.0.0.1. >> Libxml version 2.7.6. >> Using native malloc. >> >> >> Status: running, uptime 0d 0h 9m 19s >> >> WDP: received 0 (0 queued), sent 0 (0 queued) >> >> SMS: received 21022 (0 queued), sent 0 (1 queued), store size 1101 >> SMS: inbound (36.59,38.03,37.61) msg/sec, outbound (0.00,0.00,0.00) msg/sec >> >> DLR: received 0, sent 0 >> DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec >> DLR: 0 queued, using internal storage >> >> Box connections: >> smsbox:mo, IP 127.0.0.1 (0 queued), (on-line 0d 0h 9m 17s) >> >> >> SMSC connections: >
Store size increasing on MO
I have a kannel bearerbox dedicated to MO only. And I notice the store size keep increasing. Why is it so? Kannel bearerbox version `1.4.4'. Build `Oct 9 2015 03:35:52', compiler `4.4.7 20120313 (Red Hat 4.4.7-16)'. System Linux, release 2.6.32-573.8.1.el6.x86_64, version #1 SMP Fri Sep 25 19:24:22 EDT 2015, machine x86_64. Hostname localhost, IP 127.0.0.1. Libxml version 2.7.6. Using native malloc. Status: running, uptime 0d 0h 9m 19s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 21022 (0 queued), sent 0 (1 queued), store size 1101 SMS: inbound (36.59,38.03,37.61) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: received 0, sent 0 DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: 0 queued, using internal storage Box connections: smsbox:mo, IP 127.0.0.1 (0 queued), (on-line 0d 0h 9m 17s) SMSC connections:
Re: Multiple smsboxes
Are you able to successfully configure the multiple smsboxes? Please do share the config and steps :) eduardo.raad wrote: Thanks Alejandro!! Eduardo Sent from my BlackBerry® wireless device -Original Message- From: Alejandro Guerrieri alejandro.guerri...@gmail.com Date: Sat, 25 Apr 2009 18:48:02 To: eduardo.r...@metromovil.com Cc: Alvaro Cornejocornejo.alv...@gmail.com; usersusers@kannel.org Subject: Re: Multiple smsboxes You could use the include feature to simplify management: Have one file with the settings to be shared among all instances (core groups, etc). Then, have one file per instance and put there settings that only apply to that instance. Use an include directive to add the global file (probably at the beginning). Using this method, you avoid having to tweak many files to change global settings. Hope it helps, Alejandro On Sat, Apr 25, 2009 at 6:40 PM, Eduardo Raad eduardo.r...@metromovil.comwrote: I will try that, thanks alvaro! Eduardo Sent from my BlackBerry® wireless device -Original Message- From: Alvaro Cornejo cornejo.alv...@gmail.com Date: Sat, 25 Apr 2009 11:39:55 To: Eduardo Raadeduardo.r...@metromovil.com Cc: usersusers@kannel.org Subject: Re: Multiple smsboxes Hi Eduardo Try having a separate config file for each smsbox and include the same core config on all of them and start them separately As core config is the same, just start bearerbox from one of your config files Hope Helps 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 On Sat, Apr 25, 2009 at 9:57 AM, Eduardo Raad eduardo.r...@metromovil.com wrote: Thank you Nikos. When I try to use separate files, the smsbox won't start because it doesn't find a core group... Anyways here is my configuration: #- # CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = 292929 status-password = 8838383 #admin-deny-ip = #admin-allow-ip = log-file = /home/kannel/log/kannel.log #log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 access-log = /home/kannel/log/access.log store-type = spool store-location = /home/kannel/store/ #- # SMSC CONNECTIONS include = /home/kannel/conf/smsc1.conff # SMS boxes group = smsbox smsbox-id = smsbox1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = /home/kannel/log/smsbox1.log log-level = 0 access-log = /home/kannel/log/smsbox1_access.log http-request-retry = 1000 http-queue-delay = 10 group = smsbox smsbox-id = smsbox2 bearerbox-host = 127.0.0.1 sendsms-port = 13016 log-file = /home/kannel/log/smsbox2.log log-level = 0 access-log = /home/kannel/log/smsbox2_access.log http-request-retry = 1000 http-queue-delay = 10 # SMS users include = /home/kannel/conf/smsusers/users.conf # SMS services include = /home/kannel/conf/services/m20.conf Cheers, Eduardo 2009/4/25 Nikos Balkanas nbalka...@gmail.com Hi, It would be easier to post your configuration to indicate your error. From your sayings you have 2 problems: 1) You need to start each box with its own different configuration. You cannot have a configuration with more than 1 smsbox. 2) You are missing the smsbox-route group. BR, Nikos - Original Message - From: Eduardo Raad To: users Sent: Saturday, April 25, 2009 3:55 AM Subject: Multiple smsboxes Dear List, I'm trying to setup Kannel with one bearerbox and multiple smsboxes. At first, I have tried to include multiple smsboxes in the configuration with multiple id's. This generates two problems: The bearerbox gives me a smsbox_list empty error message when I use the smsbox-id parameter in the smsbox group. I don't know how to select which smsbox to start from the smsbox daemon. I would appreciate if someone could provide me with an example configuration? Thanks in advance for your help. Eduardo -- Eduardo Raad Gerente General Metromovil móvil + 593 9397 oficina + 593 42329455 x 1099 Av. 10 de Agosto 511 y Chimborazo Edificio Equinoxcorp, Piso 3 Guayaquil, Ecuador -- View this message in context: http://old.nabble.com/Multiple-smsboxes-tp23227211p29987305.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Multiple SMSBOXs for Kannel
Hi, Are you able to successfully run mutliple smsboxes? Anshu Sah wrote: Hello sir, Right now i write this command to start SMSBOX *./smsbox -v 1 /projects/kannel/configs/SMPP_145.inc* Which start BOX2 by default, DO i need to Write any diff. command to start BOX1 Or same command will work Regards Anshu On Fri, Sep 3, 2010 at 3:44 AM, Rene Kluwen rene.klu...@chimit.nl wrote: You need to have multiple smsboxes connected. Which means starting up smsbox twice, each with its own smsbox.conf. == Rene *From:* an...@in.multiplesystem.net [mailto:an...@in.multiplesystem.net] *On Behalf Of *Anshu Sah *Sent:* Friday, 03 September, 2010 00:07 *To:* users *Cc:* Rene Kluwen *Subject:* Multiple SMSBOXs for Kannel Hello Rene, At one more Place I am stuck, I Have Declared 2 SMSC in same way declaring 2 SMSBOXs but when i am running kannel, It is showing one SMSBOX connected # group = smsbox-route smsbox-id = BOX1 smsc-id = SMSCA group = smsbox-route smsbox-id = BOX2 smsc-id = SMSCB # Regards, Anshu -- View this message in context: http://old.nabble.com/Multiple-SMSBOXs-for-Kannel-tp29609607p29987317.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Problem with multiple smsbox
Hi, I reconfigure to have different smsbox-id on each smsbox and rerun it. However this time it does not have response and printing smsbox_list empty! upon terminating smsbox. Why is it so? 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: -- +CMT: ,23 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: -- 0791062110F5240B910621582810F40101418173122304D4F29C0E 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: received message from SMSC: +615 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: Numeric sender (international) +60128582014 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: User data length read as (4) 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: Udh decoding done len=4 udhi=0 udhlen=0 udh='' 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: -- AT+CNMA^M 2010-10-14 18:45:17 [27923] [6] DEBUG: AT2[itegno]: -- OK 2010-10-14 18:45:32 [27923] [8] DEBUG: Dumping 6 messages to store Hi, Your smsbox-route is wrong. Read UG about it. Also if you want smsbox-routing you should give different smsbox-id to each smsbox. Otherwise with the same smsbox-id, bb will just load balance between them. BR, Nikos -- View this message in context: http://old.nabble.com/Problem-with-multiple-smsbox-tp29958927p29961181.html Sent from the Kannel - User mailing list archive at Nabble.com.