Yes. Both smsbox & core are required, single groups. That means you have to have them, but not more than once in each configuration. Solution:
Start bearerbox with whichever conf file you like. Each smsbox must start with its own configuration file which should include at minimum: group = core (duplicate the same over all configurations) . . . group = smsbox (different for each smsbox) . . . group = smsbox-route (multiple, all smsboxes routing - matters to bearerbox) . . . BR, Nikos ----- Original Message ----- From: Eduardo Raad To: Nikos Balkanas Cc: users Sent: Saturday, April 25, 2009 5:57 PM Subject: Re: Multiple smsboxes 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 <[email protected]> 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 93978888 oficina + 593 42329455 x 1099 Av. 10 de Agosto 511 y Chimborazo Edificio Equinoxcorp, Piso 3 Guayaquil, Ecuador
