Rosen Ira-IROSEN1 kirjoittaa tiistaina, 2. hein�kuuta 2002, kello 07:22:In order to begin testing Kannel PPG functionality, I've read through the > Architecture and User's Guide documents and some test source code > including > test_ppg.c. One way to run test_ppg is to provide a PUSH_URL as well as > optional CONTENT_FILE and PAP_FILE parameters. I found a sample > PAP_FILE in > Kannel/PPG/push_ctrl_doc. > Trivial though this will sounds to many, I'm unclear regarding the > definition and usage of the PUSH_URL and CONTENT_FILE parameters. > Regarding CONTENT_FILE, what does the file contain? Is it the URL that > the > handset will access if the subscriber confirms that they want to view > the > PUSH content?
This is the main thing content file contains, yes. > I thought this was part of the <address ...> entry in the push > control document. This is phone number or ip used for reaching the phone (depending is the bearer SMS or CSD). > Regarding PUSH_URL, what is the format of the URL? Is this something of > the > form: "http://KANNEL_HOST_IP_ADDRESS:IP_PORT_OF_PPG"? Full form is http://WAPBOX_IP_ADDRESS:PORT_OF_PPG/CONFIGURED_PUSH_URL/ USERNAME=CONFIGURED_USERNAME&PASSWORD=CONFIGURED_PASSWORD > In addition, for my initial kannel.conf file with PPG configuration > information, I've stuck, for the most part, with the default > configuration > in the Kannel User's Guide. I'm sure to change many of these values > once I > begin sending PAP messages through the PPG. I'd appreciate suggestions > anyone has regarding difficult experiences you've had with PPG-related > configuration variables. For now, I have the following groups defined: > * core > * wapbox > * smsbox > * smsc > * ppg > * wap-push-user These should be enough, yes. Aarno
