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 checks for this and uses the default smsc-id for routing the message.
Second is in gw/wap_push_ppg_pushuser.c, wap_push_ppg_pushuser_smsc_id_get references a NULL user when user_find_by_username returns NULL.
Patches attached.
Cheers,
Bas.
wap_push_ppg.c.patch
Description: Binary data
wap_push_ppg_pushuser.c.patch
Description: Binary data
