Hi,
I had configure kannel and able to send a single message but when i try to send a text message whose length is about 260 character , The kannel send only 160 character. When i go through the smsbox log the Log says that message length 260 and 1 message sent. I had studied the concatenation and max-message property. http://172.17.3.14:13013/cgi-bin/sendsms?username=otauser <http://172.17.3.14:13013/cgi-bin/sendsms?username=otauser&password=otapassw ord&to=9988020585$from=ME&text=helloooooooooooooooooooooooooooooheeeehegekjg kjegkjegkjegkjgekjgekjekjkjgekjgekjgkjkjhckvlhxkchvkxhcklvhxzkjvhkjzxhkjvhdf hsdfhsdfhsdfgsdfggkzjxghvkjdghvsjlkdgvlkjsagdvljksgadlkjvgaskjldgfvasjkgdf> &password=otapassword&to=9988020585$from=ME&text=hellooooooooooooooooooooooo ooooooheeeehegekjgkjegkjegkjegkjgekjgekjekjkjgekjgekjgkjkjhckvlhxkchvkxhcklv hxzkjvhkjzxhkjvhdfhsdfhsdfhsdfgsdfggkzjxghvkjdghvsjlkdgvlkjsagdvljksgadlkjvg askjldgfvasjkgdf Please help. Regards Harmeet Singh
group = core admin-port = 13000 admin-password = kanneladmin status-password = kannelstatus admin-deny-ip = "" admin-allow-ip = "*.*.*.*" smsbox-port = 13001 box-deny-ip = "" box-allow-ip = "*.*.*.*" store-type = spool store-location = "/tmp/sms" log-file = "/tmp/kannel.log" log-level = 0 access-log = "/tmp/access.log" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" ssl-server-cert-file = "/gateway/gw/cert.pem" ssl-server-key-file = "/gateway/gw/key.pem" #---- This is connection to smpp simulater group = smsc smsc = smpp smsc-id = uniceltech host = xx.xxx.xxx.xxx port = 52612 receive-port = 52612 smsc-username = Userid smsc-password = Password system-type=default alt-charset = ISO-8859-1 #service-type = 'test' interface-version = 34 address-range = '' msg-id-type = 0 source-addr-ton = 5 source-addr-npi = 9 dest-addr-ton = 1 dest-addr-npi = 1 # Smsbox related #smsbox-port = 13001 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" #unified-prefix = "00358,0" #white-list = "http://127.0.0.1/white-list.txt" #black-list = "http://127.0.0.1/black-list.txt" #store-file = "kannel.store" group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = GizmoSupport log-file = "/tmp/smsbox.log" log-level = 0 # Wapbox related #wapbox-port = 13002 #udp-deny-ip = "*.*.*.*" #udp-allow-ip = "127.0.0.1" #wdp-interface-name = "*" # SMSC CONNECTIONS - GLOBAL FIELDS #group = smsc #smsc = #smsc-id = ID #denied-smsc-id = "X;Y" #allowed-smsc-id = "Z" #preferred-smsc-id = "W" #allowed-prefix = "040;050" #denied-prefix = "060;070" #alt-charset = # SMSC Nokia CIMD2 #group = smsc #smsc = cimd2 #host = #port = #smsc-username = #smsc-password = #keepalive = #sender-prefix = # SMSC EMI #group = smsc #smsc = emi2 #smsc = emi_ip to use the old implementation #host = #port = #smsc-username = #smsc-password = #device = /dev/ #phone = #our-port = #receive-port = #connect-allow-ip = #keepalive = #flow-control = # SMSC SMPP #group = smsc #smsc = smpp #host = #port = #receive-port = #smsc-username = #smsc-password = #system-type = #address-range = # SMSC SEMA #group = smsc #smsc = sema #device = /dev/tty0 #smsc_nua = (X121 smsc address) #home_nua = (x121 radio pad address) #wait_report = 0/1 (0 means false, 1 means true) # SMSC OIS #group = smsc #smsc = ois #host = 103.102.101.100 #port = 10000 #receive-port = 10000 #ois-debug-level = 0 # SMSC GSM #group = smsc #smsc = at #modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom | nokiaphone | ericsson #device = /dev/ttyS0 #pin = 2345 #validityperiod = 167 # SMSC Fake #group = smsc #smsc = fake #host = #port = #connect-allow-ip = # SMSC HTTP #group = smsc #smsc = http #system-type = kannel #send-url = #port = #connect-allow-ip = #username = #password = # SMSBOX SETUP #group = smsbox #bearerbox-host = localhost #sendsms-port = 13013 #sendsms-chars = "0123456789 +-" #global-sender = 12345 #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = # SEND-SMS USERS group = sendsms-user #dlr-url = "http://localhost/sms/dlr.php?dlr=%d&dest=%p&report=%A" username = smsuser password = smspassword default-smsc = uniceltech #user-deny-ip = "" #user-allow-ip = "" group = sendsms-user username = otauser password = otapassword concatenation = 1 max-message = 10 default-smsc = uniceltech #user-deny-ip = "" #user-allow-ip = "" # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" #name = service_kannel #forced-smsc = ID #default-smsc = ID #faked-sended = #max-messages = 1 #concatenation = 1 #split-chars = #split-suffix = #omit-empty = #header = #footer = #allowed-prefix = #denied-prefix = #white-list = #black-list = # SMS SERVICES #group = sms-service #name = nothing #keyword = nop #aliases = "noppy;niente" #text = "You asked nothing and I did it!" #get-url = "http://" #post-url = "http://" #file = "/tmp/" #accepted-smsc = ID #allowed-prefix = #denied-prefix = #catch-all = false #send-sender = false #strip-keyword = false #faked-sender = #max-messages = 1 #accept-x-kannel-headers = false #assume-plain-text = false #concatenation = false #split-chars = #split-suffix = "+" #omit-empty = true #header = #footer = #prefix = #suffix = #white-list = #black-list = # SMS SERVICE GET-URL EXAMPLE #group = sms-service #keyword = relay #get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t # SMS SERVICE black-list #group = sms-service #keyword = black-list #text = "You are not alowed to use this service, Go away!" # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified"
