Hi,

Thanks for this - I had to comment the wapbox-port out as well, but this config still gave the smsbox_list empty when the bearer starts up.

I actually rather expect this behaviour though because there is no smsbox connected when the bearer box starts up.

The initial problem was that even when I was starting up an smsbox the bearerbox was not seeing it as a valid route. I had configured the smsbox-route as best I could, but Nikos helped out by telling me that the bearerbox won't recognize it as routable until it has been "shown to work" by identifying it or routing an MT though it.

It does now, however, and it looks as if my installation is ready for a test on a real SMSC.

Thanks,
 Andy



On 11/05/2010 07:22 AM, Kiran Reddy wrote:
Hi Andy,

please use this configuration and check.

#-----------------------------CONFIGFile
group=core
admin-port=13000
admin-password=adminpass
admin-deny-ip=""
admin-allow-ip="192.168.0.*"
wapbox-port=13002
smsbox-port=13003
wdp-interface-name="*"
log-file="/var/log/kannel/bearerbox.log"
box-deny-ip=""
box-allow-ip="192.168.0.*"


group=smsbox
bearerbox-host=localhost
sendsms-chars="0123456789+-"
global-sender=123456
access-log="kannel.access"
log-file="smsbox.log"
log-level=0
sendsms-port=13131

group=smsc
smsc=smpp
host=192.168.0.215
port=2775
receive-port=2775
smsc-username="smppclient1"
smsc-password="password"
system-type="VMA"
smsc-id="TestSMSC"

group=sendsms-user
username=testuser
password=testpass

group=sms-service
keyword=default
text="Noactionspecified"
catch-all=true



Regards,
------------
Kiran Reddy
+91-9036971573
Http://www.Uniceltech.com


  -------Original Message-------
  From: Andy Beak<[email protected]>
  To: Nikos Balkanas<[email protected]>
  Cc: Kiran Reddy<[email protected]>, [email protected]
  Subject: Re: smsbox_list is empty
  Sent: May 11 '10 9:21am

  Hi,

  Thanks for this reply Nikos.  I had also read your reply to somebody
  else about routing so I checked the source you mention and saw how that
  error is produced.

  Thanks for the tip - the bearerbox is now recognizing the smsbox and as
  soon as it connects the messages stop.

  Thanks,
  Andy


  On 10/05/2010 09:48 PM, Nikos Balkanas wrote:
  >  Hi,
  >
  >  gw/bb_boxc.c considers new smsbox connections unroutable until they
  >  are identified or an MT is sent from them. I don't know what
  >  identification it means, but why don't you try to send an MT to FAKE
  >  smsc through your smsbox to start with?
  >
  >  BR,
  >  Nikos
  >  ----- Original Message ----- From: "Andy Beak"<[email protected]>
  >  To: "Kiran Reddy"<[email protected]>
  >  Cc:<[email protected]>
  >  Sent: Monday, May 10, 2010 7:21 PM
  >  Subject: Re: smsbox_list is empty
  >
  >
  >>  Hi,
  >>
  >>  Thanks for the swift reply!  I wasn't expecting that :)
  >>
  >>  My conf file is listed below.
  >>
  >>  I commented out the fake smsc because I thought it would be better to
  >>  test with an smsc emulator.
  >>
  >>  When I connect the bearerbox it starts saying WARNING: smsbox_list
  >>  empty!
  >>
  >>  When I connect the smsbox it kicks off hundreds of messages saying
  >>  [4] INFO:  Starting to service<No action specified>  from<123456>  to
  >>  <123456>
  >>
  >>
  >>
  >>  #-----------------------------CONFIG File
  >>  group = core
  >>  admin-port = 13000
  >>  admin-password = adminpass
  >>  admin-deny-ip = ""
  >>  admin-allow-ip = "192.168.0.*"
  >>  wapbox-port = 13002
  >>  smsbox-port = 13003
  >>  wdp-interface-name = "*"
  >>  log-file = "/var/log/kannel/bearerbox.log"
  >>  box-deny-ip = ""
  >>  box-allow-ip = "192.168.0.*"
  >>
  >>  #group = wapbox
  >>  #bearerbox-host = localhost
  >>  #log-file = "/var/log/kannel/wapbox.log"
  >>
  >>  group = smsbox
  >>  bearerbox-host = localhost
  >>  sendsms-chars = "0123456789 +-"
  >>  global-sender = 123456
  >>  access-log = "kannel.access"
  >>  log-file = "smsbox.log"
  >>  log-level = 0
  >>  sendsms-port = 13131
  >>  smsbox-id = "TestSMSbox"
  >>
  >>  # group = smsc
  >>  # smsc = fake
  >>  # port = 10002
  >>  # connect-allow-ip = "*.*.*.*"
  >>
  >>  group = smsc
  >>  smsc = smpp
  >>  host = 192.168.0.215
  >>  port = 2775
  >>  receive-port = 2775
  >>  smsc-username = "smppclient1"
  >>  smsc-password = "password"
  >>  system-type = "VMA"
  >>  smsc-id = "TestSMSC"
  >>
  >>  group = sendsms-user
  >>  username = testuser
  >>  password = testpass
  >>
  >>  group = sms-service
  >>  keyword = default
  >>  text = "No action specified"
  >>  catch-all = true
  >>
  >>  group = smsbox-route
  >>  smsbox-id = "TestSMSbox"
  >>  smsc-id = "TestSMSC"
  >>
  >>
  >>
  >>
  >>  On 10/05/2010 05:42 PM, Kiran Reddy wrote:
  >>>  Hi Andy,
  >>>
  >>>  Please add conf file.
  >>>
  >>>
  >>>  Regards,
  >>>  ------------
  >>>  Kiran Reddy
  >>>
  >>>
  >>>
  >>>    -------Original Message-------
  >>>    From: Andy Beak<[email protected]>
  >>>    To: [email protected]
  >>>    Subject: smsbox_list is empty
  >>>    Sent: May 10 '10 9:08pm
  >>>
  >>>    Hi,
  >>>
  >>>    I've searched the archive and can't find a solution for the error
  >>>    "[15629] [7] WARNING: smsbox_list empty!".
  >>>
  >>>    I originally set my config up from scratch by reading through the
  >>>    documentation.
  >>>
  >>>    I have tried using the example config that ships with Kannel but
  >>>  it also
  >>>    gives the same error.
  >>>
  >>>    I'm using the SMSC emulator from selenium software to set up an
  >>>  smpp 3.4
  >>>    smsc in the kannel.conf
  >>>
  >>>    Could anybody shed some light on this please?
  >>>
  >>>    Thanks,
  >>>    Andy
  >>>
  >>>
  >>>
  >>>
  >>
  >
  >



Reply via email to