Dear Dorni, I have gud experience in kannel connecity But i'm facing issue when i connected kannel with ussd application.
Can you help me. we are tring to send 160 character msg using kannel for USSD connecitivity. But we are able to send ony 105 charater. Please find the conf file. ############# group = core admin-port = 13003 smsbox-port = 13004 admin-password = KannelAdmin123 log-file = "/kannel/log/kannel-ussd1.log" log-level = 1 #box-deny-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" #"127.0.0.1;59.144.175.72;122.161.0.232" access-log = "/kannel/log/access-ussd1.log" #store-type = file store-file = "/kannel/log/kannel-ussd1.store" sms-resend-retry = 0 ############################################################### group = smsc smsc = smpp smsc-id = USSD1 host = 10.0.0.43 port = 10200 throughput = 30.00 alt-charset = ISO-8859-1 alt-dcs = true #no-coding = true #wait-ack = 600 smsc-username = 121 smsc-password = abce system-type = USSD service-type = CR #interface-version = 0x34 receive-port = 0 transceiver-mode = 1 enquire-link-interval = 1200 source-addr-ton = 3 source-addr-npi = 9 dest-addr-ton = 1 dest-addr-npi = 1 max-sms-octets = 1400 #bind-addr-ton = 1 #bind-addr-npi = 1 max-pending-submits = 10 msg-id-type = 0x00 #esm-class = 0 ##################################################################################### group = smsbox #smsbox-id = smsbox01 bearerbox-host = localhost sendsms-port = 13005 #global-sender = 13015 mo-recode = true log-file = "/kannel/log/smsbox-ussd1.log" log-level = 5 access-log = "/kannel/log/access-ussd1.log" ##################################################################################### group = sendsms-user username = ussd1 password = abce concatenation = true max-messages = 140 ##################################################################################### #group = smpp-tlv group = sms-service #keyword = default keyword = #keyword-regex = * get-url = " http://1.0.0.1:8080/USSDAPI/ussdapi.jsp?msisdn=%p&msg=%b&shortcode=%P&ussd=43&mclass=%m&coding=%c&alt-dcs=%O&meta-data=%D " accept-x-kannel-headers = true concatenation = true max-messages = 140 catch-all = true omit-empty = true #text = "No service specified" #################################################################################### group = smpp-tlv name = ussd_service_op tag = 0x0501 length = 1 type = integer smsc-id = NGUSSD1 #msg-id-type = 0x00 ##################################################################################### group = smpp-tlv name = its_session_info tag = 0x1383 length = 2 type = octetstring smsc-id = NGUSSD1 #msg-id-type = 0x00 ##################################################################################### group = smpp-tlv name = network_error_code tag = 0x0423 length = 3 type = octetstring smsc-id = NGUSSD1 #msg-id-type = 0x00 ##################################################################################### Regards Sapna Singh On Thu, Dec 26, 2013 at 9:16 PM, dorin <[email protected]> wrote: > Hello All! > I can't send sms in UTF-8, SMSC tells me that I send an wrong format. > My configurations are: > > 1. MySQL is set to UTF-8 > 2. tables send_sms, sent_sms with some important rows like msgdata... have > BLOB binary type. I have tested with text (utf8_gneral_ci). > 3. sms_type = 2; coding = 2; charset = utf-8; momt = mt; > 4. alt-charset = utf-8. Also I have tested with alt-charset = UCS-2 > 5. alt-dcs = yes. Also I tested with alt-dcs = no > 6. mo-recode = true. Also I tested with mo-recod = false > 7. bearerbox sqlbox smsbox are compiled from latest repository version. > > Every time client receive "chinese" symbols instead of latin or cyrillic. > table send_sms stores good symbols, but sent_sms stores broken data for > ex. "7465737420D182D0B5D181D182203237" > Please tell me what I miss? > > here is my kannel.conf > > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = 888888 > log-file = "/var/log/kannel/kannel.log" > log-level = 2 > dlr-storage = mysql > access-log = "/var/log/kannel/access.log" > smsbox-max-pending = 5000 > sms-resend-freq = 30 > sms-resend-retry = 60 > > group = mysql-connection > id = sqlbox-db > host = localhost > username = ******** > password = ******** > database = katukal > max-connections = 1 > > group = dlr-db > id = sqlbox-db > table = oempro_kannel_dlr > field-smsc = smsc > field-timestamp = ts > field-destination = destination > field-source = source > field-service = service > field-url = url > field-mask = mask > field-status = status > field-boxc-id = boxc > > > group = smsc > smsc = smpp > smsc-id = kraftmobile > #allowed-smsc-id = kraftmobile > system-type = "VMA" > interface-version = 52 > throughput = 500 > host = 89.249.188.888 > port = 27123 > transceiver-mode = 1 > smsc-username = **** > smsc-password = *** > alt-dcs = yes > alt-charset = "UTF-8" > enquire-link-interval = 60 > source-addr-ton = 5 > source-addr-npi = 0 > dest-addr-ton = 1 > dest-addr-npi = 1 > msg-id-type = 0x03 > log-file = "/var/log/kannel/operator.log" > log-level = 2 > > group = smsbox > smsbox-id = mysmsbox > bearerbox-host = 127.0.0.1 > bearerbox-port = 13001 > sendsms-port = 13013 > log-file = "/var/log/kannel/smsbox.log" > log-level = 2 > access-log = "/var/log/kannel/access.log" > sendsms-chars = "0123456789+" > mo-recode = false > > group = smsbox-route > smsbox-id = mysmsbox > smsc-id = kraftmobile > #shortcode = 2288 > > group = sendsms-user > username = **** > password = *** > max-messages = 5 > concatenation = true > default-smsc = kraftmobile > dlr-url = "http://78.21.17.173/private/dlr.php?from=%P&to=%p&smsc=%i& > dlr-type=%d&text=" > > group = sms-service > keyword = default > text = "No services defined" > > > -- Regards Sapna
