I'm using CIMD2 protocol on cvs-20040621 version of Kannel and the fastest bulk push I'm acheiving is 5sms/sec. I'm using C and I also used sleep (micro sleep) function at a rate you suggested. Our smsc also allows us to send 20sms/sec @ max. Any ideas how to improve bulk push performance? I need to send a bulk of at least a 1000sms/min.
Pls. See attached kannel configuration file, thanks in advance. Best Regards, Josephine Forte Applications Developer
########################################################################## # # Kannel Configuration File for SMART (UCP-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 = -1 dlr-storage = internal ############### SMSC configuration ############################# group = smsc smsc = cimd2 smsc-id = send host= xxx.xxx.xx.xx port = 9999 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 = "smsbox386.log" log-level = 1 access-log = "access386.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 = 3 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 = 3 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 = 3 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 = 3 assume-plain-text = true concatenation = false split-chars = "\t" omit-empty = true accepted-smsc = receive
