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 <[email protected]>
> 
> Date: Sat, 25 Apr 2009 18:48:02 
> To: <[email protected]>
> Cc: Alvaro Cornejo<[email protected]>; users<[email protected]>
> 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
> <[email protected]>wrote:
> 
>> I will try that, thanks alvaro!
>>
>> Eduardo
>> Sent from my BlackBerry® wireless device
>>
>> -----Original Message-----
>> From: Alvaro Cornejo <[email protected]>
>>
>> Date: Sat, 25 Apr 2009 11:39:55
>> To: Eduardo Raad<[email protected]>
>> Cc: users<[email protected]>
>> 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
>> <[email protected]> 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 <[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
>> >
>>
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Multiple-smsboxes-tp23227211p29987305.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to