Thanks for responding. I have tried your suggestion but I am still getting the same error.
Kind Regards Nchimunya On 08/31/2011 10:14 AM, Nikos Balkanas wrote: > Hi, > > Assuming that your smsbox is up & running and connected to your > bearerbox, try splitting your smsbox-route to 2 statements. I amnot > sure that smsbox route supports ";" concatenation. > > BR, > Nikos > > On Wed, Aug 31, 2011 at 10:36 AM, Nchimunya Hamakando > <nchimu...@gmail.com <mailto:nchimu...@gmail.com>> wrote: > > Hi, > I am having some issues with kannel. I configured kannel to test > an SMPP > account on a test server and it worked fine. I decided to use the same > kannel.conf file on another server but it's now failing to fully > retrieve the message. The status page is showing that the > connection is > online and the message count increases each time I send messages > to that > number but an error appears in the logs saying "WARNING: smsbox_list > empty!". > Kannel status is showing that "No boxes connected". Has anyone come > across this problem? Please share how you fixed it. > I have tried many suggestions on this list but it's still not working. > > > Below is my config file: > --------------------------- > > include = "/etc/kannel/modems.conf" > > group = core > admin-port = 13130 > smsbox-port = 13132 > admin-password = fooo > status-password = bar > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > log-file = "/var/log/kannel/bearerbox.log" > log-level = 0 > > group = smsc > smsc = smpp > smsc-id = mtn-smpp > my-number = 09000000000 > interface-version = 34 > host = XX.XX.XX.XX > port = 5019 > smsc-username = fooooo > smsc-password = barr > system-type = default > transceiver-mode = 1 > allowed-smsc-id = mtn-smpp > denied-smsc-id = zain-modem > > group = smsc > smsc = at > smsc-id = zain-modem > my-number = +260970000000 > modemtype = auto > device = /dev/modemAIRTEL > allowed-smsc-id = zain-modem > denied-smsc-id = mtn-smpp > > group = smsbox > bearerbox-host = 127.0.0.1 > sendsms-port = 13131 > sendsms-chars = "0123456789 +-" > log-file = "/var/log/kannel/smsbox.log" > smsbox-id = mysmsc > log-level = 0 > access-log = "/var/log/kannel/smsbox-access.log" > reply-couldnotfetch = "Your message could not be processed at this > time. > Please try again later. (err=couldnotfetch)" > reply-requestfailed = "Your message could not be processed at this > time. > Please try again later. (err=requestfailed)" > reply-couldnotrepresent = "Your message could not be processed at this > time. Please try again later. (err=couldnotrepresent)" > http-request-retry = 10 > http-queue-delay = 30 > > group = sendsms-user > username = foo > password = bar > user-allow-ip = "127.0.0.1" > > group = smsbox-route > smsbox-id = mysmsc > smsc-id = "mtn-smpp;zain-modem" > > #--------------------------------------------- > # SERVICES > # > # These are 'responses' to sms PULL messages, i.e. messages > arriving from > # handsets. The response is based on message content. Only one > sms-service is > # applied, using the first one to match. > > # The 'ping-kannel' service let's you check to see if Kannel is > running, > # even if RapidSMS is offline for some reason. > > group = sms-service > keyword = ping-kannel > text = "De Kannel is online and responding to messages." > > group = sms-service > keyword = default > accepted-smsc = zain-modem > max-messages = 0 > get-url = > http://127.0.0.1:8081/?id=%p&text=%a&charset=%C&coding=%c > <http://127.0.0.1:8081/?id=%p&text=%a&charset=%C&coding=%c> > > group = sms-service > keyword = default > accepted-smsc = mtn-smpp > max-messages = 0 > get-url = > http://127.0.0.1:8082/?id=%p&text=%a&charset=%C&coding=%c > <http://127.0.0.1:8082/?id=%p&text=%a&charset=%C&coding=%c> > > ---------------------------END-OF-FILE > > log warning > > 2011-08-31 09:30:59 [1475] [4] WARNING: smsbox_list empty! > 2011-08-31 09:30:59 [1475] [4] WARNING: smsbox_list empty! > 2011-08-31 09:30:59 [1475] [4] WARNING: smsbox_list empty! > 2011-08-31 09:30:59 [1475] [4] WARNING: smsbox_list empty! > > ------------------------ > Will really appreciate your assistance. > > Best Regards > Nchimunya > >