USSD connection problem
mohammad hossein shafinia <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <CAP3FK9+HjQk80b9QaUu9upe3Cb+NTHKp0iqiHxZwQbh32nyy9w@mail.gmail.com> |
Hi, Hope all is well with you. I am new in using Kannel and I am able install Kannel on my system and configure kannel.conf to develop an application for sending and receiving SMS. However, I want to develop an application to connect to USSD. But I don't know how do I configure (kannel.conf) to connect to USSD. First we changed the configuration of kannel.conf similar to what we done for SMS, then restarted Kannel and we was connected to USSD server, but we couldn't send or receive any USSD transaction. After that we searched more and find a parameter named TLV and changed the parameter based on that, but after restarting the Kannel, SMSbox and bearbox just stopped. Can you give me a sample of kannel.conf for connection to USSD ? Also please find the current config file that we are using now in the attachment. Please let me know how we have to change that config file. Version: Kannel bearerbox version `1.4.1'. Looking forward to hearing from you. -- Regards, M. H. Shafinia
kannel.conf
(application/octet-stream, 2.4 KB)
## MAIN GROUP group = core admin-port = 13000 admin-password = kannel816639 status-password =kannel816639 smsbox-port = 13001 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 ############################################ ### SMS Box ############################################ group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 access-log = "/var/log/kannel/smsbox-access.log" sendsms-chars = "0123456789 -+" reply-couldnotfetch = "< Dar erae service khelali ijad shode ast lotfan, mojadadan moraje farmaid! >" reply-couldnotrepresent = "< Emkane erae pasokh be shekle sms vojood nadarad! >" reply-requestfailed = "< Darkhast shoma ba moshkel movajeh shod! >" mo-recode = true ############################################ ### SMS FROM SHORT CODE 1393 ############################################ group = smsc smsc = smpp smsc-id = 1393 host = 217.11.189.250 port = 2775 transceiver-mode = true smsc-username = username smsc-password = password system-type = test address-range = "" source-addr-npi = 0 source-addr-ton = 0 source-addr-autodetect = no dest-addr-ton = 0 dest-addr-npi = 0 allowed-smsc-id = g1393 log-level = 0 log-file = "/var/log/kannel/smsc-g1393.log" ############################################ ### USSD (*1393#) ############################################ group = smsc smsc = smpp smsc-id = 1393-ussd host = 217.11.189.253 port = 10664 transceiver-mode = true smsc-username = username smsc-password = password system-type = test address-range = "" source-addr-npi = 1 source-addr-ton = 0 source-addr-autodetect = no dest-addr-ton = 0 dest-addr-npi = 1 msg-id-type = 0x01 throughput = 1 allowed-smsc-id = g1393-ussd log-level = 0 log-file = "/var/log/kannel/smsc-g1393-ussd.log" #group = smpp-tlv #name = test #tag = 0x0501 #type = integer #length = 20 #smsc-id = ussdmenu group = sendsms-user username = negahban password = shorapass forced-smsc = g1393 #default-sender = 1393 group = sendsms-user username = test2 password = test2 forced-smsc = g1393-ussd ############################################ ### SMS Services ############################################ # There should be default always group = sms-service keyword = default get-url = "http://127.0.0.1/services/kannel.php?timest=%t&from=%q&to=%Q&text=%a&smsc=%i" catch-all = true omit-empty = true accept-x-kannel-headers = true