Re: Help: Kannel users from the Philippines
Josephine Forte <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
We were assigned 2 accounts, one for receiving sms and another for sending. Yes we send MT-reply via HTTP sendsms. We also send PUSH messages using HTTP sendsms. We only logon once, and maintain connection through keepalive of 60 sec. for a better view, kindly see attached configuration and access logs. Thanks again. I really appreciate all the help i can get. Best Regards, Josephine On Tuesday 10 August 2004 08:47, you wrote: > On 2004-08-11 00:33:11 +0800 Josephine Forte > > <[email protected]> wrote: > > Sir, > > > > They(SMSC Engrs) are saying that we can send out as much as > > 500sms/sec and > > our target rate is only 20-30sms/sec. Any ideas how to improve this > > rate, the > > queue we had keeps on getting bigger specially when we do > > broadcasting where > > sending out rate at worst goes to 2-3sms/sec. I badly need to improve > > this > > performance but i don't know where to start. :( > > I've already used test_cimd2 to test kannel performance, everything > > works > > well and traffic rate is around more than a 100/sec. But when I > > connect to > > SMSC traffic rate slows down to: > > > > SMS: inbound 0.07 msg/sec, outbound 1.11 msg/sec > > > > But looking at access.log, message processing is @ 3-5sms/sec rate. > > Thanks in > > advance > > Do you login everytime you send data? Do you keep your cimd sessions > short? I think there is a login limit with smart smscs. How long is > the keepalive in your configurations? Are you traversing a smart > firewall? -- Josephine G. Forte Applications Developer Intermedia Solutions, Inc. 64 Washington St. GreenHills, San Juan, M.M. Tel. No. +632 7261443 Fax +632 7276134
access.txt
(text/plain, 7.7 KB)
004-08-01 00:24:28 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639102866123] [to:XXXX01] [flags:-1:0:-1:0:-1] [msg:3:new] [udh:0:] 2004-08-01 00:24:28 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639102866123 request: 'Invalid keyword. For help, send NEW HELP to 386. ' 2004-08-01 00:24:28 SMS HTTP-request sender:639102866123 request: '' url: 'http://192.168.0.158/smart.php?from_no=639102866123&to_no=386&message=new' reply: 200 '<< successful >>' 2004-08-01 00:24:28 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639102866123] [flags:-1:0:-1:-1:31] [msg:49:Invalid keyword. For help, send NEW HELP to 386. ] [udh:0:] 2004-08-01 00:24:28 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:XXXX] [to:639102866123] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 06:22:40 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639192554458] [to:XXXX02] [flags:-1:0:-1:0:-1] [msg:4:MEGA] [udh:0:] 2004-08-01 06:22:40 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639192554458 request: 'Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Jaya is host of ASAP MANIA. Reply with MEGA R or MEGA W! ' 2004-08-01 06:22:40 SMS HTTP-request sender:639192554458 request: '' url: 'http://192.168.0.158/smart.php?from_no=639192554458&to_no=386&message=MEGA' reply: 200 '<< successful >>' 2004-08-01 06:22:40 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639192554458] [flags:-1:0:-1:-1:31] [msg:155:Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Jaya is host of ASAP MANIA. Reply with MEGA R or MEGA W! ] [udh:0:] 2004-08-01 06:22:40 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:XXXX] [to:639192554458] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:03:24 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639189290721] [to:XXXX06] [flags:-1:0:-1:0:-1] [msg:4:Mega] [udh:0:] 2004-08-01 08:03:24 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639189290721 request: 'Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Vic Sotto is host of MTB. Reply with MEGA R or MEGA W! ' 2004-08-01 08:03:24 SMS HTTP-request sender:639189290721 request: '' url: 'http://192.168.0.158/smart.php?from_no=639189290721&to_no=386&message=Mega' reply: 200 '<< successful >>' 2004-08-01 08:03:24 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639189290721] [flags:-1:0:-1:-1:31] [msg:153:Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Vic Sotto is host of MTB. Reply with MEGA R or MEGA W! ] [udh:0:] 2004-08-01 08:03:24 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:XXXX] [to:639189290721] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:04:40 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639189290721] [to:XXXX10] [flags:-1:0:-1:0:-1] [msg:6:Mega w] [udh:0:] 2004-08-01 08:04:41 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639189290721 request: '1/2 Congrats! U just earned 1Pt for today's Nokia phone draw! Keep playing! U CAN WIN P100,000 CASH! Sponsored by Winner Corned Beef per DOH-BFAD 0372 s 2004. ' 2004-08-01 08:04:41 send-SMS request added - sender:XXXXX:386 192.168.0.158 target:639189290721 request: '2/2 Mega Startext: Right or Wrong? Jackie Lou Blanco is the daughter of Pilita Coralles. Reply with MEGA R or MEGA W! Hurry! U can b today's winner! ' 2004-08-01 08:04:41 SMS HTTP-request sender:639189290721 request: '' url: 'http://192.168.0.158/smart.php?from_no=639189290721&to_no=386&message=Mega+w' reply: 200 '<< successful >>' 2004-08-01 08:04:41 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639189290721] [flags:-1:0:-1:-1:31] [msg:159:1/2 Congrats! U just earned 1Pt for today's Nokia phone draw! Keep playing! U CAN WIN P100,000 CASH! Sponsored by Winner Corned Beef per DOH-BFAD 0372 s 2004. ] [udh:0:] 2004-08-01 08:04:41 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:XXXX] [to:639189290721] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:04:41 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:0000] [from:386] [to:639189290721] [flags:-1:0:-1:-1:31] [msg:149:2/2 Mega Startext: Right or Wrong? Jackie Lou Blanco is the daughter of Pilita Coralles. Reply with MEGA R or MEGA W! Hurry! U can b today's winner! ] [udh:0:] 2004-08-01 08:04:41 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:386] [to:639189290721] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:48:23 send-SMS request added - sender:XXXXX:386 192.168.0.158 target:639189228824 request: 'Join Winner MEGA Startxt: WIN P100,000 Cash or Nokia3530 TONIGHT! Right or Wrong? Sharon Cuneta is the Megastar. Reply with MEGA R or MEGA W! (BFAD 0372 s2004)' 2004-08-01 08:48:24 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:0000] [from:386] [to:639189228824] [flags:-1:0:-1:-1:31] [msg:159:Join Winner MEGA Startxt: WIN P100,000 Cash or Nokia3530 TONIGHT! Right or Wrong? Sharon Cuneta is the Megastar. Reply with MEGA R or MEGA W! (BFAD 0372 s2004)] [udh:0:] 2004-08-01 08:48:24 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:386] [to:639189228824] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:49:43 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639189228824] [to:XXXX02] [flags:-1:0:-1:0:-1] [msg:6:Mega r] [udh:0:] 2004-08-01 08:49:43 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639189228824 request: '1/2 Congrats! U just earned 1Pt for today's Nokia phone draw! Keep playing! U CAN WIN P100,000 CASH! Sponsored by Winner Corned Beef per DOH-BFAD 0372 s 2004. ' 2004-08-01 08:49:43 send-SMS request added - sender:XXXXX:386 192.168.0.158 target:639189228824 request: '2/2 Mega Startext: Right or Wrong? Rosemarie Gil is the wife of Eddie Mesa. Reply with MEGA R or MEGA W! Hurry! U can b today's winner! ' 2004-08-01 08:49:43 SMS HTTP-request sender:639189228824 request: '' url: 'http://192.168.0.158/smart.php?from_no=639189228824&to_no=386&message=Mega+r' reply: 200 '<< successful >>' 2004-08-01 08:49:43 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639189228824] [flags:-1:0:-1:-1:31] [msg:159:1/2 Congrats! U just earned 1Pt for today's Nokia phone draw! Keep playing! U CAN WIN P100,000 CASH! Sponsored by Winner Corned Beef per DOH-BFAD 0372 s 2004. ] [udh:0:] 2004-08-01 08:49:43 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:XXXX] [to:639189228824] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 08:49:44 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:0000] [from:386] [to:639189228824] [flags:-1:0:-1:-1:31] [msg:136:2/2 Mega Startext: Right or Wrong? Rosemarie Gil is the wife of Eddie Mesa. Reply with MEGA R or MEGA W! Hurry! U can b today's winner! ] [udh:0:] 2004-08-01 08:49:44 DLR SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:] [from:386] [to:639189228824] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2004-08-01 09:00:17 Receive SMS [SMSC:receive] [SVC:] [ACT:] [BINF:] [from:639189228832] [to:XXXX02] [flags:-1:0:-1:0:-1] [msg:4:Mega] [udh:0:] 2004-08-01 09:00:17 send-SMS request added - sender:XXXXX:XXXX 192.168.0.158 target:639189228832 request: 'Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Jaya is host of ASAP MANIA. Reply with MEGA R or MEGA W! ' 2004-08-01 09:00:17 SMS HTTP-request sender:639189228832 request: '' url: 'http://192.168.0.158/smart.php?from_no=639189228832&to_no=386&message=Mega' reply: 200 '<< successful >>' 2004-08-01 09:00:17 Sent SMS [SMSC:send] [SVC:XXXXX] [ACT:] [BINF:1486] [from:XXXX] [to:639189228832] [flags:-1:0:-1:-1:31] [msg:155:Winner MEGA STARTXT:U can WIN Nokia3530, P10,000 or P100,000 CASH! Start playing! Right or Wrong? Jaya is host of ASAP MANIA. Reply with MEGA R or MEGA W! ] [udh:0:]
smskannel.conf
(text/plain, 3.5 KB)
########################################################################## # # Kannel Configuration File (CIMD2) # Last Modified March 08, 2004 # ########################################################################## ########### KANNEL CORE CONFIGURATION ########################## group = core admin-port = 13000 admin-password = xxxx status-password = xxxx admin-deny-ip = "192.168.42.*" admin-allow-ip = "192.168.0.*" smsbox-port = 13001 wapbox-port = 13002 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;192.168.0.*" wdp-interface-name = "*" log-file = "kannel.log" log-level = 1 access-log = "access.log" store-file = "kannel.store" maximum-queue-length = 0 dlr-storage = internal ############### SMSC configuration ############################# group = smsc smsc = cimd2 smsc-id = send host= xxx.xxx.xx.xx port = XXXX connect-allow-ip = 127.0.0.1 smsc-username = xxxx smsc-password = xxxx keepalive = 60 sender-prefix = "" denied-smsc-id=receive group = smsc smsc = cimd2 smsc-id = receive host = xxx.xxx.xx.x port = 9999 connect-allow-ip = 127.0.0.1 smsc-username = xxxx smsc-password = xxxx keepalive = 60 sender-prefix = "" denied-smsc-id=send #############3 WAPBOX configuration ############################## group = wapbox bearerbox-host = localhost log-file = "wapbox.log" log-level = 1 syslog-level = none #force-sar = none smart-errors = true ######### PPG core configuration for push initiator interface ############## group = ppg #ppg-url = /wappush ppg-url = /cgi-bin/wap-push.cgi ppg-port = 8080 global-sender = xxx concurrent-pushes = 100 users = 1024 ppg-allow-ip = "*.*.*.*" trusted-pi = true ###############3 PPG user group ############################ group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar allow-ip = 192.168.0.0 ##############33 SMSBOX configuration ##########################3 group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" global-sender = xxx log-file = "smsbox.log" log-level = 1 access-log = "access.log" reply-couldnotfetch = "could not fetch content, sorry" reply-couldnotrepresent = "resuld could not be represented as an SMS message." reply-requestfailed = "request failed" reply-emptymessage = "<Emty reply from service provider>" mo-recode = true ######################3 SENDSMS configuration ############################## group = sendsms-user username = xxxx password = xxxx max-messages = 3 concatenation = true forced-smsc = send #################### SMS-services #################################### # Default group = sms-service keyword = default get-url = "http://192.168.0.158/nop.php?from_no=%p&to_no=%P&message=%a" accepted-smsc = receive catch-all = true max-messages = 0 assume-plain-text = true concatenation = false split-chars = "\t" omit-empty = true group = sms-service keyword = nop get-url = "http://192.168.0.158/nop.php?from_no=%p&to_no=%P&message=%a" catch-all = true accepted-smsc = receive catch-all = true max-messages = 0 assume-plain-text = true concatenation = false split-chars = "\t" omit-empty = true group = sms-service keyword = mega get-url = "http://192.168.0.158/smart.php?from_no=%p&to_no=%P&message=%a" catch-all = true max-messages = 0 assume-plain-text = true concatenation = false split-chars = "\t" omit-empty = true accepted-smsc = receive group = sms-service keyword = new get-url = "http://192.168.0.158/smart.php?from_no=%p&to_no=%P&message=%a" catch-all = true max-messages = 0 assume-plain-text = true concatenation = false split-chars = "\t" omit-empty = true accepted-smsc = receive