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: HTTP SMSC
I know how to configure Send-URL parameters and how to set kannel to receive DLR. However I need to know what is actually required at the SMSc as we have the following setup SMPP CLIENT --- KANNEL OPENSMPPBOX --- BEARERBOX --- HTTPSMSC VARIOUS SMCs The HTTPSMSC is actually our own system. But what do we need here to send the DLR back into Kannel? -Original Message- From: Nikos Balkanas nbalka...@gmail.com To: users us...@vm1.kannel.org; Lee Vidor leedj89...@aol.com Sent: Mon, 14 Mar 2011 8:48 Subject: Re: HTTP SMSC Hi,Read UG about variable port. Kannel will listen on this for incoming traffic (MO, DLRs). You then have to talk with your smsc to ask which way you should pass it as an argument.BR,Nikos- Original Message - From: Lee Vidor leedj89...@aol.comTo: users@kannel.orgSent: Monday, March 14, 2011 2:05 PMSubject: HTTP SMSCI am connecting to a HTTP SMSC from kannel. The SMSC is actually a HTTPAPI that I am using to receive messages on. Has anyone had anyexperience in configuring their own HTTP SMSC to send delivery reportsback to kannel?How does one inject the delivery report into kannel. The send-urloriginating form kannel can request to have delivery reports sent backbut what do I need to have SMSC end to send the delivery reports?Regards
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
smsbox-route with keywords
Hi there, I found the following link. Seems old patch but something I am looking for http://www.mail-archive.com/devel@kannel.org/msg08124.html Unfortunately, I was unable to patch svn copy taken from trunk. Could anyone who dealt with it explain me how to apply this patch or latest trunk ? Thanks
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
RE: Not Receiving DLR Update from Kannel via HTTP
What does your smsbox.log has to tell about this? == Rene -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Jarrod Hermer Sent: Monday, 14 March, 2011 16:55 To: users@kannel.org Subject: Not Receiving DLR Update from Kannel via HTTP Hi All, Kannel is receiving and processing DLR's correctly from our aggregator, I think - except for the comment about sscanf, but Kannel does not seem to be making the HTTP request to the dlr-url I configured in the request. Below are the logs and everything seems correct. Is there perhaps something new in v1.5.0? As we were previously using 1.4.0. I never see any requests to my KannelDLR.axd page. If there is any other information you need please let me know. SMSC log dump: ... 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01] handle_pdu, got DLR 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: Looking for DLR smsc=INTEGRAT_KENYA_01, ts=254737083339/205371648081764461/27555884, dst=(null), type=4 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: created DLR message for URL http://10.0.0.28/NexusWeb/KannelDLR.axd?status=%dsmscinfo=%Amsgid=4781681 3dlrqueue=billing 2011-03-14 17:32:29 [26870] [71] DEBUG: DLR[internal]: DLR not destroyed, still waiting for other delivery report 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Sending PDU: 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP PDU 0x9a46160 dump: 2011-03-14 17:32:29 [26870] [71] DEBUG: type_name: deliver_sm_resp 2011-03-14 17:32:29 [26870] [71] DEBUG: command_id: 2147483653 = 0x8005 2011-03-14 17:32:29 [26870] [71] DEBUG: command_status: 0 = 0x 2011-03-14 17:32:29 [26870] [71] DEBUG: sequence_number: 1 = 0x0001 2011-03-14 17:32:29 [26870] [71] DEBUG: message_id: NULL 2011-03-14 17:32:29 [26870] [71] DEBUG: SMPP PDU dump ends. ... 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01] handle_pdu, got DLR 2011-03-14 17:32:31 [26870] [71] DEBUG: DLR[internal]: Looking for DLR smsc=INTEGRAT_KENYA_01, ts=254737083339/205371648081764461/27555884, dst=(null), type=2 2011-03-14 17:32:31 [26870] [71] DEBUG: DLR[internal]: created DLR message for URL http://10.0.0.28/NexusWeb/KannelDLR.axd?status=%dsmscinfo=%Amsgid=4781681 3dlrqueue=billing 2011-03-14 17:32:31 [26870] [71] DEBUG: new group created `smpp' 2011-03-14 17:32:31 [26870] [71] DEBUG: group=`smpp' key=`dlr_err' value=`000' 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP[INTEGRAT_KENYA_01]: Sending PDU: 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP PDU 0x9a0cf98 dump: 2011-03-14 17:32:31 [26870] [71] DEBUG: type_name: deliver_sm_resp 2011-03-14 17:32:31 [26870] [71] DEBUG: command_id: 2147483653 = 0x8005 2011-03-14 17:32:31 [26870] [71] DEBUG: command_status: 0 = 0x 2011-03-14 17:32:31 [26870] [71] DEBUG: sequence_number: 2 = 0x0002 2011-03-14 17:32:31 [26870] [71] DEBUG: message_id: NULL 2011-03-14 17:32:31 [26870] [71] DEBUG: SMPP PDU dump ends. ... Regards, Jarrod smime.p7s Description: S/MIME cryptographic signature
[ANN] kannel-java libraries
Hi all, I've posted a set of Java libraries I built for Kannel on Github. I thought it would be useful to share these with the community of Java developers that use Kannel. You can find them here: https://github.com/garthpatil/kannel-java These are currently focused on the SMS functionality of Kannel. These should not yet be considered complete or ready for production use. Right now, the libraries included are: - admin: A wrapper on the HTTP administration service exposed by Kannel. - conf: Reading and writing the Kannel configuration file. - protocol: The Kannel box protocol for building event-driven applications to interact with the bearerbox. (The protocol library was built originally by Oscar Medina Duarte for his graduate thesis project. This project is forked from that one. Original sources can be found on his website http://www.medina-web.com/kjGateway/index.html). - runtime: A utility for starting/stopping the box daemons from Java. - sms: Wrappers for sending and receiving messages to and from the smsbox HTTP interface, including marshalling and unmarshalling XML used by Kannel for the post-xml version of the sms-service. Please submit a git pull request if you'd like to see changes in the main line. Enjoy! Garth