Hi Thanks, I got it working!! I am trying to send normal SMS text as well but the sms received contain garbage. I know it has something to do with encoding but just can't figure it out. I need to send both English and Chinese. Is this the right way to send? $url = "/cgi-bin/sendsms?username=" . $CONFIG_KANNEL_USER_NAME . "&password=" . $CONFIG_KANNEL_PASSWORD . "&charset=UCS-2&coding=2" . "&to=$in_phoneNumber" . "&text=" . urlencode( mysql_iconv('utf-8', 'ucs-2', $in_msg) ) . "&dlr-mask=19"; assuming the first part is correct since the above only shows the part after the kannel host and port. Thanks and hope someone would shed some light into this. Peter
_____ From: Ady Wicaksono [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 11:18 PM To: [EMAIL PROTECTED] Cc: Remon Magdy; Captain Garbage; users@kannel.org Subject: Re: WAP Push Seems that's the text message :) WAP Push as you seen contain text message + URL :) On 7/2/07, Peter Lum < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi Remon Thanks! Must I set smsc= Udh=%06%05%04%0B%84%23%F0 Text=%1B%06%01%AE%02%05%6A%00%45%C6%0C%03{WAP_URL}%00%01%03{WAP_Push}%00%01% 01 {WAP_URL} should be something like http://wap.somesite.com but What is the {WAP_Push}? Thanks and hope to hear from you soon. Regards, Peter -----Original Message----- From: Remon Magdy [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Monday, July 02, 2007 3:10 PM To: [EMAIL PROTECTED]; Captain Garbage; users@kannel.org Subject: RE: WAP Push Hello Peter, You can send WAP push by either the WAP Box or through the http get request. I prefer using the http get request. Through the http request the body of the message has to be encoded and a UDH has to be added Here is an example: http://KANNEL_IP:13013/cgi-bin/sendsms?user=test <http://KANNEL_IP:13013/cgi-bin/sendsms?user=test&pass=test&from=Sender&to=2 0> &pass=test&from=Sender&to=20 12XXXXXX&smsc=TestSMSC&udh=%06%05%04%0B%84%23%F0&text=%1B%06%01%AE%02%05%6A% 00%45%C6%0C%03{WAP_URL}%00%01%03{WAP_Push}%00%01%01 Just make sure to replace {WAP_URL} and {WAP_Push} in the above URL as desired for your business. Regards, Remon ________________________________________ From: Peter Lum [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 3:59 AM To: 'Captain Garbage'; users@kannel.org Subject: WAP Push Hi How to do a WAP Push? (a) Must I set up a WAP Box? Yes/No (b) Can I use the http get request like send SMS to send WAP Push? Yes/No Thanks and regards, Peter -- Regards, Ady Wicaksono Email: ady.wicaksono at gmail.com