Sorry I don't have a Java counterpart. Don't be lazy, port it yourself and contribute it to the community as well :) Regards,
Alejandro On Wed, Jul 15, 2009 at 3:42 PM, Ishtiaq Ahmed <[email protected]>wrote: > Thanks Alejandro, > > > I have been through this ... but can you help me with the same code in > JAVA. > > > Regards, > > > Ishtiaq Ahmed > > > Alejandro Guerrieri wrote: > >> I'm not sure about meta-data supports over wap (I'm an SMS guy ;) ), a >> possible option would be to encode the wap-push externally and use the >> sendsms interface instead (where you could use the meta-data parameters for >> sure). >> >> Se here: >> >> http://www.blogalex.com/archives/12 >> >> Regards, >> >> Alejandro >> >> PS: For the record, meta-data support was added by Alex Malyish, I've only >> submitted a few patches afterwards. >> >> 2009/7/15 Nikos Balkanas <[email protected] <mailto:[email protected] >> >> >> >> Hi, >> >> Hmmm. That is indeed cleaner. You seem to know what you are doing. >> meta-data support was added by Alex G, last year. I strongly >> suspect that he skipped wap. Alex, would you care to comment? >> >> You should know that wap is no longer supported in kannel for the >> past 2 years or so. >> >> >> BR, >> Nikos >> ----- Original Message ----- From: "Ishtiaq Ahmed" >> <[email protected] <mailto:[email protected]>> >> To: "Nikos Balkanas" <[email protected] >> <mailto:[email protected]>> >> Cc: <[email protected] <mailto:[email protected]>> >> >> Sent: Wednesday, July 15, 2009 9:10 AM >> Subject: Re: wappush mBlox >> >> >> >> Hi Nikos, >> >> Let me make things more clear for you... mBlox is a US based >> mobile operator... and there are specific TLVs that needs to >> be set using meta-data tag in sendsms interface... Here is one >> example... >> >> >> http://KANNELBOX:13131/cgi-bin/sendsms?to=%2B14168874XXX&text=grassroots&dlr-url=http%3A%2F%2FSTAGGING%3A7080%2Fsmsprocessor%2Frdr.htm%3Fstatus%3D%25d%26text%3D%25A%26phone%3D%25p%26shortcode%3D%25P%26smscid%3D%25i%26meta-data%3D%25D%26refmsgid%3D17819%26uid%3D1823&dlr-mask=31&from=510XX&password=12345&username=12345&FREE_MESSGAE=Y&smsc=MBlox&*meta-data=%3Fsmpp%3FMToperator%3D113%26 >> < >> http://KANNELBOX:13131/cgi-bin/sendsms?to=%2B14168874XXX&text=grassroots&dlr-url=http%3A%2F%2FSTAGGING%3A7080%2Fsmsprocessor%2Frdr.htm%3Fstatus%3D%25d%26text%3D%25A%26phone%3D%25p%26shortcode%3D%25P%26smscid%3D%25i%26meta-data%3D%25D%26refmsgid%3D17819%26uid%3D1823&dlr-mask=31&from=510XX&password=12345&username=12345&FREE_MESSGAE=Y&smsc=MBlox&*meta-data=%3Fsmpp%3FMToperator%3D113%26 >> > >> >> Now here we are setting the values for the TLVs like >> MTOperator which has been configured in the kannel.conf like >> this... >> >> group = smpp-tlv >> name = MToperator >> tag = 0x2150 >> type = integer >> length = 2 >> >> *Now my question is how would we set the TLV values while >> using the /wappush >> >> >> I hope this may made things clear >> >> >> Regards, >> >> Ishtiaq Ahmed >> >> >> >> >> Nikos Balkanas wrote: >> >> Hi, >> >> I don't understand your problem: >> >> 1) What is mBlox? >> 2) What is ppg meta-data? Do you mean pap control document? >> >> If your problem is that you cannot use your /wappush >> interface, please post: >> >> 1) PAP & SI XML post documents >> 2) Configuration file(s) >> 3) Maximum detail wapbox relevant logs >> >> BR, >> Nikos >> ----- Original Message ----- From: "Ishtiaq Ahmed" >> <[email protected] <mailto:[email protected]>> >> To: <[email protected] <mailto:[email protected]>> >> Sent: Tuesday, July 14, 2009 12:39 PM >> Subject: wappush mBlox >> >> >> Hi Fellows, >> >> I am trying to use the /wappush interface for sending >> out the wap push to mblox network. For this I need to >> set the meta-data for mBlox. I am able to send out in >> UDH format with sendsms interface, but dont know >> exactly how to set the meta-data for ppg (/wappush) >> interface. >> >> >> Any help in this regard would be very helpful... >> >> >> >> Thanks, >> >> >> Ishtiaq Ahmed >> >> >> >> >> >> >> >> > >
