Re: Kannel & USSD status
Your USSD provider should give instructions how to use the api. Smpp is merely used to convey the messages to/from the user by using the standard pdus (submit_sm and deliver_sm). Probably some TLVs will be used (imsi is a good example) and other notable difference is that ussd is session based, so you might have session_id as a parameter somewhere. Anyway, you need to study your provider’s api and ussd as a service a little bit. —Davor > On Jan 20, 2019, at 5:35 PM, Damian Dimmich > wrote: > > Hi, > > I'm in the process of setting up USSD -> web application integration with a > mobile telecoms provider (I have SMPP 3.4 based access to their gateway, and > they support USSD messaging). > > While looking at options for setting this up, and kannel came up, however > looking through the mail archives it's not entirely clear that USSD is > supported out of the box with Kannel, potentially requiring > patches/recompilation. > > I've got kannel 1.4.4-4 running on a debian 9 machine, and connect to that > via a python smpp client library, however I can't seem to figure out how to > simulate initiating a USSD session. Are there some command line > tools/clients that can do this or is more a case of write your own? I've > spotted fakesmsc but can't see how to generate ussd traffic from that. > > Ideally I'd like to configure kannel/smsbox/sms-service to call into an HTTP > api with a session id/phone number/subscriberid - so that I can go back and > forth between the user and my server to get answers to a few questions. > > Using SMPPSim's inject_mo I can simulate SMS and SMS responses already to my > HTTP based application server. > > Thank you very much for any pointers in advance, I attach my current config > below. > > Damian > > > group = core > admin-port = 13000 > admin-password = bar > admin-deny-ip = "" > admin-allow-ip = "*.*.*.*" > smsbox-port = 13003 > wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > > group = smsbox > # smsbox-id = mysmsbox > bearerbox-host = localhost > sendsms-port = 1025 > global-sender = 1000 > log-level = 0 > log-file = "/var/log/kannel/smsbox.log" > mo-recode = true > sendsms-port = 13013 > > group = smsc > smsc = smpp > smsc-id = SMPPSim > host = 10.10.10.1 > port = 2775 > transceiver-mode = 1 > smsc-username = smppclient1 > smsc-password = password > system-type = 'VMA' > #service-type = 'test' > interface-version = 34 > system-id = smppclient > preferred-smsc-id = SMPPSim > > group = sms-service > keyword = default > # get-url = "http://localhost:8000/api/v1/sms/?phone=%p=%a; > # accept-x-kannel-headers = true > post-url = "http://localhost:8000/api/v1/sms/; > catch-all = true > > group = smpp-tlv > name = ussd_service_op > tag = 0x0501 > type = integer > length = 1 > > Disclaimer: one.Vip DOOEL Skopje This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. one.Vip DOOEL Skopje shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Please, do not print this e-mail unless it is necessary! Think about saving the environment! Напомена: оне.Вип ДООЕЛ Скопје Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските пораки се подложни на промени. оне.Вип ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем. Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!
Kannel & USSD status
Hi, I'm in the process of setting up USSD -> web application integration with a mobile telecoms provider (I have SMPP 3.4 based access to their gateway, and they support USSD messaging). While looking at options for setting this up, and kannel came up, however looking through the mail archives it's not entirely clear that USSD is supported out of the box with Kannel, potentially requiring patches/recompilation. I've got kannel 1.4.4-4 running on a debian 9 machine, and connect to that via a python smpp client library, however I can't seem to figure out how to simulate initiating a USSD session. Are there some command line tools/clients that can do this or is more a case of write your own? I've spotted fakesmsc but can't see how to generate ussd traffic from that. Ideally I'd like to configure kannel/smsbox/sms-service to call into an HTTP api with a session id/phone number/subscriberid - so that I can go back and forth between the user and my server to get answers to a few questions. Using SMPPSim's inject_mo I can simulate SMS and SMS responses already to my HTTP based application server. Thank you very much for any pointers in advance, I attach my current config below. Damian group = core admin-port = 13000 admin-password = bar admin-deny-ip = "" admin-allow-ip = "*.*.*.*" smsbox-port = 13003 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" group = smsbox # smsbox-id = mysmsbox bearerbox-host = localhost sendsms-port = 1025 global-sender = 1000 log-level = 0 log-file = "/var/log/kannel/smsbox.log" mo-recode = true sendsms-port = 13013 group = smsc smsc = smpp smsc-id = SMPPSim host = 10.10.10.1 port = 2775 transceiver-mode = 1 smsc-username = smppclient1 smsc-password = password system-type = 'VMA' #service-type = 'test' interface-version = 34 system-id = smppclient preferred-smsc-id = SMPPSim group = sms-service keyword = default # get-url = "http://localhost:8000/api/v1/sms/?phone=%p=%a; # accept-x-kannel-headers = true post-url = "http://localhost:8000/api/v1/sms/; catch-all = true group = smpp-tlv name = ussd_service_op tag = 0x0501 type = integer length = 1
Re: USSD with Kannel
Hello, I am having exactly this same issue and with smsbox getting stalled on the error - smsbox_req_thread: no sender/receiver, dump follows: Did anyone manage to get this resolved? Thanks. On Tue, Sep 27, 2016 at 4:31 PM Stipe Tolj wrote: > Am 13.04.2016 05:35, schrieb Arif Noor: > > Hi All, > > > > Update : After I patched the kannel the error message are no longer > present however MO are still not being delivered to the application but I > received new error in SMSBOX log as per below. > > > > 2016-04-13 10:38:58 [12246] [5] ERROR: smsbox_req_thread: no > sender/receiver, dump follows: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object at 0x1378640: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: type: sms > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sender: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378800: > > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 12 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 13 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 2b 36 30 31 30 33 30 36 > 34 38 3x 3x +601030648xx > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.receiver: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.udhdata: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msgdata: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378500: > > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 2 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 31 > 1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.time: 1460515138 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_id: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x13784b0: > > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 8 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 9 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 73 6d 70 70 55 53 53 44 > smppUSSD > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_number: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.foreign_id: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.service: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.account: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378460: > > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 6 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 7 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 7x 6x 7x 3x 3x 3x > xxx126 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.id: > 852d8fa4-25f3-44fb-856b-39a2fa9d8131 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sms_type: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mclass: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mwi: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.coding: 3 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.compress: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.validity: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.deferred: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_mask: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_url: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.pid: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.alt_dcs: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.rpi: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.charset: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.boxc_id: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.binfo: > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378860: > > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 4 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 5 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 55 53 53 44 > USSD > > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msg_left: -1 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.split_parts: (nil) > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.priority: 0 > > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_tr
configuration kannel et ussd
Bonjour Je suis Fanny, je voulais savoir quelle modification doit-on apporter à kannel pour qu'il prenne en compte Ussd? Merci d'avance pour votre reponse
Re: USSD SMPP integration
Am 01.11.2016 07:40, schrieb kabin mool: Hi, I am trying to use kannel for integrating with USSD GW using SMPP. My bind to USSD GW is ok. MO is ok and MT has some problem, msg is receiving in handset but if I send or cancel msg, it is is re-sending the same msg to my handset repetitively. I am using following parameters in kannel.conf without smpp-tlv group. # SMS SERVICE group = sms-service keyword = default omit-empty = true max-messages = 10 get-url = "http://X.X.X.X/abc.php?mob=%p=TRIAL=%3Fsmpp%3Fussd%5Fservice%5Fop%3D17%26its%5Fsession%5Finfo%3D0; name="*2210#" Do I need to define smpp-tlv group in my configuration? As per my wireshark trace, delivery_sm has optional parameters: ussd_service_op and its_session_info (attached) but submit_sm does not have optional parameters set. Do I need to set this parameter, if yes how to send these parameters in submit_sm? correct, you will need to define the corresponding 'group = smpp-tlv' in the config, which make Kannel aware of the tag/name relation. Then use the meta-data HTTP header in the HTTP response to inject the 2 values in the MT message, which is then send as optional TLVs in the submit_sm PDU. -- Best Regards, Stipe Tolj --- Düsseldorf, NRW, Germany Kannel Foundation tolj.org system architecture http://www.kannel.org/http://www.tolj.org/ stolj at kannel.org st at tolj.org ---
USSD SMPP integration
Hi, I am trying to use kannel for integrating with USSD GW using SMPP. My bind to USSD GW is ok. MO is ok and MT has some problem, msg is receiving in handset but if I send or cancel msg, it is is re-sending the same msg to my handset repetitively. I am using following parameters in kannel.conf without smpp-tlv group. # SMS SERVICE group = sms-service keyword = default omit-empty = true max-messages = 10 get-url = "http://X.X.X.X/abc.php?mob=%p=TRIAL=%3Fsmpp%3Fussd%5Fservice%5Fop%3D17%26its%5Fsession%5Finfo%3D0; name="*2210#" Do I need to define smpp-tlv group in my configuration? As per my wireshark trace, delivery_sm has optional parameters: ussd_service_op and its_session_info (attached) but submit_sm does not have optional parameters set. Do I need to set this parameter, if yes how to send these parameters in submit_sm? I am using kannel 1.4.4 in centos 6. Thanking you in advance. KABIN
Re: USSD with Kannel
Am 13.04.2016 05:35, schrieb Arif Noor: Hi All, Update : After I patched the kannel the error message are no longer present however MO are still not being delivered to the application but I received new error in SMSBOX log as per below. 2016-04-13 10:38:58 [12246] [5] ERROR: smsbox_req_thread: no sender/receiver, dump follows: 2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object at 0x1378640: 2016-04-13 10:38:58 [12246] [5] DEBUG: type: sms 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sender: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378800: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 12 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 13 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 2b 36 30 31 30 33 30 36 34 38 3x 3x +601030648xx 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.receiver: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.udhdata: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msgdata: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378500: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 1 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 2 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 31 1 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.time: 1460515138 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x13784b0: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 8 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 9 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 73 6d 70 70 55 53 53 44 smppUSSD 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_number: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.foreign_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.service: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.account: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378460: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 6 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 7 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 7x 6x 7x 3x 3x 3x xxx126 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.id: 852d8fa4-25f3-44fb-856b-39a2fa9d8131 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sms_type: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mclass: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mwi: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.coding: 3 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.compress: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.validity: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.deferred: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_mask: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_url: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.pid: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.alt_dcs: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.rpi: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.charset: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.boxc_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.binfo: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378860: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 4 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 5 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 55 53 53 44 USSD 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msg_left: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.split_parts: (nil) 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.priority: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_try: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_time: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.meta_data: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378890: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 65 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 66 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 3f 73 6d 70 70 3f 75 73 73 64 5f 68 6c 72 3d 36 ?smpp?ussd_hlr=6 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 30 26 75 73 73 64 5f 6f 70 74 69 6f 6e 61 6c 3d 0_optional= 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 30 30 31 30 30 34 33 34 35 37 30 44 42 30 46 46 00100434570DB0FF 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 26 75 73 73 64 5f 73 72 76 5f 6f 70 3d 25 31 32_srv_op=%12 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 26& 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump
RE: USSD with Kannel
Hi There, Anyone has any input for this, so far all my test are unsuccessful, as per the documentation provided to us they mention that the deliver_sm destination address (Routing key in first request)) thus they mean that they only provide the session with destination for the first deliver_sm for that session and USSR respond will have have NULL destination. Because of this the smsbox cannot process the deliver_sm and will not call the url which in turn will not forward it the application. Is there other way to handle this like hardcode the destination on kannel? 2016-04-21 16:17:52 [13809] [5] ERROR: smsbox_req_thread: no sender/receiver, dump follows: Highly appreciate assistance in this. Thank you and Regards, Arif Noor From: Arif Noor Sent: Thursday, April 21, 2016 4:20 PM To: 'Elton Hoxha' Cc: Stipe Tolj; users@kannel.org Subject: RE: USSD with Kannel Hi Again, Is it possible to hardcode the smsbox with the desired destination since we keep receiving this error. 2016-04-21 16:17:52 [13809] [5] ERROR: smsbox_req_thread: no sender/receiver, dump follows: Thank you and Regards, Arif Noor From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Thursday, April 14, 2016 3:28 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org<mailto:users@kannel.org> Subject: Re: USSD with Kannel Hi Arif, I believe your issue is related to Telco provider. 1 - To send an USSD request, you have to send a submit_sm packet with this TLV with value "2", which its sent accordingly by you. When you receive a deliver_sm packet with this TLV in response, the value will be "18", instead telco sends you 12 which is a reserved code and might interrupt the session (im not sure what does 12 code causes). 2 - Also submit_sm_resp from Telco is not including message id, producing an error. These two issues need to be addressed by them. On Thu, Apr 14, 2016 at 3:22 AM, Arif Noor <md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>> wrote: Hi Elton, Kindly find the attachment for the logs. Note that this was done manually since the application are not functioning yet since I need to get the MO through first. Thank you, Arif Noor. From: Elton Hoxha [mailto:elt...@gmail.com<mailto:elt...@gmail.com>] Sent: Wednesday, April 13, 2016 8:30 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org<mailto:users@kannel.org> Subject: Re: USSD with Kannel Also please debug logs of submit SM after you are receiving initial PSSR.
RE: USSD with Kannel
Hi Again, Is it possible to hardcode the smsbox with the desired destination since we keep receiving this error. 2016-04-21 16:17:52 [13809] [5] ERROR: smsbox_req_thread: no sender/receiver, dump follows: Thank you and Regards, Arif Noor From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Thursday, April 14, 2016 3:28 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org Subject: Re: USSD with Kannel Hi Arif, I believe your issue is related to Telco provider. 1 - To send an USSD request, you have to send a submit_sm packet with this TLV with value "2", which its sent accordingly by you. When you receive a deliver_sm packet with this TLV in response, the value will be "18", instead telco sends you 12 which is a reserved code and might interrupt the session (im not sure what does 12 code causes). 2 - Also submit_sm_resp from Telco is not including message id, producing an error. These two issues need to be addressed by them. On Thu, Apr 14, 2016 at 3:22 AM, Arif Noor <md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>> wrote: Hi Elton, Kindly find the attachment for the logs. Note that this was done manually since the application are not functioning yet since I need to get the MO through first. Thank you, Arif Noor. From: Elton Hoxha [mailto:elt...@gmail.com<mailto:elt...@gmail.com>] Sent: Wednesday, April 13, 2016 8:30 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org<mailto:users@kannel.org> Subject: Re: USSD with Kannel Also please debug logs of submit SM after you are receiving initial PSSR.
RE: USSD with Kannel
Hi There, I receive update from the Telco which they mentione that the value 12 was in hexa which 0x12 = 18, does kannel ussd_service_op using hexadecimal? Regards, From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Thursday, April 14, 2016 3:28 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org Subject: Re: USSD with Kannel Hi Arif, I believe your issue is related to Telco provider. 1 - To send an USSD request, you have to send a submit_sm packet with this TLV with value "2", which its sent accordingly by you. When you receive a deliver_sm packet with this TLV in response, the value will be "18", instead telco sends you 12 which is a reserved code and might interrupt the session (im not sure what does 12 code causes). 2 - Also submit_sm_resp from Telco is not including message id, producing an error. These two issues need to be addressed by them.
Re: USSD with Kannel
Hi Arif, I believe your issue is related to Telco provider. 1 - To send an USSD request, you have to send a submit_sm packet with this TLV with value "2", which its sent accordingly by you. When you receive a deliver_sm packet with this TLV in response, the value will be "18", instead telco sends you 12 which is a reserved code and might interrupt the session (im not sure what does 12 code causes). 2 - Also submit_sm_resp from Telco is not including message id, producing an error. These two issues need to be addressed by them. On Thu, Apr 14, 2016 at 3:22 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi Elton, > > > > Kindly find the attachment for the logs. Note that this was done manually > since the application are not functioning yet since I need to get the MO > through first. > > > > Thank you, > > Arif Noor. > > > > *From:* Elton Hoxha [mailto:elt...@gmail.com] > *Sent:* Wednesday, April 13, 2016 8:30 PM > *To:* Arif Noor > *Cc:* Stipe Tolj; users@kannel.org > *Subject:* Re: USSD with Kannel > > > > Also please debug logs of submit SM after you are receiving initial PSSR. > > > > >
RE: USSD with Kannel
Hi Elton, Kindly find the attachment for the logs. Note that this was done manually since the application are not functioning yet since I need to get the MO through first. Thank you, Arif Noor. From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Wednesday, April 13, 2016 8:30 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org Subject: Re: USSD with Kannel Also please debug logs of submit SM after you are receiving initial PSSR. PSSR 2016-04-14 09:02:30 [12379] [6] DEBUG: command_id: 2147483669 = 0x8015 2016-04-14 09:02:30 [12379] [6] DEBUG: command_status: 0 = 0x 2016-04-14 09:02:30 [12379] [6] DEBUG: sequence_number: 2045 = 0x07fd 2016-04-14 09:02:30 [12379] [6] DEBUG: SMPP PDU dump ends. 2016-04-14 09:02:30 [12379] [6] DEBUG: SMPP[smppUSSD]: throughput (0.00,15.00) 2016-04-14 09:02:33 [12379] [7] DEBUG: SMPP[smppUSSD2]: throughput (0.00,15.00) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter tag (0x0501) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter length read as 1 2016-04-14 09:02:33 [12379] [7] DEBUG: Found configured optional parameter `ussd_srv_op' 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter tag (0x4001) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter length read as 15 2016-04-14 09:02:33 [12379] [7] DEBUG: Found configured optional parameter `ussd_imsi' 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter tag (0x4002) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter length read as 11 2016-04-14 09:02:33 [12379] [7] DEBUG: Found configured optional parameter `ussd_vlr' 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter tag (0x4006) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter length read as 11 2016-04-14 09:02:33 [12379] [7] DEBUG: Found configured optional parameter `ussd_hlr' 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter tag (0x400c) 2016-04-14 09:02:33 [12379] [7] DEBUG: Optional parameter length read as 16 2016-04-14 09:02:33 [12379] [7] DEBUG: Found configured optional parameter `ussd_optional' 2016-04-14 09:02:33 [12379] [7] DEBUG: SMPP[smppUSSD2]: Got PDU: 2016-04-14 09:02:33 [12379] [7] DEBUG: SMPP PDU 0x7f90f400c270 dump: 2016-04-14 09:02:33 [12379] [7] DEBUG: type_name: deliver_sm 2016-04-14 09:02:33 [12379] [7] DEBUG: command_id: 5 = 0x0005 2016-04-14 09:02:33 [12379] [7] DEBUG: command_status: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: sequence_number: 8767 = 0x223f 2016-04-14 09:02:33 [12379] [7] DEBUG: service_type: "USSD" 2016-04-14 09:02:33 [12379] [7] DEBUG: source_addr_ton: 1 = 0x0001 2016-04-14 09:02:33 [12379] [7] DEBUG: source_addr_npi: 1 = 0x0001 2016-04-14 09:02:33 [12379] [7] DEBUG: source_addr: "60103064822" 2016-04-14 09:02:33 [12379] [7] DEBUG: dest_addr_ton: 3 = 0x0003 2016-04-14 09:02:33 [12379] [7] DEBUG: dest_addr_npi: 9 = 0x0009 2016-04-14 09:02:33 [12379] [7] DEBUG: destination_addr: "126" 2016-04-14 09:02:33 [12379] [7] DEBUG: esm_class: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: protocol_id: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: priority_flag: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: schedule_delivery_time: NULL 2016-04-14 09:02:33 [12379] [7] DEBUG: validity_period: NULL 2016-04-14 09:02:33 [12379] [7] DEBUG: registered_delivery: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: replace_if_present_flag: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: data_coding: 15 = 0x000f 2016-04-14 09:02:33 [12379] [7] DEBUG: sm_default_msg_id: 0 = 0x 2016-04-14 09:02:33 [12379] [7] DEBUG: sm_length: 5 = 0x0005 2016-04-14 09:02:33 [12379] [7] DEBUG: short_message: "*126#" 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_service_op: 2016-04-14 09:02:33 [12379] [7] DEBUG:Octet string at 0x7f90f400d870: 2016-04-14 09:02:33 [12379] [7] DEBUG: len: 1 2016-04-14 09:02:33 [12379] [7] DEBUG: size: 2 2016-04-14 09:02:33 [12379] [7] DEBUG: immutable: 0 2016-04-14 09:02:33 [12379] [7] DEBUG: data: 01 . 2016-04-14 09:02:33 [12379] [7] DEBUG:Octet string dump ends. 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_hlr: "60192040152" 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_imsi: "502195700771324" 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_optional: "0010022C570EEBEB" 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_srv_op: 2016-04-14 09:02:33 [12379] [7] DEBUG:Octet string at 0x7f90f400c040: 2016-04-14 09:02:33 [12379] [7] DEBUG: len: 1 2016-04-14 09:02:33 [12379] [7] DEBUG: size: 2 2016-04-14 09:02:33 [12379] [7] DEBUG: immutable: 0 2016-04-14 09:02:33 [12379] [7] DEBUG: data: 01 . 2016-04-14 09:02:33 [12379] [7] DEBUG:Octet string dump ends. 2016-04-14 09:02:33 [12379] [7] DEBUG: ussd_vlr: "601
Re: USSD with Kannel
gt; > 2016-04-13 15:51:26 [12361] [9] DEBUG: Octet string dump ends. > > 2016-04-13 15:51:26 [12361] [9] DEBUG: HTTP: Status line: > > 2016-04-13 15:51:26 [12361] [9] DEBUG: HTTP: Received response: > > 2016-04-13 15:51:26 [12361] [9] DEBUG: Octet string at 0x7f3184001190: > > 2016-04-13 15:51:26 [12361] [9] DEBUG: len: 204 > > 2016-04-13 15:51:26 [12361] [9] DEBUG: size: 1024 > > 2016-04-13 15:51:26 [12361] [9] DEBUG: immutable: 0 > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 43 61 63 68 65 2d 43 6f 6e > 74 72 6f 6c 3a 20 70 Cache-Control: p > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 72 69 76 61 74 65 0d 0a 43 > 6f 6e 74 65 6e 74 2d rivate..Content- > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 54 79 70 65 3a 20 74 65 78 > 74 2f 68 74 6d 6c 3b Type: text/html; > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 20 63 68 61 72 73 65 74 3d > 75 74 66 2d 38 0d 0acharset=utf-8.. > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 53 65 72 76 65 72 3a 20 4d > 69 63 72 6f 73 6f 66 Server: Microsof > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 74 2d 49 49 53 2f 38 2e 35 > 0d 0a 58 2d 41 73 70 t-IIS/8.5..X-Asp > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 4e 65 74 2d 56 65 72 73 69 > 6f 6e 3a 20 34 2e 30 Net-Version: 4.0 > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 2e 33 30 33 31 39 0d 0a 58 > 2d 50 6f 77 65 72 65 .30319..X-Powere > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 64 2d 42 79 3a 20 41 53 50 > 2e 4e 45 54 0d 0a 44 d-By: ASP.NET..D > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 61 74 65 3a 20 57 65 64 2c > 20 31 33 20 41 70 72 ate: Wed, 13 Apr > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 20 32 30 31 36 20 30 37 3a > 35 30 3a 32 34 20 472016 07:50:24 G > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 4d 54 0d 0a 43 6f 6e 74 65 > 6e 74 2d 4c 65 6e 67 MT..Content-Leng > > 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 74 68 3a 20 33 0d 0a 0d 0a > 32 30 30 th: 3200 > > 2016-04-13 15:51:26 [12361] [9] DEBUG: Octet string dump ends. > > > > The previous log provided was also from smsbox but it doesn’t seem to call > the get-url and giving the no sender/receiver error. Please do let me > know if you need any further details. > > > > Thanks, > > Arif Noor. > > > > > > *From:* Elton Hoxha [mailto:elt...@gmail.com] > *Sent:* Wednesday, April 13, 2016 3:05 PM > *To:* Arif Noor > *Cc:* Stipe Tolj; users@kannel.org > *Subject:* Re: USSD with Kannel > > > > could you paste your debug logs while you call "get-url" of your app? > > > > >
RE: USSD with Kannel
68 74 6d 6c 3b Type: text/html; 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 20 63 68 61 72 73 65 74 3d 75 74 66 2d 38 0d 0acharset=utf-8.. 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 53 65 72 76 65 72 3a 20 4d 69 63 72 6f 73 6f 66 Server: Microsof 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 74 2d 49 49 53 2f 38 2e 35 0d 0a 58 2d 41 73 70 t-IIS/8.5..X-Asp 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 4e 65 74 2d 56 65 72 73 69 6f 6e 3a 20 34 2e 30 Net-Version: 4.0 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 2e 33 30 33 31 39 0d 0a 58 2d 50 6f 77 65 72 65 .30319..X-Powere 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 64 2d 42 79 3a 20 41 53 50 2e 4e 45 54 0d 0a 44 d-By: ASP.NET..D 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 61 74 65 3a 20 57 65 64 2c 20 31 33 20 41 70 72 ate: Wed, 13 Apr 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 20 32 30 31 36 20 30 37 3a 35 30 3a 32 34 20 472016 07:50:24 G 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 4d 54 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 MT..Content-Leng 2016-04-13 15:51:26 [12361] [9] DEBUG: data: 74 68 3a 20 33 0d 0a 0d 0a 32 30 30 th: 3200 2016-04-13 15:51:26 [12361] [9] DEBUG: Octet string dump ends. The previous log provided was also from smsbox but it doesn’t seem to call the get-url and giving the no sender/receiver error. Please do let me know if you need any further details. Thanks, Arif Noor. From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Wednesday, April 13, 2016 3:05 PM To: Arif Noor Cc: Stipe Tolj; users@kannel.org Subject: Re: USSD with Kannel could you paste your debug logs while you call "get-url" of your app?
Re: USSD with Kannel
could you paste your debug logs while you call "get-url" of your app? On Wed, Apr 13, 2016 at 5:35 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi All, > > Update : After I patched the kannel the error message are no longer > present however MO are still not being delivered to the application but I > received new error in SMSBOX log as per below. > > 2016-04-13 10:38:58 [12246] [5] ERROR: smsbox_req_thread: no > sender/receiver, dump follows: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object at 0x1378640: > 2016-04-13 10:38:58 [12246] [5] DEBUG: type: sms > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sender: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378800: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 12 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 13 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 2b 36 30 31 30 33 30 36 34 > 38 3x 3x +601030648xx > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.receiver: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.udhdata: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msgdata: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378500: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 1 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 2 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 31 > 1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.time: 1460515138 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_id: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x13784b0: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 8 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 9 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 73 6d 70 70 55 53 53 44 >smppUSSD > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_number: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.foreign_id: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.service: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.account: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378460: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 6 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 7 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 7x 6x 7x 3x 3x 3x >xxx126 > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.id: > 852d8fa4-25f3-44fb-856b-39a2fa9d8131 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sms_type: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mclass: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mwi: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.coding: 3 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.compress: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.validity: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.deferred: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_mask: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_url: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.pid: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.alt_dcs: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.rpi: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.charset: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.boxc_id: > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.binfo: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378860: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 4 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 5 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 55 53 53 44 >USSD > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msg_left: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.split_parts: (nil) > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.priority: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_try: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_time: -1 > 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.meta_data: > 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378890: > 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 65 > 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 66 > 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 > 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 3f 73 6d 70 70 3f 75 73 73 > 64 5
RE: USSD with Kannel
Hi All, Update : After I patched the kannel the error message are no longer present however MO are still not being delivered to the application but I received new error in SMSBOX log as per below. 2016-04-13 10:38:58 [12246] [5] ERROR: smsbox_req_thread: no sender/receiver, dump follows: 2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object at 0x1378640: 2016-04-13 10:38:58 [12246] [5] DEBUG: type: sms 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sender: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378800: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 12 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 13 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 2b 36 30 31 30 33 30 36 34 38 3x 3x +601030648xx 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.receiver: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.udhdata: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msgdata: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378500: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 1 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 2 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 31 1 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.time: 1460515138 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x13784b0: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 8 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 9 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 73 6d 70 70 55 53 53 44 smppUSSD 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_number: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.foreign_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.service: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.account: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378460: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 6 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 7 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 7x 6x 7x 3x 3x 3x xxx126 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.id: 852d8fa4-25f3-44fb-856b-39a2fa9d8131 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sms_type: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mclass: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mwi: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.coding: 3 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.compress: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.validity: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.deferred: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_mask: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_url: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.pid: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.alt_dcs: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.rpi: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.charset: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.boxc_id: 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.binfo: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378860: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 4 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 5 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 55 53 53 44 USSD 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends. 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msg_left: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.split_parts: (nil) 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.priority: 0 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_try: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_time: -1 2016-04-13 10:38:58 [12246] [5] DEBUG: sms.meta_data: 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378890: 2016-04-13 10:38:58 [12246] [5] DEBUG:len: 65 2016-04-13 10:38:58 [12246] [5] DEBUG:size: 66 2016-04-13 10:38:58 [12246] [5] DEBUG:immutable: 0 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 3f 73 6d 70 70 3f 75 73 73 64 5f 68 6c 72 3d 36 ?smpp?ussd_hlr=6 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 30 26 75 73 73 64 5f 6f 70 74 69 6f 6e 61 6c 3d 0_optional= 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 30 30 31 30 30 34 33 34 35 37 30 44 42 30 46 46 00100434570DB0FF 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 26 75 73 73 64 5f 73 72 76 5f 6f 70 3d 25 31 32 _srv_op=%12 2016-04-13 10:38:58 [12246] [5] DEBUG:data: 26 & 2016-04-13 10:38:58 [12246] [5] DEBUG: Octet st
RE: USSD with Kannel
Hi Stipe, Thank you for the patch, will do a test once I arrived at the office, also I have sent the email to you for the specification of the ussd gateway. Arif Noor. -Original Message- From: Stipe Tolj [mailto:st...@kannel.org] Sent: Monday, April 11, 2016 11:25 PM Cc: Arif Noor; users@kannel.org Subject: Re: USSD with Kannel Am 11.04.2016 17:19, schrieb Stipe Tolj: > > I'll prepare a simple patch that let's you resolve the issue. please try to apply the following patch to the source tree and re-compile. -- Best Regards, Stipe Tolj --- Düsseldorf, NRW, Germany Kannel Foundation tolj.org system architecture http://www.kannel.org/http://www.tolj.org/ stolj at kannel.org st at tolj.org ---
Re: USSD with Kannel
Am 11.04.2016 17:19, schrieb Stipe Tolj: I'll prepare a simple patch that let's you resolve the issue. please try to apply the following patch to the source tree and re-compile. -- Best Regards, Stipe Tolj --- Düsseldorf, NRW, Germany Kannel Foundation tolj.org system architecture http://www.kannel.org/http://www.tolj.org/ stolj at kannel.org st at tolj.org --- Index: gw/bb_http.c === --- gw/bb_http.c(revision 5150) +++ gw/bb_http.c(working copy) @@ -347,24 +347,19 @@ return octstr_create("Black/white lists re-loaded"); } -static Octstr *httpd_remove_message(List *cgivars, int status_type) +static Octstr *httpd_dequeue_messages(List *cgivars, int status_type) { Octstr *reply; -Octstr *message_id; +Octstr *smsc; if ((reply = httpd_check_authorization(cgivars, 0))!= NULL) return reply; if ((reply = httpd_check_status())!= NULL) return reply; /* check if the smsc id is given */ -message_id = http_cgi_variable(cgivars, "id"); -if (message_id) { -if (octstr_len(message_id) != UUID_STR_LEN) -return octstr_format("Message id should be %d characters long", UUID_STR_LEN); -if (bb_remove_message(message_id) == -1) -return octstr_format("Could not remove message id `%s'", octstr_get_cstr(message_id)); -else -return octstr_format("Message id `%s' removed", octstr_get_cstr(message_id)); -} else -return octstr_create("Message id not given"); +smsc = http_cgi_variable(cgivars, "smsc"); +if (smsc) { +} else { + +} } /* Known httpd commands and their functions */ @@ -387,7 +382,7 @@ { "add-smsc", httpd_add_smsc }, { "remove-smsc", httpd_remove_smsc }, { "reload-lists", httpd_reload_lists }, -{ "remove-message", httpd_remove_message }, +{ "dequeue", httpd_dequeue_messages }, { NULL , NULL } /* terminate list */ }; Index: gw/smsc/smsc_smpp.c === --- gw/smsc/smsc_smpp.c (revision 5150) +++ gw/smsc/smsc_smpp.c (working copy) @@ -609,8 +609,10 @@ /* * Follows SMPP spec. v3.4. issue 1.2 * it's not allowed to have destination_addr NULL + * USSD service type MAY have a NULL value, so allow this. */ -if (pdu->u.deliver_sm.destination_addr == NULL) { +if (pdu->u.deliver_sm.destination_addr == NULL && +octstr_case_compare(pdu->u.deliver_sm.service_type, octstr_imm("USSD")) != 0) { error(0, "SMPP[%s]: Malformed destination_addr `%s', may not be empty. " "Discarding MO message.", octstr_get_cstr(smpp->conn->id), octstr_get_cstr(pdu->u.deliver_sm.destination_addr));
Re: USSD with Kannel
Am 07.04.2016 10:21, schrieb Arif Noor: Hi Elton, Please find below for the logs. 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x0501) 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 1 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_srv_op' 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x4006) 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 2 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_hlr' 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x400c) 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 16 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_optional' 1435318:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP[smppUSSD]: Got PDU: 1435319:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU 0x7f41bc01c660 dump: 1435320:2016-04-01 17:20:51 [2353] [6] DEBUG: type_name: deliver_sm 1435321:2016-04-01 17:20:51 [2353] [6] DEBUG: command_id: 5 = 0x0005 1435322:2016-04-01 17:20:51 [2353] [6] DEBUG: command_status: 0 = 0x 1435323:2016-04-01 17:20:51 [2353] [6] DEBUG: sequence_number: 102277 = 0x00018f85 1435324:2016-04-01 17:20:51 [2353] [6] DEBUG: service_type: "USSD" 1435325:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_ton: 1 = 0x0001 1435326:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_npi: 1 = 0x0001 1435327:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr: "60" 1435328:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_ton: 0 = 0x 1435329:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_npi: 0 = 0x 1435330:2016-04-01 17:20:51 [2353] [6] DEBUG: destination_addr: NULL 1435331:2016-04-01 17:20:51 [2353] [6] DEBUG: esm_class: 0 = 0x 1435332:2016-04-01 17:20:51 [2353] [6] DEBUG: protocol_id: 0 = 0x 1435333:2016-04-01 17:20:51 [2353] [6] DEBUG: priority_flag: 0 = 0x 1435334:2016-04-01 17:20:51 [2353] [6] DEBUG: schedule_delivery_time: NULL 1435335:2016-04-01 17:20:51 [2353] [6] DEBUG: validity_period: NULL 1435336:2016-04-01 17:20:51 [2353] [6] DEBUG: registered_delivery: 0 = 0x 1435337:2016-04-01 17:20:51 [2353] [6] DEBUG: replace_if_present_flag: 0 = 0x 1435338:2016-04-01 17:20:51 [2353] [6] DEBUG: data_coding: 15 = 0x000f 1435339:2016-04-01 17:20:51 [2353] [6] DEBUG: sm_default_msg_id: 0 = 0x 1435340:2016-04-01 17:20:51 [2353] [6] DEBUG: sm_length: 1 = 0x0001 1435341:2016-04-01 17:20:51 [2353] [6] DEBUG: short_message: "1" 1435342:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_service_op: 1435343:2016-04-01 17:20:51 [2353] [6] DEBUG: Octet string at 0x7f41bc01d010: 1435344:2016-04-01 17:20:51 [2353] [6] DEBUG: len: 1 1435345:2016-04-01 17:20:51 [2353] [6] DEBUG: size: 2 1435346:2016-04-01 17:20:51 [2353] [6] DEBUG: immutable: 0 1435347:2016-04-01 17:20:51 [2353] [6] DEBUG: data: 12 . 1435348:2016-04-01 17:20:51 [2353] [6] DEBUG: Octet string dump ends. 1435349:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_hlr: "60" 1435350:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_optional: "0010015156FE3D42" 1435351:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_srv_op: 1435352:2016-04-01 17:20:51 [2353] [6] DEBUG: Octet string at 0x7f41bc00d440: 1435353:2016-04-01 17:20:51 [2353] [6] DEBUG: len: 1 1435354:2016-04-01 17:20:51 [2353] [6] DEBUG: size: 2 1435355:2016-04-01 17:20:51 [2353] [6] DEBUG: immutable: 0 1435356:2016-04-01 17:20:51 [2353] [6] DEBUG: data: 12 . 1435357:2016-04-01 17:20:51 [2353] [6] DEBUG: Octet string dump ends. 1435358:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU dump ends. 1435359:2016-04-01 17:20:51 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. Hi Arif, Kannel bearebox does refuse the MO (deliver_sm PDU) with an empty (NULL) destination_addr. The source code part is this: /* * Follows SMPP spec. v3.4. issue 1.2 * it's not allowed to have destination_addr NULL */ if (pdu->u.deliver_sm.destination_addr == NULL) { error(0, "SMPP[%s]: Malformed destination_addr `%s', may not be empty. " "Discarding MO message.", octstr_get_cstr(smpp->conn->id), octstr_get_cstr(pdu->u.deliver_sm.destination_addr)); *reason = SMPP_ESME_RINVDSTADR; goto error; } touch, reviewing the SMPP spec again in detail, I don't find any LITERAL reference that a NULL'ed destination_addr is not allowed. The only thing I see is this section: Section 4.4.1.1 (page 66): An ESME Transmitter may enter NULL values in the ‘source address’ fields. In this event, the SMSC may then substitute a default address for that particular ESME. This feature is designed for interfaces that are n
Re: USSD with Kannel
Hi Arif, I have a USSD connection setup and working, mine tracks sessions using the TLV parameter receipted_message_id. Config for that parameter is below: group = smpp-tlv name = receipted_message_id tag = 0x001e type=nulterminated length=65 smsc-id = Hope this helps On Thu, Apr 7, 2016 at 8:50 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi Elton, > > > > Yes after the first MO, the app submit with 126 as originator. Also could > you tell me how the app supposed to differentiate the session. Is it by > using msgID or something? As for the USSR confirm, I guess I should ask the > USSDC since they passed the value 12 instead of 18. > > > > Thank you for your input so far J > > > > *From:* Elton Hoxha [mailto:elt...@gmail.com] > *Sent:* Thursday, April 07, 2016 4:38 PM > > *To:* Arif Noor > *Cc:* Donald Jackson; users@kannel.org > *Subject:* Re: USSD with Kannel > > > > After you receive the first MO do you submit the SM having 126 as > originator? If yes, maybe something wrong with the sessions you are keeping > on application side. > > > > Furthermore, at this stage of session `ussd_srv_op' should have the value > of 18 = USSR Confirm. Yours look like 12. > > > > Here is my deliver SM > > > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter tag (0x0501) > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter length read as 1 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Found configured optional parameter > `mydata' > > 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP[ussdmenu]: Got PDU: > > 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP PDU 0x9b13ba8 dump: > > 2016-04-07 05:07:19 [5368] [6] DEBUG: type_name: deliver_sm > > 2016-04-07 05:07:19 [5368] [6] DEBUG: command_id: 5 = 0x0005 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: command_status: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sequence_number: 12653547 = > 0x00c113eb > > 2016-04-07 05:07:19 [5368] [6] DEBUG: service_type: "USSD" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_ton: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_npi: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr: "xxx" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_ton: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_npi: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: destination_addr: "100" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: esm_class: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: protocol_id: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: priority_flag: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: schedule_delivery_time: NULL > > 2016-04-07 05:07:19 [5368] [6] DEBUG: validity_period: NULL > > 2016-04-07 05:07:19 [5368] [6] DEBUG: registered_delivery: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: replace_if_present_flag: 0 = > 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: data_coding: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_default_msg_id: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_length: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: short_message: "1" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: mydata: "18" > > > > > > On Thu, Apr 7, 2016 at 10:21 AM, Arif Noor <md.a...@forest-interactive.com> > wrote: > > Hi Elton, > > > > Please find below for the logs. > > > > 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x0501) > > 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 1 > > 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_srv_op' > > 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x4006) > > 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 2 > > 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_hlr' > > 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x400c) > > 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 16 > > 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_optional' > > 1435318:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP[smppUSSD]: Got PDU: > > 1435319:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU 0x7f41bc01c660 dump: > > 1435320:2016-04-01 17:20:51 [2353] [6] DEBUG: type_name: deliver_sm > > 1435321:2016-04-01 17
Re: USSD with Kannel
At least for me, Session = MsgID + MSISDN combination kept at application side. This part belongs to you and your skills how to keep track of them at application side and has not to do with Kannel. Kannel did its job passing the message through. While communicating with Telecom provider, refer to these parameters which are global standard; 0 = PSSD Indication 1 = PSSR Indication 2 = USSR Request 3 = USSN Request 4 to 15 = Reserved 16 = PSSD Response 17 = PSSR Response 18 = USSR Confirm 19 = USSN Confirm On Thu, Apr 7, 2016 at 10:50 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi Elton, > > > > Yes after the first MO, the app submit with 126 as originator. Also could > you tell me how the app supposed to differentiate the session. Is it by > using msgID or something? As for the USSR confirm, I guess I should ask the > USSDC since they passed the value 12 instead of 18. > > > > Thank you for your input so far J > > > > *From:* Elton Hoxha [mailto:elt...@gmail.com] > *Sent:* Thursday, April 07, 2016 4:38 PM > > *To:* Arif Noor > *Cc:* Donald Jackson; users@kannel.org > *Subject:* Re: USSD with Kannel > > > > After you receive the first MO do you submit the SM having 126 as > originator? If yes, maybe something wrong with the sessions you are keeping > on application side. > > > > Furthermore, at this stage of session `ussd_srv_op' should have the value > of 18 = USSR Confirm. Yours look like 12. > > > > Here is my deliver SM > > > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter tag (0x0501) > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter length read as 1 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: Found configured optional parameter > `mydata' > > 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP[ussdmenu]: Got PDU: > > 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP PDU 0x9b13ba8 dump: > > 2016-04-07 05:07:19 [5368] [6] DEBUG: type_name: deliver_sm > > 2016-04-07 05:07:19 [5368] [6] DEBUG: command_id: 5 = 0x0005 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: command_status: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sequence_number: 12653547 = > 0x00c113eb > > 2016-04-07 05:07:19 [5368] [6] DEBUG: service_type: "USSD" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_ton: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_npi: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr: "xxx" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_ton: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_npi: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: destination_addr: "100" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: esm_class: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: protocol_id: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: priority_flag: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: schedule_delivery_time: NULL > > 2016-04-07 05:07:19 [5368] [6] DEBUG: validity_period: NULL > > 2016-04-07 05:07:19 [5368] [6] DEBUG: registered_delivery: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: replace_if_present_flag: 0 = > 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: data_coding: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_default_msg_id: 0 = 0x > > 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_length: 1 = 0x0001 > > 2016-04-07 05:07:19 [5368] [6] DEBUG: short_message: "1" > > 2016-04-07 05:07:19 [5368] [6] DEBUG: mydata: "18" > > > > > > On Thu, Apr 7, 2016 at 10:21 AM, Arif Noor <md.a...@forest-interactive.com> > wrote: > > Hi Elton, > > > > Please find below for the logs. > > > > 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x0501) > > 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 1 > > 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_srv_op' > > 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x4006) > > 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 2 > > 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_hlr' > > 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x400c) > > 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 16 > > 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_optional' > > 1435318:2016-04-01 17:20:5
RE: USSD with Kannel
Hi Elton, Yes after the first MO, the app submit with 126 as originator. Also could you tell me how the app supposed to differentiate the session. Is it by using msgID or something? As for the USSR confirm, I guess I should ask the USSDC since they passed the value 12 instead of 18. Thank you for your input so far ☺ From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Thursday, April 07, 2016 4:38 PM To: Arif Noor Cc: Donald Jackson; users@kannel.org Subject: Re: USSD with Kannel After you receive the first MO do you submit the SM having 126 as originator? If yes, maybe something wrong with the sessions you are keeping on application side. Furthermore, at this stage of session `ussd_srv_op' should have the value of 18 = USSR Confirm. Yours look like 12. Here is my deliver SM 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter tag (0x0501) 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter length read as 1 2016-04-07 05:07:19 [5368] [6] DEBUG: Found configured optional parameter `mydata' 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP[ussdmenu]: Got PDU: 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP PDU 0x9b13ba8 dump: 2016-04-07 05:07:19 [5368] [6] DEBUG: type_name: deliver_sm 2016-04-07 05:07:19 [5368] [6] DEBUG: command_id: 5 = 0x0005 2016-04-07 05:07:19 [5368] [6] DEBUG: command_status: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sequence_number: 12653547 = 0x00c113eb 2016-04-07 05:07:19 [5368] [6] DEBUG: service_type: "USSD" 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_ton: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_npi: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr: "xxx" 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: destination_addr: "100" 2016-04-07 05:07:19 [5368] [6] DEBUG: esm_class: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: protocol_id: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: priority_flag: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: schedule_delivery_time: NULL 2016-04-07 05:07:19 [5368] [6] DEBUG: validity_period: NULL 2016-04-07 05:07:19 [5368] [6] DEBUG: registered_delivery: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: replace_if_present_flag: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: data_coding: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_default_msg_id: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_length: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: short_message: "1" 2016-04-07 05:07:19 [5368] [6] DEBUG: mydata: "18" On Thu, Apr 7, 2016 at 10:21 AM, Arif Noor <md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>> wrote: Hi Elton, Please find below for the logs. 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x0501) 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 1 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_srv_op' 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x4006) 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 2 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_hlr' 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x400c) 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 16 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_optional' 1435318:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP[smppUSSD]: Got PDU: 1435319:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU 0x7f41bc01c660 dump: 1435320:2016-04-01 17:20:51 [2353] [6] DEBUG: type_name: deliver_sm 1435321:2016-04-01 17:20:51 [2353] [6] DEBUG: command_id: 5 = 0x0005 1435322:2016-04-01 17:20:51 [2353] [6] DEBUG: command_status: 0 = 0x 1435323:2016-04-01 17:20:51 [2353] [6] DEBUG: sequence_number: 102277 = 0x00018f85 1435324:2016-04-01 17:20:51 [2353] [6] DEBUG: service_type: "USSD" 1435325:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_ton: 1 = 0x0001 1435326:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_npi: 1 = 0x0001 1435327:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr: "60" 1435328:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_ton: 0 = 0x 1435329:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_npi: 0 = 0x 1435330:2016-04-01 17:20:51 [2353] [6] DEBUG: destination_addr: NULL 1435331:2016-04-01 17:20:51 [2353] [6] DEBUG: esm_class: 0 = 0x 1435332:2016-04-01 17:20:51 [2353] [6] DEBUG: protocol_id: 0 = 0x 1435333:2016-04-01 17:20:51 [2353] [6] DEBUG: priority_flag: 0 = 0x 1435334:2016-04-01 17:20:51 [2353] [6]
Re: USSD with Kannel
After you receive the first MO do you submit the SM having 126 as originator? If yes, maybe something wrong with the sessions you are keeping on application side. Furthermore, at this stage of session `ussd_srv_op' should have the value of 18 = USSR Confirm. Yours look like 12. Here is my deliver SM 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter tag (0x0501) 2016-04-07 05:07:19 [5368] [6] DEBUG: Optional parameter length read as 1 2016-04-07 05:07:19 [5368] [6] DEBUG: Found configured optional parameter `mydata' 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP[ussdmenu]: Got PDU: 2016-04-07 05:07:19 [5368] [6] DEBUG: SMPP PDU 0x9b13ba8 dump: 2016-04-07 05:07:19 [5368] [6] DEBUG: type_name: deliver_sm 2016-04-07 05:07:19 [5368] [6] DEBUG: command_id: 5 = 0x0005 2016-04-07 05:07:19 [5368] [6] DEBUG: command_status: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sequence_number: 12653547 = 0x00c113eb 2016-04-07 05:07:19 [5368] [6] DEBUG: service_type: "USSD" 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_ton: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr_npi: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: source_addr: "xxx" 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_ton: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: destination_addr: "100" 2016-04-07 05:07:19 [5368] [6] DEBUG: esm_class: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: protocol_id: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: priority_flag: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: schedule_delivery_time: NULL 2016-04-07 05:07:19 [5368] [6] DEBUG: validity_period: NULL 2016-04-07 05:07:19 [5368] [6] DEBUG: registered_delivery: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: replace_if_present_flag: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: data_coding: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_default_msg_id: 0 = 0x 2016-04-07 05:07:19 [5368] [6] DEBUG: sm_length: 1 = 0x0001 2016-04-07 05:07:19 [5368] [6] DEBUG: short_message: "1" 2016-04-07 05:07:19 [5368] [6] DEBUG: mydata: "18" On Thu, Apr 7, 2016 at 10:21 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi Elton, > > > > Please find below for the logs. > > > > 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x0501) > > 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 1 > > 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_srv_op' > > 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x4006) > > 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 2 > > 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_hlr' > > 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag > (0x400c) > > 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length > read as 16 > > 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional > parameter `ussd_optional' > > 1435318:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP[smppUSSD]: Got PDU: > > 1435319:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU 0x7f41bc01c660 dump: > > 1435320:2016-04-01 17:20:51 [2353] [6] DEBUG: type_name: deliver_sm > > 1435321:2016-04-01 17:20:51 [2353] [6] DEBUG: command_id: 5 = 0x0005 > > 1435322:2016-04-01 17:20:51 [2353] [6] DEBUG: command_status: 0 = > 0x > > 1435323:2016-04-01 17:20:51 [2353] [6] DEBUG: sequence_number: 102277 = > 0x00018f85 > > 1435324:2016-04-01 17:20:51 [2353] [6] DEBUG: service_type: "USSD" > > 1435325:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_ton: 1 = > 0x0001 > > 1435326:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_npi: 1 = > 0x0001 > > 1435327:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr: "60" > > 1435328:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_ton: 0 = > 0x > > 1435329:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_npi: 0 = > 0x > > 1435330:2016-04-01 17:20:51 [2353] [6] DEBUG: destination_addr: NULL > > 1435331:2016-04-01 17:20:51 [2353] [6] DEBUG: esm_class: 0 = 0x > > 1435332:2016-04-01 17:20:51 [2353] [6] DEBUG: protocol_id: 0 = 0x > > 1435333:2016-04-01 17:20:51 [2353] [6] DEBUG: priority_flag: 0 = > 0x > > 1435334:2016-04-01 17:20:51 [2353] [6] DEBUG: schedule_delivery_time: > NULL > > 1435335:2016-04-01 17:20:51 [2353] [6] DEBUG: validity_period: NULL > > 1435336:2016-04-01 17:20:51 [2353]
RE: USSD with Kannel
Hi Elton, Please find below for the logs. 1435309:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x0501) 1435310:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 1 1435311:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_srv_op' 1435312:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x4006) 1435313:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 2 1435314:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_hlr' 1435315:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter tag (0x400c) 1435316:2016-04-01 17:20:51 [2353] [6] DEBUG: Optional parameter length read as 16 1435317:2016-04-01 17:20:51 [2353] [6] DEBUG: Found configured optional parameter `ussd_optional' 1435318:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP[smppUSSD]: Got PDU: 1435319:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU 0x7f41bc01c660 dump: 1435320:2016-04-01 17:20:51 [2353] [6] DEBUG: type_name: deliver_sm 1435321:2016-04-01 17:20:51 [2353] [6] DEBUG: command_id: 5 = 0x0005 1435322:2016-04-01 17:20:51 [2353] [6] DEBUG: command_status: 0 = 0x 1435323:2016-04-01 17:20:51 [2353] [6] DEBUG: sequence_number: 102277 = 0x00018f85 1435324:2016-04-01 17:20:51 [2353] [6] DEBUG: service_type: "USSD" 1435325:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_ton: 1 = 0x0001 1435326:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr_npi: 1 = 0x0001 1435327:2016-04-01 17:20:51 [2353] [6] DEBUG: source_addr: "60" 1435328:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_ton: 0 = 0x 1435329:2016-04-01 17:20:51 [2353] [6] DEBUG: dest_addr_npi: 0 = 0x 1435330:2016-04-01 17:20:51 [2353] [6] DEBUG: destination_addr: NULL 1435331:2016-04-01 17:20:51 [2353] [6] DEBUG: esm_class: 0 = 0x 1435332:2016-04-01 17:20:51 [2353] [6] DEBUG: protocol_id: 0 = 0x 1435333:2016-04-01 17:20:51 [2353] [6] DEBUG: priority_flag: 0 = 0x 1435334:2016-04-01 17:20:51 [2353] [6] DEBUG: schedule_delivery_time: NULL 1435335:2016-04-01 17:20:51 [2353] [6] DEBUG: validity_period: NULL 1435336:2016-04-01 17:20:51 [2353] [6] DEBUG: registered_delivery: 0 = 0x 1435337:2016-04-01 17:20:51 [2353] [6] DEBUG: replace_if_present_flag: 0 = 0x 1435338:2016-04-01 17:20:51 [2353] [6] DEBUG: data_coding: 15 = 0x000f 1435339:2016-04-01 17:20:51 [2353] [6] DEBUG: sm_default_msg_id: 0 = 0x 1435340:2016-04-01 17:20:51 [2353] [6] DEBUG: sm_length: 1 = 0x0001 1435341:2016-04-01 17:20:51 [2353] [6] DEBUG: short_message: "1" 1435342:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_service_op: 1435343:2016-04-01 17:20:51 [2353] [6] DEBUG:Octet string at 0x7f41bc01d010: 1435344:2016-04-01 17:20:51 [2353] [6] DEBUG: len: 1 1435345:2016-04-01 17:20:51 [2353] [6] DEBUG: size: 2 1435346:2016-04-01 17:20:51 [2353] [6] DEBUG: immutable: 0 1435347:2016-04-01 17:20:51 [2353] [6] DEBUG: data: 12 . 1435348:2016-04-01 17:20:51 [2353] [6] DEBUG:Octet string dump ends. 1435349:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_hlr: "60" 1435350:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_optional: "0010015156FE3D42" 1435351:2016-04-01 17:20:51 [2353] [6] DEBUG: ussd_srv_op: 1435352:2016-04-01 17:20:51 [2353] [6] DEBUG:Octet string at 0x7f41bc00d440: 1435353:2016-04-01 17:20:51 [2353] [6] DEBUG: len: 1 1435354:2016-04-01 17:20:51 [2353] [6] DEBUG: size: 2 1435355:2016-04-01 17:20:51 [2353] [6] DEBUG: immutable: 0 1435356:2016-04-01 17:20:51 [2353] [6] DEBUG: data: 12 . 1435357:2016-04-01 17:20:51 [2353] [6] DEBUG:Octet string dump ends. 1435358:2016-04-01 17:20:51 [2353] [6] DEBUG: SMPP PDU dump ends. 1435359:2016-04-01 17:20:51 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. Thank you and Regards, Arif Noor From: Elton Hoxha [mailto:elt...@gmail.com] Sent: Thursday, April 07, 2016 4:15 PM To: Arif Noor Cc: Donald Jackson; users@kannel.org Subject: Re: USSD with Kannel Hello Arif, Please paste here the pdu of deliver SM while pressing Accept or Decline. On Thu, Apr 7, 2016 at 9:54 AM, Arif Noor <md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>> wrote: Hi Donald, Thank you for your reply, we have set up kannel to receive the TLV, just need to know how can I differentiate the sessions. Also as per previous mail, I was wondering why I was getting below error. 2016-03-25 11:05:49 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. It doesn’t have any issue when I start the USSD session which it have destination address (in this case 126) but when replying the menu let’s say (1. A
Re: USSD with Kannel
Hello Arif, Please paste here the pdu of deliver SM while pressing Accept or Decline. On Thu, Apr 7, 2016 at 9:54 AM, Arif Noor <md.a...@forest-interactive.com> wrote: > Hi Donald, > > > > Thank you for your reply, we have set up kannel to receive the TLV, just > need to know how can I differentiate the sessions. > > Also as per previous mail, I was wondering why I was getting below error. > > > > 2016-03-25 11:05:49 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed > destination_addr `(null)', may not be empty. Discarding MO message. > > > > It doesn’t have any issue when I start the USSD session which it have > destination address (in this case 126) but when replying the menu let’s say > (1. Accept, 2. Decline) and I entered 1 and press send , it gave me above > error on smpp thus the application server can’t proceed since it doesn’t > receive any reply / MO. > > > > Any input in this are highly appreciated J. > > > > Thank you, > > Arif Noor. > > > > > > *From:* Donald Jackson [mailto:donaldjs...@gmail.com] > *Sent:* Tuesday, April 05, 2016 12:45 PM > *To:* Arif Noor > *Subject:* RE: USSD with Kannel > > > > Hi Arif, > > > > You will not be able to do this out the box with Kannel, you will need to > make code changes to handle your use case. > > > > Thanks, > > -- > Donald Jackson >
RE: USSD with Kannel
Hi Donald, Thank you for your reply, we have set up kannel to receive the TLV, just need to know how can I differentiate the sessions. Also as per previous mail, I was wondering why I was getting below error. 2016-03-25 11:05:49 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. It doesn’t have any issue when I start the USSD session which it have destination address (in this case 126) but when replying the menu let’s say (1. Accept, 2. Decline) and I entered 1 and press send , it gave me above error on smpp thus the application server can’t proceed since it doesn’t receive any reply / MO. Any input in this are highly appreciated ☺. Thank you, Arif Noor. From: Donald Jackson [mailto:donaldjs...@gmail.com] Sent: Tuesday, April 05, 2016 12:45 PM To: Arif Noor Subject: RE: USSD with Kannel Hi Arif, You will not be able to do this out the box with Kannel, you will need to make code changes to handle your use case. Thanks, -- Donald Jackson
RE: USSD with Kannel
Hi, Anyone? Your assistance are highly appreciated :) P/S : I'm using svn-r5154M Thank you. From: users [mailto:users-boun...@kannel.org] On Behalf Of Arif Noor Sent: Friday, April 01, 2016 11:05 AM To: users@kannel.org Subject: USSD with Kannel Hi All, I have question about the USSD via SMPP. I have successfully made a connection to USSDC with TLV configured. However I do not understand how can we differentiate the session for each MSISDN? Using metadata for MO gave me Hlr, imsi, service_op and vlr. And also from my testing via USSR, I didn't receive any MO and found this in the log. 2016-03-25 11:05:49 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. Kannel Config : group = core admin-port = 13005 smsbox-port = 13007 admin-password = admin #box-deny-ip = "*.*.*.*" ##box-allow-ip = "127.0.0.1" ##unified-prefix = "+358,00358,0;+,00" ##access-log = "/etc/kannel/access.log" ##store-file = "kannel.store" ##ssl-server-cert-file = "cert.pem" ##ssl-server-key-file = "key.pem" ##ssl-certkey-file = "mycertandprivkeyfile.pemi access-log = "/opt/kannel/kannel_dump/smpp_access.log" access-log-format = "[SMSC:%i] [USER:%n] [from:%p] [to:%P] [msg:%L:%b] [FID:%F] [SMS-MID:%I]" #store-file = "/opt/kannel/kannel_dump/smpp.store" store-type = file store-location = "/opt/kannel/kannel_dump/smpp.store" store-dump-freq = 200 sms-resend-freq = 30 sms-resend-retry = 3 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13017 http-request-retry = 2 reply-couldnotfetch = "Please wait" include = "/opt/conf/include/smpp_sms.conf" < - included in attachment Kindly assist. Thank you and Regards, Arif Noor
USSD with Kannel
Hi All, I have question about the USSD via SMPP. I have successfully made a connection to USSDC with TLV configured. However I do not understand how can we differentiate the session for each MSISDN? Using metadata for MO gave me Hlr, imsi, service_op and vlr. And also from my testing via USSR, I didn't receive any MO and found this in the log. 2016-03-25 11:05:49 [2353] [6] ERROR: SMPP[smppUSSD]: Malformed destination_addr `(null)', may not be empty. Discarding MO message. Kannel Config : group = core admin-port = 13005 smsbox-port = 13007 admin-password = admin #box-deny-ip = "*.*.*.*" ##box-allow-ip = "127.0.0.1" ##unified-prefix = "+358,00358,0;+,00" ##access-log = "/etc/kannel/access.log" ##store-file = "kannel.store" ##ssl-server-cert-file = "cert.pem" ##ssl-server-key-file = "key.pem" ##ssl-certkey-file = "mycertandprivkeyfile.pemi access-log = "/opt/kannel/kannel_dump/smpp_access.log" access-log-format = "[SMSC:%i] [USER:%n] [from:%p] [to:%P] [msg:%L:%b] [FID:%F] [SMS-MID:%I]" #store-file = "/opt/kannel/kannel_dump/smpp.store" store-type = file store-location = "/opt/kannel/kannel_dump/smpp.store" store-dump-freq = 200 sms-resend-freq = 30 sms-resend-retry = 3 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13017 http-request-retry = 2 reply-couldnotfetch = "Please wait" include = "/opt/conf/include/smpp_sms.conf" < - included in attachment Kindly assist. Thank you and Regards, Arif Noor
Re: USSD Configuration for Kannel
This effectively is working on SMPP, not USSD. USSD does not talk over SMPP unless loaded explicitly. You can also use flags other than TLV too in that case. On Fri, Aug 15, 2014 at 11:30 AM, Elton Hoxha elt...@gmail.com wrote: It handles. Just needs to be associated with smpp-tlv group. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = ussd On Thu, Aug 14, 2014 at 7:39 PM, ha...@aeon.pk ha...@aeon.pk wrote: Kannel does not handle USSD. On Fri, Aug 8, 2014 at 8:11 PM, michael osakede ire...@yahoo.com wrote: Hello, Can anyone send me instructions on how to bind to a USSDC? I have the IP / username/password and port number. I tried connecting to using : group = smsc smsc-id = ussdpre smsc = smpp host = XX.XX.XX.XX port = XXX smsc-username = XX smsc-password = XX system-type = keepalive = 50 allowed-smsc-id = ussdpre transceiver-mode = true msg-id-type = 0x00 throughput = 30 max-pending-submits = 10 wait-ack = 600 I get this error: 2014-08-08 16:01:58 [15951] [6] ERROR: Error reading from fd 52: 2014-08-08 16:01:58 [15951] [6] ERROR: System error 104: Connection reset by peer 2014-08-08 16:01:58 [15951] [6] ERROR: SMPP[ussdpre]: Couldn't connect to SMS center (retrying in 10 seconds). 2014-08-08 16:02:08 [15951] [6] DEBUG: Connecting to XX.XX.XX.XX Is it possible to handle USSD using kannel? Michael
Re: USSD Configuration for Kannel
It handles. Just needs to be associated with smpp-tlv group. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = ussd On Thu, Aug 14, 2014 at 7:39 PM, ha...@aeon.pk ha...@aeon.pk wrote: Kannel does not handle USSD. On Fri, Aug 8, 2014 at 8:11 PM, michael osakede ire...@yahoo.com wrote: Hello, Can anyone send me instructions on how to bind to a USSDC? I have the IP / username/password and port number. I tried connecting to using : group = smsc smsc-id = ussdpre smsc = smpp host = XX.XX.XX.XX port = XXX smsc-username = XX smsc-password = XX system-type = keepalive = 50 allowed-smsc-id = ussdpre transceiver-mode = true msg-id-type = 0x00 throughput = 30 max-pending-submits = 10 wait-ack = 600 I get this error: 2014-08-08 16:01:58 [15951] [6] ERROR: Error reading from fd 52: 2014-08-08 16:01:58 [15951] [6] ERROR: System error 104: Connection reset by peer 2014-08-08 16:01:58 [15951] [6] ERROR: SMPP[ussdpre]: Couldn't connect to SMS center (retrying in 10 seconds). 2014-08-08 16:02:08 [15951] [6] DEBUG: Connecting to XX.XX.XX.XX Is it possible to handle USSD using kannel? Michael
Re: USSD Configuration for Kannel
Kannel does not handle USSD. On Fri, Aug 8, 2014 at 8:11 PM, michael osakede ire...@yahoo.com wrote: Hello, Can anyone send me instructions on how to bind to a USSDC? I have the IP / username/password and port number. I tried connecting to using : group = smsc smsc-id = ussdpre smsc = smpp host = XX.XX.XX.XX port = XXX smsc-username = XX smsc-password = XX system-type = keepalive = 50 allowed-smsc-id = ussdpre transceiver-mode = true msg-id-type = 0x00 throughput = 30 max-pending-submits = 10 wait-ack = 600 I get this error: 2014-08-08 16:01:58 [15951] [6] ERROR: Error reading from fd 52: 2014-08-08 16:01:58 [15951] [6] ERROR: System error 104: Connection reset by peer 2014-08-08 16:01:58 [15951] [6] ERROR: SMPP[ussdpre]: Couldn't connect to SMS center (retrying in 10 seconds). 2014-08-08 16:02:08 [15951] [6] DEBUG: Connecting to XX.XX.XX.XX Is it possible to handle USSD using kannel? Michael
USSD Configuration for Kannel
Hello, Can anyone send me instructions on how to bind to a USSDC? I have the IP / username/password and port number. I tried connecting to using : group = smsc smsc-id = ussdpre smsc = smpp host = XX.XX.XX.XX port = XXX smsc-username = XX smsc-password = XX system-type = keepalive = 50 allowed-smsc-id = ussdpre transceiver-mode = true msg-id-type = 0x00 throughput = 30 max-pending-submits = 10 wait-ack = 600 I get this error: 2014-08-08 16:01:58 [15951] [6] ERROR: Error reading from fd 52: 2014-08-08 16:01:58 [15951] [6] ERROR: System error 104: Connection reset by peer 2014-08-08 16:01:58 [15951] [6] ERROR: SMPP[ussdpre]: Couldn't connect to SMS center (retrying in 10 seconds). 2014-08-08 16:02:08 [15951] [6] DEBUG: Connecting to XX.XX.XX.XX Is it possible to handle USSD using kannel? Michael
USSD Interactive Session using metadata.
Hi, I m using kannel latest svn trunk and want to use kannel for ussd interactive sessions. Can anybody tell me how to proceed for the same. Thanks in advance Regards Prabin Tipathi
Re: USSD Interactive Session using metadata.
You can search on the mailing list the older posts and you will find information how to configure SMPP connection with Metadata and TLV. On Thu, Sep 26, 2013 at 9:23 AM, प्रवीण कुमार त्रिपाठी trpthp...@gmail.comwrote: Hi, I m using kannel latest svn trunk and want to use kannel for ussd interactive sessions. Can anybody tell me how to proceed for the same. Thanks in advance Regards Prabin Tipathi
Re: ussd gateway
Hi Amon, Did you get this? Thanks, Duncan -- View this message in context: http://kannel.6189.n7.nabble.com/ussd-gateway-tp2743p28560.html Sent from the Kannel - User mailing list archive at Nabble.com.
USSD session attached to a particular sms-service/get-url
Hi People, I have configured kannel to connecto to 2 different ussd gateway, I also have configured kannel to have 2 sms-service with 2 different urls. I want to know if it's possible to make kannel aware of the concept of ussd sessions so that when a new ussd session is established (when kannel receives one pdu with a particular ussd_service_op), then it will deliver subsequent pdus asociated with that same ussd session to the same sms-service get-url. Is that possible ? How you guys work when you need to have load balancing your ussd applications ? Kind regards and thanks for the support. -- David Hofmann ADVERTENCIA LEGAL Le informamos, como destinatario de este mensaje, que el contenido del correo electr?nico enviado desde esta cuenta no representa necesariamente la opini?n de las empresas conformantes del Grupo Millicom en Paraguay, ni del Grupo Millicom mismo, por lo que ninguna de ?stas asumen responsabilidad alguna por el mismo, ni en cuanto a su contenido, ni en cuanto a su veracidad, ni en cuanto a su integridad, ni por la circunstancia de que la misma vulnere o sea susceptible de vulnerar la confidencialidad de la informaci?n transmitida. Si no consintiese en la utilizaci?n del correo electr?nico o de las comunicaciones v?a internet, le rogamos nos lo comunique y ponga en nuestro conocimiento de manera inmediata. Este mensaje va dirigido de manera exclusiva a su destinatario, y contiene informaci?n confidencial cuya divulgaci?n no est? permitida por la ley. En caso de haber recibido este mensaje por error, le rogamos que de forma inmediata nos lo comunique mediante correo electr?nico remitido a nuestra atenci?n o a trav?s del tel?fono (+ 595 21) 618 9000, y proceda a su eliminaci?n, as? como a a la eliminaci?n de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribuci?n, copia o utilizaci?n de este mensaje o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, constituyen conductas prohibidas por la ley
Re: Configure Kannel with USSD
Hi Jayesh, The failures may not be local to your configuration or connection; you'll have to let us know what failed. USSD relies more on network infrastructure than SMS and is subject to a whole different set of rules at the operators side. Are you saying that every 6th Attempt hits the phone or every 6th attempt gets to leave kannel to your operator? If the later, you may have to tell us the error as displayed in the log, if the former; the best person to ask what's up is your provider. Best Regards, Michael C. Nwaogu From: Jayesh Labade jayesh.lab...@gmail.com To: kannel users users@kannel.org Sent: Friday, December 14, 2012 12:58 PM Subject: Re: Configure Kannel with USSD I am getting USSN message after every 6th attempt of URL hit, so my 5 attempts are useless. I am not able to figure out who is actual culprit. Any Idea? This is my URL.. http://192.168.1.195:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=MYNUMBERtext=hello Best Regards, Jayesh On Fri, Dec 14, 2012 at 3:00 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: How to solve this. sometimes USSD request works well and sometimes not, Please guide.. Best Regards, Jayesh On Fri, Dec 14, 2012 at 2:56 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. for reference I have pasted my smskannel.conf file in pastebin. http://pastebin.com/gkUz7Jh9 Best Regards, Jayesh On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, Jayesh On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, Jayesh On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, Jayesh On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.com wrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello; Please help me. Best Regards, Jayesh On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, Jayesh -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, Jayesh On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote: My kannel bind with smsc through SMPP successfully but still i am not able to send
Re: Configure Kannel with USSD
Like I said, the operator may not have the network capacity to handle that many USSD attempts, every USSD connection is like a call, and the line is engaged till the session ends, expires or is terminated. I think you can safely say, KANNEL has done its own part, and so have you. Best Regards, Michael C. Nwaogu From: Jayesh Labade jayesh.lab...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com Cc: kannel users users@kannel.org Sent: Friday, December 14, 2012 1:56 PM Subject: Re: Configure Kannel with USSD Yeah Mike, Every 6th Attempt hits the phone. And there is not any error messages in /tmp/kannel.log I have pasted my kannel logs here http://pastebin.com/Mkh0pTK0 Best Regards, Jayesh On Fri, Dec 14, 2012 at 6:10 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote: every 6th Attempt hits the phone
Re: Configure Kannel with USSD
Hello List, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. for reference I have pasted my smskannel.conf file in pastebin. http://pastebin.com/gkUz7Jh9 Best Regards, *Jayesh* On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, *Jayesh * On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.comwrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, *Jayesh * On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, *Jayesh* On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.comwrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello Please help me. Best Regards, *Jayesh* On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, *Jayesh* -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 Best Regards, *Jayesh Labade* Mob: +91-8898378838 e-mail: jayesh.lab...@gmail.com On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, *Jayesh * On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.comwrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, *Jayesh * On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, *Jayesh* On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.comwrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword
Re: Configure Kannel with USSD
How to solve this. sometimes USSD request works well and sometimes not, Please guide.. Best Regards, *Jayesh* On Fri, Dec 14, 2012 at 2:56 PM, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. for reference I have pasted my smskannel.conf file in pastebin. http://pastebin.com/gkUz7Jh9 Best Regards, *Jayesh* On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, *Jayesh * On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.comwrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, *Jayesh * On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, *Jayesh* On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.comwrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello Please help me. Best Regards, *Jayesh* On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, *Jayesh* -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, *Jayesh * On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.comwrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, *Jayesh * On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, *Jayesh* On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.comwrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from
Re: Configure Kannel with USSD
Hi Jayesh, The failures may not be local to your configuration or connection; you'll have to let us know what failed. USSD relies more on network infrastructure than SMS and is subject to a whole different set of rules at the operators side. Are you saying that every 6th Attempt hits the phone or every 6th attempt gets to leave kannel to your operator? If the later, you may have to tell us the error as displayed in the log, if the former; the best person to ask what's up is your provider. Best Regards, Michael C. Nwaogu From: Jayesh Labade jayesh.lab...@gmail.com To: kannel users users@kannel.org Sent: Friday, December 14, 2012 12:58 PM Subject: Re: Configure Kannel with USSD I am getting USSN message after every 6th attempt of URL hit, so my 5 attempts are useless. I am not able to figure out who is actual culprit. Any Idea? This is my URL.. http://192.168.1.195:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=MYNUMBERtext=hello Best Regards, Jayesh On Fri, Dec 14, 2012 at 3:00 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: How to solve this. sometimes USSD request works well and sometimes not, Please guide.. Best Regards, Jayesh On Fri, Dec 14, 2012 at 2:56 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. for reference I have pasted my smskannel.conf file in pastebin. http://pastebin.com/gkUz7Jh9 Best Regards, Jayesh On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, Jayesh On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote: My kannel bind with smsc through SMPP successfully but still i am not able to send USSN Best Regards, Jayesh On Thu, Dec 13, 2012 at 1:13 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, My USSD provider gave me his SMPP details and he has also lot of customer who are using his USSD services. What should be the configuration of smskannel.conf file in order to send USSD message.. am i missing something? I can post my smskannel.conf if required.. Best Regards, Jayesh On Thu, Dec 13, 2012 at 12:28 PM, Alex Nyika nomu...@gmail.com wrote: Hi Jayesh, I think you need to read up more on USSD and understand the clear difference between USSD and SMS. Although SMS integration is almost universal for most Mobile network operators , USSD integration is very varied. It also can use soap/ xml requests and not smpp like sms. On 13 December 2012 08:47, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello; Please help me. Best Regards, Jayesh On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, Jayesh -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 -- Kind regards, Alex Nyika Omuyonga skype: alex.nyika +256758116116 On Fri, Dec 14, 2012 at 11:59 AM, Alex Nyika nomu...@gmail.com wrote: Jayesh, Great. Please always copy to the list. In that way you get quick help from the community. On 14 December 2012 08:58, Jayesh Labade jayesh.lab...@gmail.com wrote: Hello Alex, Its working now but success rate is very low. out of 10 request made I got only 1 USSN message on my mobile. SMPP allotted 1 TPS rate for my account and I am making only one request at time. Regards, Jayesh On Thu, Dec 13, 2012 at 4:44 PM, Alex Nyika nomu...@gmail.com wrote: http://www.kannel.org/pipermail/users/2011-April/015351.html I hope it helps On 13 December 2012 12:56, Jayesh Labade jayesh.lab...@gmail.com wrote: My kannel bind with smsc through SMPP successfully but still i am not able to send
Re: Configure Kannel with USSD
Yeah Mike, Every 6th Attempt hits the phone. And there is not any error messages in /tmp/kannel.log I have pasted my kannel logs here http://pastebin.com/Mkh0pTK0 Best Regards, *Jayesh * On Fri, Dec 14, 2012 at 6:10 PM, Mike Nwaogu michael_nwa...@yahoo.comwrote: every 6th Attempt hits the phone
Re: Configure Kannel with USSD
Hello List, I am trying to setup SMPP details provided my USSD provider. And USSD provider says that I have successfully registered SMPP details in kannel but I am not able to send USSD message. This is the URL from which I am trying to send USSD message.. elinks http://127.0.0.1:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=11087to=mynumbertext=hello Please help me. Best Regards, *Jayesh* On Tue, Dec 11, 2012 at 12:30 PM, Jayesh Labade jayesh.lab...@gmail.comwrote: Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, *Jayesh*
Configure Kannel with USSD
Hello List, Can Someone provide me step by step guide to configure USSD with kannel via SMPP. any help would be greatly appreciated. Best Regards, *Jayesh*
How to configure ussd
Hello List, Can someone guide me in setting up a ussd account tlv and other required values with sendsms url parameter. The menu should support multi session with response enabled. -- Regards, Ashish
Re: about USSD;
Towards the GSM network? No. You can howeve use it to run USSD apps, if there is an existing USSD gateway in the GSM network, to whom you can integrate kannel. On Tue, Jul 24, 2012 at 10:40 AM, Vijay kumar Dadhich vk1dadh...@gmail.comwrote: Hello Friends, can we use kannel as USSD gateway ? -- Thanks Regards, -Vijay Kumar Dadhich Entrepreneur
about USSD;
Hello Friends, can we use kannel as USSD gateway ? -- Thanks Regards, -Vijay Kumar Dadhich Entrepreneur
Re: WAP push message over USSD
Hello Willy, USSD feature for sending normal message is already present in Kannel. I want to push WAP message over USSD as we used push over normal SMS. On Thu, May 17, 2012 at 7:11 PM, Willy Mularto sangpr...@gmail.com wrote: Is this Kannel's new feature? I read the user guide and found no information regarding this thing. AFAIK USSD is telco's territory, based on common practice, usually telco provide us some API. Here in Indonesia USSD final instruction will hit some URL and or simulate MO. On May 17, 2012, at 7:28 PM, GSM Revolution wrote: Hi, Please provide some idea how to send WAP push message over USSD. Thanks in advance.. Regards Rk Willy Mularto F300HD+MR18DE (NLC1725)
WAP push message over USSD
Hi, Please provide some idea how to send WAP push message over USSD. Thanks in advance.. Regards Rk
Re: WAP push message over USSD
Is this Kannel's new feature? I read the user guide and found no information regarding this thing. AFAIK USSD is telco's territory, based on common practice, usually telco provide us some API. Here in Indonesia USSD final instruction will hit some URL and or simulate MO. On May 17, 2012, at 7:28 PM, GSM Revolution wrote: Hi, Please provide some idea how to send WAP push message over USSD. Thanks in advance.. Regards Rk Willy Mularto F300HD+MR18DE (NLC1725)
Kannel USSD
does kannel support USSD
Re: Kannel USSD
I have seen some people talk about this possibility, however from my experience, Every mobile network operator has their own different api for USSD, unlike sms which uses the smpp protocol that Kannel supports. So what I usually do is to approach the operator , get their API and then implement. On 2 March 2012 08:49, Vinayak Vasu vinayak...@artzsource.in wrote: does kannel support USSD -- Best regards, Alex Nyika skype: nyika.alex
Re: kannel SMPP and USSD
Hi Ahmed, I have tried to implement USSD service using Kannel. At least some simple USSD dialogue was working well on test. On other side it was Canvas USSD-C connected via SMPP v3.4. However for production I have switched to own SMPP-client that also managed USSD sessions. So I can't tell about any serious experience with Kannel as USSD-GW. -- Regards, Michael Bochkaryov www.rattler.kiev.ua 12/29/2011 11:51 AM, Ahmed Shabana wrote: Did any one worked before with USSD in kannel ?? Best Regards, * * *Ahmed Shabana * *From:*users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On Behalf Of *Anshu Sah *Sent:* Tuesday, December 27, 2011 9:08 AM *To:* users; Platinum 2010; Nikos Balkanas *Subject:* kannel SMPP and USSD Hi, I would like to understand more about USSD and Kannel. Will you guide me. Regards Anshu Sah
RE: kannel SMPP and USSD
Did any one worked before with USSD in kannel ?? Best Regards, Ahmed Shabana From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Anshu Sah Sent: Tuesday, December 27, 2011 9:08 AM To: users; Platinum 2010; Nikos Balkanas Subject: kannel SMPP and USSD Hi, I would like to understand more about USSD and Kannel. Will you guide me. Regards Anshu Sah
kannel SMPP and USSD
Hi, I would like to understand more about USSD and Kannel. Will you guide me. Regards Anshu Sah
Re: Network initiated USSD
Hi, USSD is a service that uses MAP protocol since its with HLR. You need connectiviity with HLR to recieve USSD messages. I dont think Kannel has anything relevant for USSD. Regards, Hammad Flexilogix Inc On Mon, Jun 13, 2011 at 10:43 PM, Jinson Abraham jin...@mobme.in wrote: Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. *Thanks Regards*** *Jinson * ** -- Disclaimer: This transmission (including any attachments) may contain confidential information, privileged material or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system.
Re: Network initiated USSD
Hi, some operators use SMPP as a transport for USSD messages but it's operator-specific Regards On 14/06/2011 16:27, Hammad wrote: Hi, USSD is a service that uses MAP protocol since its with HLR. You need connectiviity with HLR to recieve USSD messages. I dont think Kannel has anything relevant for USSD. Regards, Hammad Flexilogix Inc On Mon, Jun 13, 2011 at 10:43 PM, Jinson Abraham jin...@mobme.in mailto:jin...@mobme.in wrote: Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in mailto:jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. /Thanks Regards/** *Jinson * ** -- Disclaimer: This transmission (including any attachments) may contain confidential information, privileged material or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system.
Re: Network initiated USSD
Most of operators provide SMPP interface to their USSD GW. All you need to do is to contact them and provide smpp account. Also some of them can provide even web service. Meanwhile you can google about other alternatives. There are some providers which can give you API to send international USSD messages. On Tue, Jun 14, 2011 at 5:38 PM, Cezary Siwek cza...@thebestisp.co.ukwrote: Hi, some operators use SMPP as a transport for USSD messages but it's operator-specific Regards On 14/06/2011 16:27, Hammad wrote: Hi, USSD is a service that uses MAP protocol since its with HLR. You need connectiviity with HLR to recieve USSD messages. I dont think Kannel has anything relevant for USSD. Regards, Hammad Flexilogix Inc On Mon, Jun 13, 2011 at 10:43 PM, Jinson Abraham jin...@mobme.inmailto: jin...@mobme.in wrote: Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in mailto:jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. /Thanks Regards/** *Jinson * ** -- Disclaimer: This transmission (including any attachments) may contain confidential information, privileged material or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system.
Network initiated USSD
Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. *Thanks Regards*** *Jinson * **
Re: Network initiated USSD
Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. *Thanks Regards*** *Jinson * **
Re: Network initiated USSD
GSM Networks usually have specific API's for USSD connections. I would advise you get in touch with the concerned networks over this matter. On 6/13/11, Jinson Abraham jin...@mobme.in wrote: Can somebody help me with this? ** On Mon, Jun 13, 2011 at 12:08 PM, Jinson Abraham jin...@mobme.in wrote: Hello All, Is it possible to send Network Initiated USSD messages from Kannel? I'm trying to develop a USSD app which sends NI USSD messages and get the user response and respond accordingly. *Thanks Regards*** *Jinson * ** -- The Scientist explores what is, the Engineer creates what has never been. Theodore von Karman
Re: Ussd development with kannel
hi... Please cross check the following thing:- 1) Bind the account which you get from the operator end with NOWSMS and test it. 2) Also check the receiver bind at your kannel.
USSD With Kannel
Hiii, I have received the gateway from my operator. We have successfully pushed the ussd message to the handset. The only problem is that when i give the value 2 to service_op then i don't get the *answer* option in my handset. According to my knowledge, value 2 in service_op stands for USSN request, right? I have tried various values in service_op but with no avail. I am still not getting the *answer* option in the handset. What am i missing. The Bind mode of the account that the operator has given me is Tx. The url that i m hitting is:- http:// ***.***.***.***:***/cgi-bin/sendsms?username=**password=from=***to=smsc=text=**metadata=smpp_service_op=*its_session_info=**
Re: Ussd development with kannel
Hiii, I have received the gateway from my operator. We have successfully pushed the ussd message to the handset. The only problem is that when i give the value 2 to service_op then i don't get the *answer* option in my handset. According to my knowledge, value 2 in service_op stands for USSN request, right? I have tried various values in service_op but with no avail. I am still not getting the *answer* option in the handset. What am i missing. The Bind mode of the account that the operator has given me is Tx. The url that i m hitting is:- http:// ***.***.***.***:***/cgi-bin/sendsms?username=**password=from=***to=smsc=text=**metadata=smpp_service_op=*its_session_info=** 2011/3/15 gautam sasikumar gautam...@gmail.com Thank you.. 2011/3/15 Elton Hoxha elt...@gmail.com Download and install recent version, no patch is needed. 2011/3/15 gautam sasikumar gautam...@gmail.com H, Does this mean that kannel doesn't need a patch for USSD.??? 2011/3/15 Elton Hoxha elt...@gmail.com Its better to upgrade your kannel with latest version. After it, add to your conf file following lines, so you can talk to your USSDC. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = YourID After successfull binding, the following line within sms-service section, is an example of receiving MO USSD requests, sending all needed parameters to your application. get-url = http://IP:PORT /UssdServices.asmx/GetUssdRequest?metadata=%Doriginator=%pchoice=%areceiver=%PussdId=%I You can read the user guide about explanation of these parameters. 2011/3/15 gautam sasikumar gautam...@gmail.com h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. %2B48%2079%2069%200%2069%2079+48 79 69 0 69 79
Re: Ussd development with kannel
h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: Ussd development with kannel
Its better to upgrade your kannel with latest version. After it, add to your conf file following lines, so you can talk to your USSDC. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = YourID After successfull binding, the following line within sms-service section, is an example of receiving MO USSD requests, sending all needed parameters to your application. get-url = http://IP:PORT /UssdServices.asmx/GetUssdRequest?metadata=%Doriginator=%pchoice=%areceiver=%PussdId=%I You can read the user guide about explanation of these parameters. 2011/3/15 gautam sasikumar gautam...@gmail.com h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: Ussd development with kannel
H, Does this mean that kannel doesn't need a patch for USSD.??? 2011/3/15 Elton Hoxha elt...@gmail.com Its better to upgrade your kannel with latest version. After it, add to your conf file following lines, so you can talk to your USSDC. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = YourID After successfull binding, the following line within sms-service section, is an example of receiving MO USSD requests, sending all needed parameters to your application. get-url = http://IP:PORT /UssdServices.asmx/GetUssdRequest?metadata=%Doriginator=%pchoice=%areceiver=%PussdId=%I You can read the user guide about explanation of these parameters. 2011/3/15 gautam sasikumar gautam...@gmail.com h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: Ussd development with kannel
Download and install recent version, no patch is needed. 2011/3/15 gautam sasikumar gautam...@gmail.com H, Does this mean that kannel doesn't need a patch for USSD.??? 2011/3/15 Elton Hoxha elt...@gmail.com Its better to upgrade your kannel with latest version. After it, add to your conf file following lines, so you can talk to your USSDC. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = YourID After successfull binding, the following line within sms-service section, is an example of receiving MO USSD requests, sending all needed parameters to your application. get-url = http://IP:PORT /UssdServices.asmx/GetUssdRequest?metadata=%Doriginator=%pchoice=%areceiver=%PussdId=%I You can read the user guide about explanation of these parameters. 2011/3/15 gautam sasikumar gautam...@gmail.com h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. %2B48%2079%2069%200%2069%2079+48 79 69 0 69 79
Re: Ussd development with kannel
Thank you.. 2011/3/15 Elton Hoxha elt...@gmail.com Download and install recent version, no patch is needed. 2011/3/15 gautam sasikumar gautam...@gmail.com H, Does this mean that kannel doesn't need a patch for USSD.??? 2011/3/15 Elton Hoxha elt...@gmail.com Its better to upgrade your kannel with latest version. After it, add to your conf file following lines, so you can talk to your USSDC. group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = YourID After successfull binding, the following line within sms-service section, is an example of receiving MO USSD requests, sending all needed parameters to your application. get-url = http://IP:PORT /UssdServices.asmx/GetUssdRequest?metadata=%Doriginator=%pchoice=%areceiver=%PussdId=%I You can read the user guide about explanation of these parameters. 2011/3/15 gautam sasikumar gautam...@gmail.com h, I have an operator who is forwarding the request from his USSD to my server in smpp protocol. I was wondering about how am i to catch that request in kannel and forward it to my application. Will i be able to get the parameters like the mmi that the user sent, Any input that the user gives( Like 1 for sports, 2 for News etc), the session id of that particular session in the TLV parameters of the kannel or will i get all these parameters in the text of the message. 2011/3/14 Marcin Bockowski boc...@gmail.com 2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. %2B48%2079%2069%200%2069%2079+48 79 69 0 69 79
Ussd development with kannel
Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Thanks and Regards, Gautam Sasikumar.
Re: Ussd development with kannel
2011/3/14 gautam sasikumar gautam...@gmail.com: Hiii, I am developing USSD application which is at a basic stage. I was looking for a patch for USSD in kannel version 1.4.3. I have searched the whole web but in vain. I have three basic questions. 1 Does Kannel require a patch for implementing ussd?? 2 If Kannel does require a patch, then where can i find a patch? 3 What parameters do i have set in kannel to avail ussd facilities. Hey, it all depends on your USSDC provider and supported protocols... Kannel may be used as HTTP to SMPP gateway in some case. Kind Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
USSD REQUEST
Hii, How to configure Kannel to send/receive USSD request?
Re: USSD REQUEST
2011/1/4 Ravindra Gupta // Viva ravin...@vivainfomedia.com: Hii, How to configure Kannel to send/receive USSD request? Hello, 1. You need SMPP capable USSDC 2. configured kannel 3. web app with logic We do offer reliable 2. 3. services configured to work with 1. from Huawei. Both USSD strings and menus are possible. Kind regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
How to configure Kannel to send/receive USSD request?
How to configure Kannel to send/receive USSD request?ANy guide or pointer vailable for the same?
Re: USSD and shortCode programming
Hi Thanks, for the reply. I found an open source smslib which cn do the things pretty smart. Br daf Marcin Bockowski wrote: 2010/10/13 dafodil neo.tu...@yahoo.com: Hi marcin thanks for the reply. yes i know about AT commands but can kannel automate this things. in other words if i want to send AT commands(ussd) through modem..does kannel help? Hey, if it's not in the box you should be able to add such feature with ease. The main question is this the way to go? You can use kannel as USSD Gateway having link to MNO... But if you just need to automate things via modem it's prolly better to use simple python / perl script to trigger AT commands. gl hf ;-) -- Marcin Boćkowski http://www.ktosiu.com tel. +48 79 69 0 69 79 -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29959492.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Hello Milan, MPS Kannel doesn't support sending out of band AT command to modem, AFAIK. MPS But that question gave me idea to implement it through the HTTP admin MPS interface or maybe through the separate interface, although I'm not MPS sure how much it would be useful. If you consider writing something like that, you might want to have a look at mbuni. There are some setups where you wannna use a GSM/GPRS Device for sending MMS where you need to apply scripting to take mbuni down and start up kannel to talk to the modem (MMS is a 2 part proces, where you technically send a wap push and then provide the content over GPRS). If we had an universal 'modem sharing daemon' this kind of stuff all becomes much easier. -- Best regards, Thomasmailto:tho...@ist.schuldig.de
Re: USSD and shortCode programming
Hi marcin thanks for the reply. yes i know about AT commands but can kannel automate this things. in other words if i want to send AT commands(ussd) through modem..does kannel help? Br daf Marcin Bockowski wrote: 2010/10/12 dafodil neo.tu...@yahoo.com: about sending USSD strings from the modem...it wd help me if u give me a pointer other wise no problem ..u really did a lot tome me. AT+CUSD FTW! ;-) -- Marcin Boćkowski http://www.ktosiu.com tel. +48 79 69 0 69 79 -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29950480.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
On Wed, 2010-10-13 at 01:12, dafodil wrote: Hi marcin thanks for the reply. yes i know about AT commands but can kannel automate this things. in other words if i want to send AT commands(ussd) through modem..does kannel help? Kannel doesn't support sending out of band AT command to modem, AFAIK. But that question gave me idea to implement it through the HTTP admin interface or maybe through the separate interface, although I'm not sure how much it would be useful. Marcin Bockowski wrote: 2010/10/12 dafodil neo.tu...@yahoo.com: about sending USSD strings from the modem...it wd help me if u give me a pointer other wise no problem ..u really did a lot tome me. AT+CUSD FTW! ;-) View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29950480.html Sent from the Kannel - User mailing list archive at Nabble.com. -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code.
Re: USSD and shortCode programming
2010/10/13 dafodil neo.tu...@yahoo.com: Hi marcin thanks for the reply. yes i know about AT commands but can kannel automate this things. in other words if i want to send AT commands(ussd) through modem..does kannel help? Hey, if it's not in the box you should be able to add such feature with ease. The main question is this the way to go? You can use kannel as USSD Gateway having link to MNO... But if you just need to automate things via modem it's prolly better to use simple python / perl script to trigger AT commands. gl hf ;-) -- Marcin Boćkowski http://www.ktosiu.com tel. +48 79 69 0 69 79
Re: USSD and shortCode programming
It is needed to agree with mobile operators to assign a smpp account for you in order to connect to their USSDC. After that you can start developing Menu and services. I`m not aware if there are global USSD providers that provide HTTP API, for example like Clickatell who does the same for SMS channel. On Tue, Oct 12, 2010 at 7:57 AM, dafodil neo.tu...@yahoo.com wrote: Hi elthox, thanks for ur time. what i need to have for ussd or short code exchage apart from kannel. can u pls give me some pointer on that. Br daf elthox wrote: I think you dont have the needed infrastructure for developing USSD application. Kannel needs to connect to USSDC through SMPP. In your case you are using modem which is not relevant in this case. On Mon, Oct 11, 2010 at 11:06 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29932255.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29940428.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Hi Thanks for ur detail answer. basically i m trying to experiment on how to transfer credit from one mobile to another or simillar activities. what is need for this?if i have understood correctly need to send sms to shortcode or ussd.so in that case i dont need any menu driven ussd.just exchange of ussd strings.Lets say i will have a system where i will have a gsm modem with sim having enough balance.so friends send sms to my sim and get credits. like they would send to:my shortcode number from :thier number amount:some dollars so my sim is a sim that can process ussd commands. i hope i did create any confusion or misleaded you with the example. Br daf elthox wrote: It is needed to agree with mobile operators to assign a smpp account for you in order to connect to their USSDC. After that you can start developing Menu and services. I`m not aware if there are global USSD providers that provide HTTP API, for example like Clickatell who does the same for SMS channel. On Tue, Oct 12, 2010 at 7:57 AM, dafodil neo.tu...@yahoo.com wrote: Hi elthox, thanks for ur time. what i need to have for ussd or short code exchage apart from kannel. can u pls give me some pointer on that. Br daf elthox wrote: I think you dont have the needed infrastructure for developing USSD application. Kannel needs to connect to USSDC through SMPP. In your case you are using modem which is not relevant in this case. On Mon, Oct 11, 2010 at 11:06 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29932255.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29940428.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29940854.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Hi I really got a very clear idea and now understand in simple form how it should work. I can not explain my happiness about ur explanation but u r a genius. about sending USSD strings from the modem...it wd help me if u give me a pointer other wise no problem ..u really did a lot tome me. Br Daf elthox wrote: Then your modem will work as proxy. Following your example, your friends will send an sms to your Modem number. I suppose the operator you are attached to, provides this basic service of Credit Transfer through SMS, lets say send MSISDN amount to . All you have to do is to build your logic after you receive the sms in your modem. Keep the originator coming from MO message, compose the message with the proper keywordDestination(MoneyReceiver)amount and send it to the proper shortcode of operator. About performing the same action through USSD, the standard formatshould be something like this; *111*MSISDN*AMOUNT# Other guys in the forum may help you how you can initiate USSD strings from the modem, if it is possible. Elton On Tue, Oct 12, 2010 at 9:32 AM, dafodil neo.tu...@yahoo.com wrote: Hi Thanks for ur detail answer. basically i m trying to experiment on how to transfer credit from one mobile to another or simillar activities. what is need for this?if i have understood correctly need to send sms to shortcode or ussd.so in that case i dont need any menu driven ussd.just exchange of ussd strings.Lets say i will have a system where i will have a gsm modem with sim having enough balance.so friends send sms to my sim and get credits. like they would send to:my shortcode number from :thier number amount:some dollars so my sim is a sim that can process ussd commands. i hope i did create any confusion or misleaded you with the example. Br daf elthox wrote: It is needed to agree with mobile operators to assign a smpp account for you in order to connect to their USSDC. After that you can start developing Menu and services. I`m not aware if there are global USSD providers that provide HTTP API, for example like Clickatell who does the same for SMS channel. On Tue, Oct 12, 2010 at 7:57 AM, dafodil neo.tu...@yahoo.com wrote: Hi elthox, thanks for ur time. what i need to have for ussd or short code exchage apart from kannel. can u pls give me some pointer on that. Br daf elthox wrote: I think you dont have the needed infrastructure for developing USSD application. Kannel needs to connect to USSDC through SMPP. In your case you are using modem which is not relevant in this case. On Mon, Oct 11, 2010 at 11:06 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send
Re: USSD and shortCode programming
2010/10/12 dafodil neo.tu...@yahoo.com: about sending USSD strings from the modem...it wd help me if u give me a pointer other wise no problem ..u really did a lot tome me. AT+CUSD FTW! ;-) -- Marcin Boćkowski http://www.ktosiu.com tel. +48 79 69 0 69 79
USSD and shortCode programming
Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29932255.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
I think you dont have the needed infrastructure for developing USSD application. Kannel needs to connect to USSDC through SMPP. In your case you are using modem which is not relevant in this case. On Mon, Oct 11, 2010 at 11:06 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29932255.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: USSD and shortCode programming
Hi elthox, thanks for ur time. what i need to have for ussd or short code exchage apart from kannel. can u pls give me some pointer on that. Br daf elthox wrote: I think you dont have the needed infrastructure for developing USSD application. Kannel needs to connect to USSDC through SMPP. In your case you are using modem which is not relevant in this case. On Mon, Oct 11, 2010 at 11:06 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the detail.MSISDN helps for correlation. Let me know if i m not misleading u. I am on my pc connected to modem and kannel is up and running. i wan to to initiate USSD. can it be over GSM(using my gsm modem and not GPRS/internet) or it can be only over HTTP/GPRS. can u pls give a sample configuration and url how this can be done. Thanks a lot. Br Daf elthox wrote: You stated yourself in the first post. USSD is based on sessions. So these sessions should be managed by application until network (time out, usually 3 or 5 minutes) or user releases it (when he/she interrupts the dialog). For every initial incoming/outgoing request, originated by subscriber (or vice versa), you assign a session id coorelated with MSISDN (compound key). Then u can use this key to identify the respective session until subscriber finalizes the dialog. Elton On Mon, Oct 11, 2010 at 9:53 AM, dafodil neo.tu...@yahoo.com wrote: Thanks for the reply. can u explain on this All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. thanks once agian for ur time. Br daf elthox wrote: Hi, No need to to submit any patch for USSD. Configuring ussd_service_op is just enough. Then you should take care of the sessions, for which kannel is not responsible. All that should be done in application side, differentiating the sessions while users access the ussd application in paralel. You can check older posts related to configuration and how to send USSR/USSN. Regards elton On Mon, Oct 11, 2010 at 9:11 AM, dafodil neo.tu...@yahoo.com wrote: Hi List, I understand that sms is through store/foreward where as ussd is session based.is it possible to send ussd and sms to short code through kannel.i have browsed many archives where people have submitted patches so that kannel can send ussd.so far my understaning is concerned. To send USSD data we have to use a TLV parameter ussd_service_op. is it possible to do that.any pointer on shortcode programming(sending sms to shortcode) would help me to learn. Thanks. Br daf -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931635.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29931817.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29932255.html Sent from the Kannel - User mailing list archive at Nabble.com. -- View this message in context: http://old.nabble.com/USSD-and-shortCode-programming-tp29931635p29940428.html Sent from the Kannel - User mailing list archive at Nabble.com.
How to send TLV for USSD Push
Hi, I want to push USSN through kannel but unable to send. Configuration for TLV for USSD is - *group = smpp-tlv name = service_type tag = 0x0501 type = octetstring length = 2 smsc-id = Unicel1 group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 20 smsc-id = Unicel1 group = smpp-tlv name = dest_bearer_type tag = 0x0007 type = integer length = 2 smsc-id = Unicel1* I am passing request through http request - before encoding of metadata is -*?smpp?service_type=3dest_bearer_type=4message_payload=0203040506 * After url encode * http://localhost:8080/cgi-bin/sendsms?user=XYZpassword=ABCfrom=testto=011234554321metadata=%3Fsmpp%3Fservice%5Ftype%3D3%26dest%5Fbearer%5Ftype%3D4%26message%5Fpayload%3D0203040506 * In bearerbox I do not see any TLV parameters. Do i require any patch for this?? Please help me out of this issue Thanks in advance Regards Ricky
Re: How to send TLV for USSD Push
You're not specifying the smsc-id, but you've filtered the TLV's to only go thru Unicel1. Try commenting the smsc-id line, or specifying the smsc on the url. Also check the logs to see if you find something in there. Regards, Alex On Wed, Feb 3, 2010 at 1:33 PM, GSM Revolution gsm@gmail.com wrote: Hi, I want to push USSN through kannel but unable to send. Configuration for TLV for USSD is - *group = smpp-tlv name = service_type tag = 0x0501 type = octetstring length = 2 smsc-id = Unicel1 group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 20 smsc-id = Unicel1 group = smpp-tlv name = dest_bearer_type tag = 0x0007 type = integer length = 2 smsc-id = Unicel1* I am passing request through http request - before encoding of metadata is -*?smpp?service_type=3dest_bearer_type=4message_payload=0203040506 * After url encode * http://localhost:8080/cgi-bin/sendsms?user=XYZpassword=ABCfrom=testto=011234554321metadata=%3Fsmpp%3Fservice%5Ftype%3D3%26dest%5Fbearer%5Ftype%3D4%26message%5Fpayload%3D0203040506 * In bearerbox I do not see any TLV parameters. Do i require any patch for this?? Please help me out of this issue Thanks in advance Regards Ricky
Re: How to send TLV for USSD Push
Hi Alex, Thanks for your reply. I removed smsc-id from conf file, still i do not see any change in log. Alejandro Guerrieri wrote: You're not specifying the smsc-id, but you've filtered the TLV's to only go thru Unicel1. Try commenting the smsc-id line, or specifying the smsc on the url. Also check the logs to see if you find something in there. Regards, Alex On Wed, Feb 3, 2010 at 1:33 PM, GSM Revolution gsm@gmail.com wrote: Hi, I want to push USSN through kannel but unable to send. Configuration for TLV for USSD is - *group = smpp-tlv name = service_type tag = 0x0501 type = octetstring length = 2 smsc-id = Unicel1 group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 20 smsc-id = Unicel1 group = smpp-tlv name = dest_bearer_type tag = 0x0007 type = integer length = 2 smsc-id = Unicel1* I am passing request through http request - before encoding of metadata is -*?smpp?service_type=3dest_bearer_type=4message_payload=0203040506 * After url encode * http://localhost:8080/cgi-bin/sendsms?user=XYZpassword=ABCfrom=testto=011234554321metadata=%3Fsmpp%3Fservice%5Ftype%3D3%26dest%5Fbearer%5Ftype%3D4%26message%5Fpayload%3D0203040506 * In bearerbox I do not see any TLV parameters. Do i require any patch for this?? Please help me out of this issue Thanks in advance Regards Ricky -- View this message in context: http://old.nabble.com/How-to-send-TLV-for-USSD-Push-tp27435666p27435812.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: How to send TLV for USSD Push
Hi, I have succeded sending all USSD commands in a simpler way, I mean configuration and parameters point of view. In conf file: group = smpp-tlv name = mydata tag = 0x0501 type = integer length = 1 smsc-id = ussdmenu and send-sms url looks like: http://10.1.5.30:x/cgi-bin/sendsms?username=kotpassword=kotfrom=187to=xxtext=hellometa-data=%3Fsmpp%3Fmydata%3D3 Hope it helps On Wed, Feb 3, 2010 at 1:33 PM, GSM Revolution gsm@gmail.com wrote: Hi, I want to push USSN through kannel but unable to send. Configuration for TLV for USSD is - *group = smpp-tlv name = service_type tag = 0x0501 type = octetstring length = 2 smsc-id = Unicel1 group = smpp-tlv name = message_payload tag = 0x0424 type = octetstring length = 20 smsc-id = Unicel1 group = smpp-tlv name = dest_bearer_type tag = 0x0007 type = integer length = 2 smsc-id = Unicel1* I am passing request through http request - before encoding of metadata is -*?smpp?service_type=3dest_bearer_type=4message_payload=0203040506 * After url encode * http://localhost:8080/cgi-bin/sendsms?user=XYZpassword=ABCfrom=testto=011234554321metadata=%3Fsmpp%3Fservice%5Ftype%3D3%26dest%5Fbearer%5Ftype%3D4%26message%5Fpayload%3D0203040506 * In bearerbox I do not see any TLV parameters. Do i require any patch for this?? Please help me out of this issue Thanks in advance Regards Ricky
Re: Re: meta-data TLV for USSD
Hi Alex and others, where is the difference in submitting the sms with meta-data variable together with short message text and submitting only meta-data without no text??? 2009-12-03 10:49:37 [12458] [6] DEBUG: group=`smpp' key=`my-custom-var' value=`Hello World' 2009-12-03 10:49:37 [12458] [6] DEBUG: SMPP[test]: Sending PDU: 2009-12-03 10:49:37 [12458] [6] DEBUG: SMPP PDU 0x9313308 dump: 2009-12-03 10:49:37 [12458] [6] DEBUG: type_name: submit_sm 2009-12-03 10:49:37 [12458] [6] DEBUG: command_id: 4 = 0x0004 2009-12-03 10:49:37 [12458] [6] DEBUG: command_status: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: sequence_number: 2 = 0x0002 2009-12-03 10:49:37 [12458] [6] DEBUG: service_type: NULL 2009-12-03 10:49:37 [12458] [6] DEBUG: source_addr_ton: 2 = 0x0002 2009-12-03 10:49:37 [12458] [6] DEBUG: source_addr_npi: 1 = 0x0001 2009-12-03 10:49:37 [12458] [6] DEBUG: source_addr: 200 2009-12-03 10:49:37 [12458] [6] DEBUG: dest_addr_ton: 2 = 0x0002 2009-12-03 10:49:37 [12458] [6] DEBUG: dest_addr_npi: 1 = 0x0001 2009-12-03 10:49:37 [12458] [6] DEBUG: destination_addr: 35x 2009-12-03 10:49:37 [12458] [6] DEBUG: esm_class: 3 = 0x0003 2009-12-03 10:49:37 [12458] [6] DEBUG: protocol_id: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: priority_flag: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: schedule_delivery_time: NULL 2009-12-03 10:49:37 [12458] [6] DEBUG: validity_period: NULL 2009-12-03 10:49:37 [12458] [6] DEBUG: registered_delivery: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: replace_if_present_flag: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: data_coding: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: sm_default_msg_id: 0 = 0x 2009-12-03 10:49:37 [12458] [6] DEBUG: sm_length: 5 = 0x0005 2009-12-03 10:49:37 [12458] [6] DEBUG: short_message: hello 2009-12-03 10:49:37 [12458] [6] DEBUG: my-custom-var: Hello World So hello world in my-custom-var has higher priority or? What happens in these cases with both short message and meta-data? Thanks in advance... Elton On Fri, Dec 4, 2009 at 10:43 AM, Sandesh K sandyk...@rediffmail.com wrote: hi marcin, could please share this valuable information; it would be really delight. What type of provisions we have to do in SMSC; what we need on SMSC side to be enabled. Regards, Sandesh K On Thu, 03 Dec 2009 17:04:41 +0530 wrote 2009/12/3 Elton Hoxha Hello, ... I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Hey all, we are using kannel as gateway for USSD services with success. Generally if you want to use just USSD strings conf may look like this: group = smsc smsc-id = MVNO-USSD-STRING smsc = smpp host = 10.10.10.10 port = 5014 smsc-username = foo smsc-password = bar system-type = VMA service-type = EA log-file= /var/log/kannel-ussd/ussd_strings.log log-level= 0 wait-ack-expire = 1 If you need menu based services just change: service-type = CR It works pretty with Hu*wei USSDC. Soon I'll be ready to release HTTP backend which can be used in sms-service (nifty GUI, menus, games, polls, etc.). If you are interested in such solution just let me know - i'll try to speed things up ;-) Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: Re: meta-data TLV for USSD
hi marcin, could please share this valuable information; it would be really delight. What type of provisions we have to do in SMSC; what we need on SMSC side to be enabled. Regards, Sandesh K On Thu, 03 Dec 2009 17:04:41 +0530 wrote 2009/12/3 Elton Hoxha Hello, ... I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Hey all, we are using kannel as gateway for USSD services with success. Generally if you want to use just USSD strings conf may look like this: group = smsc smsc-id = MVNO-USSD-STRING smsc = smpp host = 10.10.10.10 port = 5014 smsc-username = foo smsc-password = bar system-type = VMA service-type = EA log-file= /var/log/kannel-ussd/ussd_strings.log log-level= 0 wait-ack-expire = 1 If you need menu based services just change: service-type = CR It works pretty with Hu*wei USSDC. Soon I'll be ready to release HTTP backend which can be used in sms-service (nifty GUI, menus, games, polls, etc.). If you are interested in such solution just let me know - i'll try to speed things up ;-) Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: meta-data TLV for USSD
Hello, Yes Michael using data SM is more appropriate, but as far as I know many commercial SMPP gateways are also trying to adapt submit and deliver SM by using TLV to communicate with USSD. So I dont guess Kannel is inferior to these other products. I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Thanks Elton On Thu, Dec 3, 2009 at 12:46 AM, Michael Bochkaryov mi...@rattler.kiev.uawrote: Hello, I've tried to connect Kannel with USSD server. In my case it was enough to use ussd_service_op TLV (see SMPP 3.4 spec. p.5.3.2.44). Anyway Kannel is not good solution to implement USSD services because of: a) mostly USSD centers require data_sm instead of submit_sm/deliver_sm PDUs; b) Kannel includes some SMS-related logic (mostly exceptions processing) that doesn't suite for USSD I'll try to find configuration if nobody removed this yet. But I've personally switched to own small Net::SMPP based application. -- Regards, Michael Bochkaryov www.rattler.kiev.ua 2009/12/2 Elton Hoxha elt...@gmail.com Thanks Alex, Does anyone else has experience with USSD applications? Regards Elton On Wed, Dec 2, 2009 at 11:55 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: Elton, I don't have much experience with USSD honestly, I don't know how is the session started/ended. Kannel's not really designed to work as an USSD gateway, so I'm not sure if you're stumbling with something needing a patch or not. Regarding tags, SMPP Spec 3.4 has a list of the standard values. However, there's a user defined segment (starting 0x1400) where vendors can implement their proprietary tags. There's a copy of the spec here: http://www.nowsms.com/discus/messages/1/SMPP_v3_4_Issue1_2-24857.pdf Hope it helps, Alex On Wed, Dec 2, 2009 at 11:45 AM, Elton Hoxha elt...@gmail.com wrote: Thanks Alex, Actually, for MT cases, Im calling the HTTP using the example in the guide; meta-data=%3Fsmpp%3Fmy-data%3DHello%2BWorld but I receive some SMSC returned errors like invalid destinations, which of course has not to do with kannel. I have two ambigous cases in my head; -How can I terminate the session initialized by MO request? When I throw a request, lets say by dialing *200#, I`m able to call my application sending there %D values, but it lasts many seconds until HLR terminates it by itself. Also If multiple requests in paralel are initialised, how Kannel can keep records of each session, so when I will reply back from cgi-bin, kannel will understand the respective session and drop it? - How can I find the related specifications for Tag parameter? I see many combinations in hexadecimal but withput understanding their meaning. Is there any explanations for each hexa code? Thank You, Elton On Wed, Dec 2, 2009 at 11:23 AM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: You need to pass the value on the meta-data field. For example: meta-data=?smpp?my-custom-var=1 (urlencoded of course) Regards, Alex On Wed, Dec 2, 2009 at 9:01 AM, Elton Hoxha elt...@gmail.com wrote: Hi guys, I`m trying to use kannel for sending ussd request and receiving back using SMPP. my conf for TLV is: group = smpp-tlv name = my-custom-var tag = 0x0501 type = integer length = 2 smsc-id = test Using this I`m able to call my application by dialing ussd shortcodes, but I`m not able to terminate the session immediately. Also the values of ussd parameters take place under the VALUE parameter of TLV itself which is not present in the above conf. How can I manipulate this parameter if its not configurable in kannel? P.S this is an example I found googling around; Field Size Octets Type Description Parameter Tag 2 Integer 0x0501 Length 2 Integer Length of value part in octets Value 1 Integer This value can be one of the following values: 0 = PSSD Indication 1 = PSSR Indication 2 = USSR Request 3 = USSN Request 4 to 15 = Reserved 16 = PSSD Response 17 = PSSR Response 18 = USSR Confirm 19 = USSN Confirm 20 to 31 = Reserved 32 to 255 = Vendor specific operations
Re: meta-data TLV for USSD
2009/12/3 Elton Hoxha elt...@gmail.com Hello, ... I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Hey all, we are using kannel as gateway for USSD services with success. Generally if you want to use just USSD strings conf may look like this: group = smsc smsc-id = MVNO-USSD-STRING smsc = smpp host = 10.10.10.10 port = 5014 smsc-username = foo smsc-password = bar system-type = VMA service-type = EA log-file= /var/log/kannel-ussd/ussd_strings.log log-level = 0 wait-ack-expire = 1 If you need menu based services just change: service-type = CR It works pretty with Hu*wei USSDC. Soon I'll be ready to release HTTP backend which can be used in sms-service (nifty GUI, menus, games, polls, etc.). If you are interested in such solution just let me know - i'll try to speed things up ;-) Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: meta-data TLV for USSD
Hello Marcin, I am intrested 2009/12/3 Marcin Bockowski boc...@gmail.com 2009/12/3 Elton Hoxha elt...@gmail.com Hello, ... I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Hey all, we are using kannel as gateway for USSD services with success. Generally if you want to use just USSD strings conf may look like this: group = smsc smsc-id = MVNO-USSD-STRING smsc = smpp host = 10.10.10.10 port = 5014 smsc-username = foo smsc-password = bar system-type = VMA service-type = EA log-file= /var/log/kannel-ussd/ussd_strings.log log-level = 0 wait-ack-expire = 1 If you need menu based services just change: service-type = CR It works pretty with Hu*wei USSDC. Soon I'll be ready to release HTTP backend which can be used in sms-service (nifty GUI, menus, games, polls, etc.). If you are interested in such solution just let me know - i'll try to speed things up ;-) Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79
Re: meta-data TLV for USSD
Hi Marcin, I am very interested. Have you documented this anywhere? P. On Dec 3, 2009, at 3:04 PM, James Mutuku wrote: Hello Marcin, I am intrested 2009/12/3 Marcin Bockowski boc...@gmail.com 2009/12/3 Elton Hoxha elt...@gmail.com Hello, ... I have partially succeded to connect to USSD, sending MO requests, but then I`m stuck, sessions remains open until it is droped by Core Network. Anyway if you have any conf sample would be a lot of help. Hey all, we are using kannel as gateway for USSD services with success. Generally if you want to use just USSD strings conf may look like this: group = smsc smsc-id = MVNO-USSD-STRING smsc = smpp host = 10.10.10.10 port = 5014 smsc-username = foo smsc-password = bar system-type = VMA service-type = EA log-file= /var/log/kannel-ussd/ussd_strings.log log-level = 0 wait-ack-expire = 1 If you need menu based services just change: service-type = CR It works pretty with Hu*wei USSDC. Soon I'll be ready to release HTTP backend which can be used in sms-service (nifty GUI, menus, games, polls, etc.). If you are interested in such solution just let me know - i'll try to speed things up ;-) Regards, -- Marcin Boćkowski tel. +48 79 69 0 69 79