You need to tell kannel about the sar parameters (you need to be using a fairly recent CVS for use this):
group = smpp-tlv name = sar_ref tag = 0x020C type = integer length = 2 group = smpp-tlv name = sar_tot tag = 0x020E type = integer length = 1 group = smpp-tlv name = sar_seq tag = 0x020F type = integer length = 1 Then, you need to forward the meta-data to your app (with %D on the get-url) and decode it on your application afterwards. Hope it helps, Alex On Mon, Feb 1, 2010 at 3:54 PM, Latitude Berlin <[email protected]>wrote: > I understand. I don't want kannel to understand sar. I just want it to > forward sar to my application in the get URL. How can this be done? > > Thanks. > > 2010/2/1 Nikos Balkanas <[email protected]> > > Hi, >> >> AFAIK kannel works with udh for concatenation, not sar. It cannot >> undesrtand it. >> >> BR, >> Nikos >> >> ----- Original Message ----- >> *From:* Latitude Berlin <[email protected]> >> *To:* users <[email protected]> >> *Sent:* Monday, February 01, 2010 11:25 AM >> *Subject:* Fwd: receiving optional params in MO SMS >> >> Guys, >> >> Can anyone guide me for the following problem? >> >> Thanks. >> >> ---------- Forwarded message ---------- >> From: Latitude Berlin <latitude.de@ <[email protected]> >> googlemail.com> >> Date: Thu, Jan 28, 2010 at 2:36 PM >> Subject: receiving optional params in MO SMS >> To: users <[email protected]> >> >> >> Hi, >> >> I am receiving MO SMS messages at kannel and kannel is calling a servlet >> on receiving. Config reads as: >> >> group = sms-service >> keyword = default >> accepted-smsc = "smpp1,smpp2" >> catch-all=true >> max-messages=0 >> get-url = http://localhiost:7070/SMSServlet?from=%p&text=%a&udh=%u >> >> I am interested in getting UDH to identify long/multipart sms messages and >> concatinate them in my application. I was getting the UDH until I changed >> the operator. Now I dont get UDH instead I see some optional params in the >> logs which might work for me to identify the message parts. Kindly find the >> log attached. >> >> Please advise me how I can forward these optional params to my application >> via get-url. >> >> Thanks. >> >> >
