Aarno, Thank you for your response to my submission to the Kannel User Group. I've (hopefully) one last set of questions regarding the PUSH_URL parameter to the test_ppg program.
Copied from your message, the full form of the PUSH_URL parameter is http://WAPBOX_IP_ADDRESS:PORT_OF_PPG/CONFIGURED_PUSH_URL/USERNAME=CONFIGURED _USERNAME&PASSWORD=CONFIGURED_PASSWORD. Here's my additional questions: 1. If, for testing purposes, I don't specify a username/password for PPG access, can I disregard the "/USERNAME=...PASSWORD" part of PUSH_URL? 2. The CONFIGURED USERNAME and CONFIGURED PASSWORD values are the ppg-username and ppg-password values, respectively defined in the "group = wap-push-user" entry in my kannel.conf file, correct? 3. Does the ppg-username account need to exist as a login on the host on which the PPG resides? If so, are there any requirements for the login (other than the login password being set to ppg-password, I imagine)? 4. An example of a call to 'test_ppg' on page 115 of the User's Guide shows test_ppg being called with a first parameter of "http://name:port?username=foo&password=bar". Does this mean that the "CONFIGURED PUSH URL" portion of the full PUSH_URL parameter is not a required portion of the parameter? 5. How is the "CONFIGURED PUSH URL" portion of the PUSH_URL parameter to test_ppg defined? I didn't see any examples in test_ppg.c or in the User's Guide to use as a model for this portion of the parameter. Thank you again. -Ira Rosen -----Original Message----- From: Aarno Syv�nen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:42 PM To: Rosen Ira-IROSEN1 Cc: [EMAIL PROTECTED] Subject: Re: PPG Message Request Format 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
