I assume you mean my message about WAP Push.? My mods to support WAP Push are not documented, but here's a very basic example (in perl of course).
In addition to the push related parameters (PUSH,PUSHID,SUBJECT) I have
exposed the following parameters:
VALIDITY
DEFERRED
DLRMASK
DLRURL
Which correspond to the appropriate smsbox parameters.
NOTE> SUBJECT is only useful for wap push messages. Currently only SI
push is supported, and signal-high is hard coded.
I'll try to get this cleaned up, and posted on CPAN soon.
Credit to the original author, as well as to the author of the smssend
php script example that is included with Kannel.
Example:
use Kannel::SMS;
$SMS = Kannel::SMS->new( USER => "user",
PASS => "pass",
SERV => "sms-box_host",
PORT => 13013,
DEBUG => 1
);
$SMS->send(TO => "55512345678",
MSG => "http://google.com",
PUSH => 1,
SUBJECT => "Testing",
PUSHID => '12345',
);
SMS.pm is of course the code you're interested in.
Hope this helps.
Josh McAllister
-----Original Message-----
From: Hillel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 3:41 AM
To: Josh McAllister
Subject: perl package for WAP
Hi,
I've read in the user guide about your WAP Perl package.
I would like to start using Kannel for WAP but don't know were to begin
so,
please will you send me
the source and compiled version of your package so I can see how it's
done
and test.
I'm programming in Java and so will need to understand how to send WAP
via
Kannel from your code and
convert to Java.
Thanks
Kannel-SMS-0.20.tar.gz
Description: Kannel-SMS-0.20.tar.gz
