inbound routing - one gsm modem smsc multiple smsboxes
Guys, please dont' ignore my message. Very urgent ! I really need help ! I have one smsc = at gsm modem and 2 smpp clients connected through opensmppbox. If i use smscbox-route I can assign smsc to one smpp client or to another, but what I need is either of: 1. first smpp receive messages sent from my number and second smpp client receive messages sent from my friend's number. basically to be able to route it by sender's number ! Is it possible and how ? config sample please 2. To load balance inbound traffic from same smsc between 2 smpp clients. Is it possible and how ? please give config sample Thank you, Imran
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 smsboxes
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
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 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 eduardo.r...@metromovil.com *To:* users users@kannel.org *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
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
Re: Multiple smsboxes
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
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
Re: Multiple smsboxes
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
Re: Multiple smsboxes
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 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
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
Multiple SMSBOXES
Can anyone provide me with an example of how to configure Kannel to use multiple smsboxes? Thanks, - AC
multiple smsboxes and wapboxes....
Hi all, I have been using kannel since last 2 and a half months...The configuration is over , but now I would like to know how to start multiple wapboxes and smsboxes. If somebody could help me with it's configuration then plz help me.. Thanx and regards, tushar
How to start multiple smsboxes and wapboxes???
Hi all, The configuration part of kannel is over , but now I would like to know how to start multiple wapboxes and smsboxes. If somebody could help me with it's configuration then plz help me.. Shud I also start a new bearer box for this purpose? OR Can I use a single instant of bearerbox to start multiple sms and wap boxes? Plz help me.. Thanx and regards, tushar
Multiple smsboxes (was RE: Prioritising MO/MT messages)
Thanks Stipe -- having multiple smsboxes sounds like it could be worth following up on. Can anyone provide me with an example of how to configure Kannel to use multiple smsboxes? I've tried doing this and, although Kannel starts up successfully, I'm not entirely sure I've configured it correctly: --8- # SMSBOX SETUP # group = smsbox smsbox-id = smsbox01 bearerbox-host = localhost sendsms-port = 13013 log-file = /etc/kannel/logs/smsbox.log log-level = 0 group = smsbox smsbox-id = smsbox02 bearerbox-host = localhost sendsms-port = 13013 log-file = /etc/kannel/logs/smsbox.log log-level = 0 --8- Note that if I change the log file names (e.g. smsbox01.log and smsbox02.log), only smsbox02.log gets written to. This makes me think only the second config is being read in and obeyed. Likewise, if the sendsms-port values are different, only the second one is actually listened to. If I leave off the second group configuration, then it doesn't start up at all. Thanks David R -Original Message- From: Stipe Tolj [mailto:[EMAIL PROTECTED] Sent: Sunday, 16 July 2006 11:52 p.m. To: David Ritchie Cc: users@kannel.org Subject: Re: Prioritising MO/MT messages David Ritchie wrote: Hello all. A scenario I'm experiencing at the moment involves a large (several thousand) number of MT messages being pushed through Kannel, during which it looks like MO messages (and the routing of them to the appropriate URLs) gets relegated to a back seat; that is, a delay of several minutes can take place between Kannel receiving the MO message, and it getting around to pushing it to the correct URL: smsbox.log:2006-07-15 12:52:13 [8487] [4] INFO: Starting to service Test from HANDSET to SHORTCODE smsbox.log:2006-07-15 12:53:08 [8487] [4] INFO: Starting to service Test from HANDSET to SHORTCODE smsbox.log:2006-07-15 12:55:10 [8487] [9] DEBUG: Parsing URL `http://URL/?source=HANDSETdestination=SHORTCODEmessage=Test': smsbox.log:2006-07-15 12:55:10 [8487] [9] DEBUG: Query: source=HANDSETdestination=SHORTCODEmessage=Test smsbox.log:2006-07-15 13:01:22 [8487] [9] DEBUG: Parsing URL `http://URL/?source=HANDSETdestination=SHORTCODEmessage=Test': smsbox.log:2006-07-15 13:01:22 [8487] [9] DEBUG: Query: source=HANDSETdestination=SHORTCODEmessage=Test As the log above displays, I sent in two messages (both saying Test) to the shortcode, 1 minute apart. I was some minutes (between 3 and 8) minutes before either of those messages were routed to the URL for that shortcode. During this time we were successfully sending 100s of MT messages (pushed using the HTTP interface) to handsets to the same SMSC as I would have sent the above message from (i.e there's only one for that carrier), but on a different shortcode and from a different server (i.e. an entirely different service!). ok, this seems to be the issue when you load the MT side heavily, and the HTTP calling thread inside smsbox is set to pending, since resources (cpu time) have to be shared. I agree that a heavy loading of one side (MT) should not block fully the other side (MO). We currently don't handle this extreme situation. One solution is to use several smsbox'es connected to the same bearerbox. This can balance out the load on the single smsbox. It appears that restarting Kannel wipes the queue of messages, as any sent between restarts are happily accepted but never routed. I have started using the store file to see whether that makes a difference. correct, smsbox's internal HTTP calling queue is _NOT_ persistant. Which means if you restart the box while in heavy load, the waiting messages to be called will get lost. We need to addapt store file mechanism to smsbo too. Some guys have such versions in private branches (namely Alex and me). But this needs to get merged into the official tree. It's also worth noting that the service with the MT messages also requests DLRs (down to deliver to handset), so for every MT message there are 1 - 2 MO messages with DLR information. These also apparently get queued, in favour of the outgoing MT messages. yep, MO and/or DLR HTTP calls are the same for smsbox. Is there a way of prioritising MT messages to be a lower priority to MO messages? Or even prioritising services one over another? Or perhaps this is a file descriptor problem -- would increasing the number of FDs allow more messages to be sent during a given time? Have you any other ideas / experience? no, there is no current way in setting priority policy. You'll need to use more smsboxs connected to the bearerbox and let the system balance over them. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Multiple SMSboxes?!
So.. I see that it is impossible on one server? Maby with subinterfaces or kind of.. -- Girts Legzdins Head Of IT Group +3716510443 Latvia, Riga Ventspils 56/58
Re: Multiple SMSboxes?!
On Tuesday 07 February 2006 8:20 am, Girts Legzdins wrote: So.. I see that it is impossible on one server? Maby with subinterfaces or kind of.. I haven't tested this, so it's conjecture mostly, but I don't see why it wouldn't be possible, assuming the bearerbox can accept multiple connections. If it can, it should simply require specifying different configuration files upon smsbox startup. Granted, they'd have to run on different ports or different network interfaces. @
Re: Multiple SMSboxes?!
Andrew Minerd wrote: I haven't tested this, so it's conjecture mostly, but I don't see why it wouldn't be possible, assuming the bearerbox can accept multiple connections. If it can, it should simply require specifying different configuration files upon smsbox startup. Granted, they'd have to run on different ports or different network interfaces. correct. Kannel was designed for that, to share load of HTTP calls over various smsbox instances connected to a single bearerbox. Please refer to the architecture documentation. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---