the rich media content can not be sent to the mobiles you send the location of the content via WAP PUSH sms
regarding the wap push creation, sending and delivery reports search the mailing list, there are several very detailed explanations for. -----Original Message----- From: [email protected] [EMAIL PROTECTED] Sent: 15 Април 2008 г. To: seik Subject:wap push project > thanks but how can i send the contant to mobile and how i can > tell him where contant location ? > seik <[EMAIL PROTECTED]> wrote: > in short, > you do not send directly any content to the recipient via wap push > its binary sms providing the receiver's mobile device > with information about the URL of web server hosted content > so in general, via the wap push sms you send the location, i.e. the URL > of a particular file to the client. > its their choice to download the content or not. > -----Original Message----- > From: mohmmad jarwan [EMAIL PROTECTED] > Sent: 15 ????? 2008 ?. > To: seik > Subject:wap push project >> Hi >> >> i want to do wap push project to send ringtone and pictuer to mobile >> >> this is my kannel config >> >> ///////////////////////////////////////////////// >> group = core >> admin-port = 15000 >> admin-password = ros123 >> admin-deny-ip = "*.*.*.*" >> admin-allow-ip = "" >> wapbox-port = 13002 >> wdp-interface-name = "vas" >> log-file = "/var/log/kannel/bearerbox.log" >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> group = wapbox >> bearerbox-host = localhost >> log-file = "/var/log/kannel/wapbox.log" >> >> >> group = ppg >> ppg-url = /wappush >> ppg-port = 8080 >> concurrent-pushes = 50 >> users = 52 >> ppg-allow-ip =194.100.32.125;127.0.0.1 >> trusted-pi = false >> >> >> group = wap-push-user >> wap-push-user = picom >> ppg-username = "vas" >> ppg-password = ros123 >> allow-ip = 62.254.217.163 >> ///////////////////////////////////////////// >> >> >> and this is my code >> //////////////////////////////////////////////////////////// >> >> >> $host = 'localhost'; >> $port = '8080'; >> $url = "http://$host:$port"; >> $wap_push_id = 1; >> $xx="http://ci/uploads/$name"; >> //$file= bin2hex($xx); >> >> >> $body = "--multipart-boundary\r\n". >> "Content-type: application/xml\r\n\r\n". >> ' '."\r\n". >> '> '"http://www.wapforum.org/DTD/pap_1.0.dtd" >'."\r\n". >> ' '."\r\n". >> ' '."\r\n". >> ' >> address-value="WAPPUSH='.$phone_no.'/TYPE=PLMN ppg.nokia.com"/>'."\r\n". >> ' bearer="SMS"/>>'. >> " \r\n". >> " \r\n\r\n". >> "--multipart-boundary\r\n". >> "Content-type: text/vnd.wap.si\r\n\r\n". >> ' '."\r\n". >> '> '"http://www.wapforum.org/DTD/si.dtd">'."\r\n". >> " \r\n". >> ' > href="'.$push_url.'">'.$text.' '."\r\n". >> " \r\n". >> "--multipart-boundary--\r\n"; >> $post = "POST /wappush HTTP/1.1\r\n". >> "Host: $host:$port\r\n". >> "Authorization: Basic ".base64_encode("$ppg_user:$ppg_pass")."\r\n"; >> "X-Kannel-SMSC: $smsc_id\r\n". >> 'Content-Type: multipart/related; boundary=multipart-boundary; >> type="application/xml"'."\r\n". >> "Content-Length: ".strlen($body)."\r\n"."\r\n".$body; >> //echo $url; >> $ch = curl_init(); >> curl_setopt ($ch, CURLOPT_URL, $url); >> curl_setopt($ch, CURLOPT_HEADER, 1); >> curl_setopt($ch, CURLOPT_TIMEOUT, 15); >> curl_setopt ($ch,CURLOPT_CUSTOMREQUEST , $post); >> curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); >> $reply = curl_exec($ch); >> curl_close ($ch); >> if (empty($reply)) >> { >> print "Sorry, example.com are a bunch of poopy-heads. > "; >> } >> else >> { >> print $reply; >> } >> >> /////////////////////////////////////////////////////////////// >> >> the problem is where and how i put the contant ( ringtone or pictuer ..... ) >> and i don't use sms gatway that effect on sending ( must i use it to send >> mms ). >> can any one help me and thanx. >> between 0000-00-00 and 9999-99-99 > Yahoo! for Good helps you >> href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51947/*http://uk.promotions.yahoo.com/forgood/">make >> a difference > between 0000-00-00 and 9999-99-99 <hr size=1> Yahoo! for Good helps you <a > href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51947/*http://uk.promotions.yahoo.com/forgood/">make > a difference</a>
