Hi,
here are two patches that solve crashing bug
http://bugs.kannel.org/view_bug_page.php?f_id=8
First is gw/wap_push_ppg.c, in pap_request_thread. When there's no user
involved in the request (with a trusted-pi), wapbox gets a bus error
upon handling a push request. pap_request_thread now
Stipe,
On Thursday, March 20, 2003, at 12:42 PM, Stipe Tolj wrote:
ok, fix has been commited to cvs. Try using
$ test/test_pap pap document
for a quick shot.
Beware that the fix is more or less a kludge. We do parse the
'product-name' attribute of pap, but we can't handle it. Which means
Paul from Anam has done a lot of work for supporting WTLS inside
Kannel. Unfortunatly it's yet not finished.
Actually, it was Nick and Yann from 3Glab...
In theory, only the patch to wap_push_ppg_pushuser.c is needed to
prevent the crash. However, why bother to have pap_request_thread call
wap_push_ppg_pushuser_smsc_id_get when you already know there is no
username to make wap_push_ppg_pushuser_smsc_id_get do something usefull?
Also, it allows
Stipe,
On Thursday, March 20, 2003, at 01:51 PM, Stipe Tolj wrote:
I'd suggest this approach:
retos = http_cgi_variable(cgivars, smsc);
if (retos == NULL) {
/* if we have a valid username, get the user specific
routing */
if (username
Hi list,
I just tried to restart our production server with a bunch of EMI/UCP
links and the new reconnect harmonized config, but *all* EMI2 links
failed to connect ;((
Anyone had the chance to test this? Seems something is wrong in here.
Stipe
[EMAIL PROTECTED]
Hi all,
I completed my ppg test tool based on Openwave's wap push library. It's
java code and requires Openwave's library which is freely available in
their Openwave SDK. All it does is behave as a PI and send a
ServiceIndication push message to Kannel which does the usual thing in
that case.
It does require the latest CVS kannel as there were some issues that
have recently been fixed in kannel. If nothing else, it can be used as
an additional test tool for ppg (besides test/test_ppg.c).
and will be available in the upcoming 1.3.2 development release.
Stipe
[EMAIL PROTECTED]