gasmen wrote:
> 
> i am using kannel gateway1.4.3 on ubuntu 9.04 and i connect to a real smsc
> and this is my configuration
> 
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = bar
> status-password = foo
> admin-deny-ip = ""
> #admin-allow-ip = "172.16.50.75"
> log-file = "/home/gateway-1.4.3/gw/config/logs/kannel.log"
> log-level = 1
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> #unified-prefix = "+358,00358,0;+,00"
> access-log = "/home/aymen/gateway-1.4.3/gw/config/logs/access.log"
> access-log-format = "%t %1 [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [from:%p]
> [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
> store-file = "kannel.store"
> #ssl-server-cert-file = "cert.pem"
> #ssl-server-key-file = "key.pem"
> #ssl-certkey-file = "mycertandprivkeyfile.pem"
> #-----------------------------------------------------------------------------------------------------------------------
> # SMSC CONNECTIONS
> #
> group = smsc
> smsc = fake
> smsc-id = FAKE
> port = 10000
> connect-allow-ip = 127.0.0.1
> 
> group = smsc
> smsc = smpp
> smsc-id = tunnel
> reroute = false
> reroute-smsc-id = tunnel
> host = 172.17.50.50
> port = 1003
> receive-port = 1003
> smsc-username = qwer
> smsc-password = rtyu
> system-type = "SMPP"
> address-range = 1x01
> msg-id-type = 0x01
> #connect-allow-id = 127.0.0.1
> interface-version = 34
> source-addr-ton = 0
> source-addr-npi = 1
> source-addr-autodetect = true
> #----------------------------------------------------------------------------------------------------------------------------
> # SMSBOX SETUP
> 
> group = smsbox
> bearerbox-host = 127.0.0.1
> bearerbox-port = 13002
> sendsms-port = 13002
> global-sender = 87121
> sendsms-chars = "0123456789 +-"
> log-file = "/home/aymen/gateway-1.4.3/gw/config/logs/smsbox.log"
> #log-level = 0
> access-log = "/home/aymen/gateway-1.4.3/gw/config/logs/access.log"
> 
> #-----------------------------------------------------------------------------------------------------------------------------------
> # SEND-SMS USERS
> #
> # These users are used when Kannel smsbox sendsms interface is used to
> # send PUSH sms messages, i.e. calling URL like
> #
> http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
> 
> group = sendsms-user
> username = tester
> password = foobar
> #user-deny-ip = ""
> #user-allow-ip = ""
> 
> #------------------------------------------------------------------------------------------------------------------------------------
> # SERVICES
> 
> group = sms-service
> keyword = nop
> text = "You asked nothing and I did it!"
> 
> group = sms-service
> keyword = default
> text = "No service specified"
> 
> and after testing the fake sms the acces log is 
> 
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 2010-07-19 14:34:30 2010-07-19 13:34:30 %1 [SMSC:FAKE] [SVC:] [ACT:]
> [BINF:] [from:98365453] [to:87121] [flags:-1:-1:-1:-1:-1] [msg:11:HELLO
> WORLD] [udh:0:]
> 
> please if any one can help me !!!
> thank you ;)
> 
what bearerbox-log your looking??i have only kannel.log and access.log and
smsbox.log
-- 
View this message in context: 
http://old.nabble.com/kannel-access-log-error%21%21%21-tp29204959p29216131.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to