Re: bearerbox problem

"Guanghua Hou" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Attached is the config file.

Best Regards,
Guanghua Hou

> looks weird. why would the SMPP connections be started so early ? in all of our setups the SMPP connections start at about 6 or 7th place.
> can I please have a look at your configuration file ?
> 
> > 
> >  The detailed log is:
> > 
> >  [0] INFO: Kannel bearerbox II version 1.2.0 starting
> >  [0] INFO: SSL not supported, no SSL initialization done.
> >  [0] DEBUG: Started thread 1 (gw/smsc_smpp.c:io_thread)
> >  [0] DEBUG: Started thread 2 (gw/smsc_smpp.c:io_thread)
> >  [0] DEBUG: Started thread 3 (gw/bb_smscconn.c:sms_router)
> >  [0] DEBUG: starting wapbox connection module
> >  [0] DEBUG: Started thread 4 (gw/bb_boxc.c:wapboxc_run)
> >  [0] DEBUG: starting WDP router
> >  [3] DEBUG: sms_router: time to sleep
> >  [0] INFO: MAIN: Start-up done, entering mainloop
> >  [3] DEBUG: sms_router: list_len = 0
> >  [3] DEBUG: Thread 3 (gw/bb_smscconn.c:sms_router) terminates
> > .
> > [4] DEBUG: Started thread 5 (gw/bb_boxc.c:function)
> >  [5] INFO: Client connected from <127.0.0.1>
> > 
> > UDP thread is forbidden. I don't know whether the UDP thread 
> > will affect  it.
> > 
> > Best Regards,
> > Guanghua Hou
> > 
> > > Please send us a more comprehensive snapshot of the bearerbox.log to
> > > see what happens.
> > > 
> > > Stipe
> > >
kannel.conf (application/octet-stream, 2.3 KB)
#
# SAMPLE CONFIGURATION FOR KANNEL PPG (PUSH OVER SMS)
#
# It is run like this:
#
#  1% gw/bearerbox gw/pushkannel.conf
#  2% gw/wapbox gw/pushkannel.conf
#
#  Boys and girls: use more complex passwords when setting up real services,
#  this is an *example* file !
#
#  Aarno Syvänen in August 2001, for Wiral Ltd
 
# BEARERBOX SETUP, for Kannel core operations

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+358,00358,0;+,00"
#access-log = "access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data 

group = wapbox
bearerbox-host = localhost
bearerbox-port = 9401
log-file = "/tmp/wapbox.log"
#log-level = 0
syslog-level = none

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true 
users = 1024
ppg-deny-ip = 194.100.32.89;194.100.32.103
ppg-allow-ip = 194.100.32.125;127.0.0.1;213.243.146.182;213.243.140.102
#ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
#ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = picom
ppg-username = foo
ppg-password = bar
allowed-prefix = 40;60;70
denied-prefix = 50
white-list = http://localhost:8082/whitelist
black-list =  http://localhost:8082/blacklist
allow-ip = 127.0.0.1;213.243.146.182;
deny-ip = 194.100.32.82

# SMSC CONNECTIONS, for pushing SI or SL over SMS
group = smsc
smsc =smpp 
smsc-id = HTTP
host = wapgw
port =8888
receive-port = 8888 
system-type = kannel
smsc-username = "500"
smsc-password = "8888"
#smsc-username = foo
#smsc-password = bar
#no-sender = true
#no-coding = true
#? for the query will be added by Kannel 
#send-url = http://localhost:8081/util/kannelgw.phtml

# SMSBOX SETUP (a kludge !)

group = smsbox
bearerbox-host = localhost
#sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "access.log"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.