Well, what you propose makes sense IMHO, but it's not how it's implemented right now. Keep in mind that there are also possible drawbacks with passing the meta-data parameters on the sms-service group: You'd lose some flexibility that may be necessary when assigning the parameters (if you need to specify different TLV values depending on the carrier, for example), so this probably wouldn't solve everybody's problems anyway.
Regards, Alex On Tue, Oct 21, 2008 at 4:42 PM, Rob Whyte <[EMAIL PROTECTED]> wrote: > I was hoping this wouldn't be the answer.. My application logic is complex > and not suited for the massive amounts of messages that are expected with > this short campaign. I suppose I could build a new application just for > this, but was hoping I could simply add tlv parameters to the sms-service > group for this keyword. > Rob > > > On Tue, Oct 21, 2008 at 11:39 AM, Alejandro Guerrieri < > [EMAIL PROTECTED]> wrote: > >> Yes, the simpler solution for this is to handle it at your application >> instead. >> >> Hope it helps, >> >> Alex >> >> >> On Tue, Oct 21, 2008 at 4:32 PM, whyter <[EMAIL PROTECTED]> wrote: >> >>> >>> Greetings, >>> >>> I am currently using kannel for send/rec sms messages via mBlox. I use >>> the >>> tlv values to pass the parameters to mBlox and all is good as long as I >>> use >>> a get-url to process incoming messages, and then send MT's from my >>> application. >>> >>> What I would like to do is add certain keywords to the kannel.conf and >>> not >>> have to process the messages in external code, I would like to just send >>> a >>> reply MT, this is where I run into issues. I set up like this. >>> >>> group = sms-service >>> keyword = nop >>> text = "You asked nothing and I did it!" >>> >>> group = sms-service >>> keyword = default >>> max-messages = 0 >>> get-url=" >>> http://xxx.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%i&status=%d&message=%A&to=%P&from >>> =%p&transid=%T&meta_data=%D<http://xxx.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%i&status=%d&message=%A&to=%P&from=%p&transid=%T&meta_data=%D> >>> " >>> >>> >>> Everything works fine for keywords != nop, my app processes ok. If >>> keyword >>> is "nop" I expect to send the text "You asked.." back, but I get the >>> error >>> "ERROR: SMPP[94553]: SMSC returned error code 0x0000042a (Vendor-specific >>> error, please refer to your SMPP provider) in response to submit_sm." >>> >>> I assume this is because the missing tlv values that are required by >>> mBlox >>> to process an MT. So my long winded question is, can I add the tlv >>> parameters to my nop keyword in the kannel.conf? >>> >>> Thanks in advance, >>> Rob >>> -- >>> View this message in context: >>> http://www.nabble.com/sms-service-tlv-parameter-question-tp20096567p20096567.html >>> Sent from the Kannel - User mailing list archive at Nabble.com. >>> >>> >>> >> >
