Re: Re: ringtone : a simple tutorial
Even i am in need of this solution. Hope u have already got the solution as this post is quite a long time so help me out to send a ringtones when one send sms with certain keywords requesting ringtones. regards, mamunbabubd wrote: please answer me the following question: I want to set up a ringtone service using kannel and for that i want to use wap push SI. The sequence of the service will be as follow: 1.users will send a request via sms specifying a keyword for ringtone. 2.In response of that keyword kannel will send a wap push. To do so what will be my kannel.conf configuration. where will i specify the keyword for ringtone in kannnel.conf for incoming message that will eventually pass the request for wap push SI. Thanks Mamun -- This message was sent on behalf of mamunbab...@yahoo.com at openSubscriber.com http://www.opensubscriber.com/message/users@kannel.org/4111775.html -- View this message in context: http://www.nabble.com/ringtone-%3A-a-simple-tutorial-tp4381955p21114322.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Re: ringtone : a simple tutorial
Hi creeds, the below tutorial to send the content as wap push, hope it help you http://dev.sellingsource.com/2006/12/07/sending-wap-push-messages-with-kannel-php/ Hafez On Sun, Dec 21, 2008 at 1:42 PM, creeds su...@nt.com.np wrote: Even i am in need of this solution. Hope u have already got the solution as this post is quite a long time so help me out to send a ringtones when one send sms with certain keywords requesting ringtones. regards, mamunbabubd wrote: please answer me the following question: I want to set up a ringtone service using kannel and for that i want to use wap push SI. The sequence of the service will be as follow: 1.users will send a request via sms specifying a keyword for ringtone. 2.In response of that keyword kannel will send a wap push. To do so what will be my kannel.conf configuration. where will i specify the keyword for ringtone in kannnel.conf for incoming message that will eventually pass the request for wap push SI. Thanks Mamun -- This message was sent on behalf of mamunbab...@yahoo.com at openSubscriber.com http://www.opensubscriber.com/message/users@kannel.org/4111775.html -- View this message in context: http://www.nabble.com/ringtone-%3A-a-simple-tutorial-tp4381955p21114322.html Sent from the Kannel - User mailing list archive at Nabble.com. -- Hafez A.Ahmad Amman-Jordan mobile:962-785259011 962-795708728 http://blog.hafezadnan.com
Re: Re: ringtone : a simple tutorial
Hi, I would like to suggest an alternative approach, using wapbox's ppg: 1) Configure sms service by keyword: group = sms-service keyword = ringtone get-url = http://server1:15130/sms.php?user=xxxpass=xxxfrom=%pto=%Ptext=%r; This should route your sms + keywords to your php web server. Now you are in the driver's seat. 2) Use wapbox ppg to push link group = ppg ppg-url = /feedme ppg-port = 13007 default-smsc = smsc1 concurrent-pushes = 1000 trusted-pi = true users = 1024 service-name = ppg ppg-sm-id = dlrbox default-dlr-url = http://www.server2.gr:9200/cgi/dlr.cgi?ts=%TsmsID=%IsmscID=%idlr=%danswer=%Afrom=%pto=%P; #ppg-deny-ip = *.*.*.* ppg-allow-ip = *.*.*.* # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = wapuser ppg-username = xxx ppg-password = xxx default-smsc = smsc1 This is all the setup needed to send the WAP push with the link through smsc1. 3) Program sms.php from (1) as the push initiator. Basically you just need to do an XML POST to http://www.kannel.gr:13007/feedme The post data should be: --asdlfkjiurwghasf Content-Type: application/xml ?xml version=1.0? !DOCTYPE pap PUBLIC -//WAPFORUM/DTD PAP//EN http://www.wapforum.org/DTD/pap_1.0.dtd; pap push-message push-i...@gni.ch deliver-before-timestamp=2009-01-01T00:00:00Z deliver-after-timestamp=2008-09-01T00:00:00Z progress-notes-requested=false address address-value=WAPPUSH=xx/type=p...@ppg.carrier.com/ quality-of-service priority=high delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=SMS/ /push-message /pap --asdlfkjiurwghasf Content-Type: text/vnd.wap.si ?xml version=1.0? !DOCTYPE si PUBLIC -//WAPFORUM//DTD SI 1.0//EN http://www.wapforum.org/DTD/si.dtd; si indication href=http://www.ringtones.gr:9200/rock1234 si-id=1...@gni.ch action=signal-high created=2008-06-25T15:23:15Z si-expires=2009-06-30T00:00:00Z Eminem: Cleanin' Out My Closet /indication /si You should also include the following MIME header: Content-Type: multipart/related; boundary=asdlfkjiurwghasf All servers, server1 (php service), server2 (dlrs), kannel (bearerbox, wapbox smsbox) can be on the same machine or different ones. You will definitely need bearerbox and wapbox, and if you want dlrs, smsbox. I consider simple POSTing more straightforward in php than sending wbxml through extending classes. You can also skip php altogether. You can use the 'exec' field in sms-service to pipe sms to an executable (script or C) which by itself can create the POST request and push it to wapbox. Hope it helps, - Original Message - From: hafez ahmad To: creeds Cc: users@kannel.org Sent: Sunday, December 21, 2008 3:30 PM Subject: Re: Re: ringtone : a simple tutorial Hi creeds, the below tutorial to send the content as wap push, hope it help you http://dev.sellingsource.com/2006/12/07/sending-wap-push-messages-with-kannel-php/ Hafez On Sun, Dec 21, 2008 at 1:42 PM, creeds su...@nt.com.np wrote: Even i am in need of this solution. Hope u have already got the solution as this post is quite a long time so help me out to send a ringtones when one send sms with certain keywords requesting ringtones. regards, mamunbabubd wrote: please answer me the following question: I want to set up a ringtone service using kannel and for that i want to use wap push SI. The sequence of the service will be as follow: 1.users will send a request via sms specifying a keyword for ringtone. 2.In response of that keyword kannel will send a wap push. To do so what will be my kannel.conf configuration. where will i specify the keyword for ringtone in kannnel.conf for incoming message that will eventually pass the request for wap push SI. Thanks Mamun -- This message was sent on behalf of mamunbab...@yahoo.com at openSubscriber.com http://www.opensubscriber.com/message/users@kannel.org/4111775.html -- View this message in context: http://www.nabble.com/ringtone-%3A-a-simple-tutorial-tp4381955p21114322.html Sent from the Kannel - User mailing list archive at Nabble.com. -- Hafez A.Ahmad Amman-Jordan mobile:962-785259011 962-795708728 http://blog.hafezadnan.com
Re: Re: ringtone : a simple tutorial
Alejandro, can you share your code snippet ?thanksOn 9/20/06, Alejandro Guerrieri [EMAIL PROTECTED] wrote:You have 2 options:1. Use Kannel's PPG to compile the wap-push. Kannel does all the magic, though many people seems to have problems getting it to workright (me included).2. Compile the binary message yourself and send like any other SMS.Being a binary SMS, you'll have to set the UDH field. There are many code snippets to do this on many languages, (I've personallycontributed one of them for php).For both cases, check the list archives, this issue was asked andanswered a zillion times on this list, so you should be able to find all needed parts easily if you dig a little.Hope it helps,On 9/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: please answer me the following question: I want to set up a ringtone service using kannel and for that i want to use wap push SI. The sequence of the service will be as follow: 1.users will send a request via sms specifying a keyword for ringtone. 2.In response of that keyword kannel will send a wap push. To do so what will be my kannel.conf configuration. where will i specify the keyword for ringtone in kannnel.conf for incoming message that will eventually pass the request for wap push SI. Thanks Mamun -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/message/users@kannel.org/4111775.html --Alejandro GuerrieriMagicomhttp://www.magicom-bcn.net/LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: Re: ringtone : a simple tutorial
please answer me the following question: I want to set up a ringtone service using kannel and for that i want to use wap push SI. The sequence of the service will be as follow: 1.users will send a request via sms specifying a keyword for ringtone. 2.In response of that keyword kannel will send a wap push. To do so what will be my kannel.conf configuration. where will i specify the keyword for ringtone in kannnel.conf for incoming message that will eventually pass the request for wap push SI. Thanks Mamun -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/message/users@kannel.org/4111775.html
Re: ringtone : a simple tutorial
Excuse me, am not talking about polyphonic ringtones, these are MMS-like.I was talking about simple ringtone and logos, basic ones :)On 5/15/06, Mi Reflejo [EMAIL PROTECTED] wrote:Hey Fourat, The scheme for polyphonic ringtone is:Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserverWAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handsetautomatically gives the user the option to access the WAP content onhis handset. The WAP Push directs the end-user to a WAP address wherecontent is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site.For wap pushes, kannel uses a Push Proxy Gateway. To know howconfigure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPGRegardsOn 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks
Re: ringtone : a simple tutorial
Fourat, There are many formats, text-only and binary: SmartMessaging (Nokia, Binary) SCKL (Nokia, Text-Only) EMS (Sony/Motorola/Alcatel/Siemens, Binary) iMELODY (Motorola and some others, Text-Only) Basically, you need to prepare the content encoding it in the proper format and use Kannel to deliver it. That means putting the encoded text as a regular message or, if it's a binary format, encoding the UDH header and binary payload (you'll have to pass the udh and text fields instead of only the text field). Check the kannel source tree, there are some PHP examples included. Hope it helps, On 5/28/06, Fourat Zouari [EMAIL PROTECTED] wrote: Excuse me, am not talking about polyphonic ringtones, these are MMS-like. I was talking about simple ringtone and logos, basic ones :) On 5/15/06, Mi Reflejo [EMAIL PROTECTED] wrote: Hey Fourat, The scheme for polyphonic ringtone is: Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserver WAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handset automatically gives the user the option to access the WAP content on his handset. The WAP Push directs the end-user to a WAP address where content is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site. For wap pushes, kannel uses a Push Proxy Gateway. To know how configure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG Regards On 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: ringtone : a simple tutorial
ok thanks for helping,I've found the contrib files in contrib/webThe problem that it's working using a java applet that is not provided, here's the code :APPLET CODE=composer.RingRing.class WIDTH=300 HEIGHT=40 ARCHIVE=ringring/classes.zip MAYSCRIPT /APPLET Do you have any idea ?On 5/28/06, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Fourat,There are many formats, text-only and binary:SmartMessaging (Nokia, Binary) SCKL (Nokia, Text-Only)EMS (Sony/Motorola/Alcatel/Siemens, Binary)iMELODY (Motorola and some others, Text-Only)Basically, you need to prepare the content encoding it in the properformat and use Kannel to deliver it. That means putting the encoded text as a regular message or, if it's a binary format, encoding theUDH header and binary payload (you'll have to pass the udh and textfields instead of only the text field).Check the kannel source tree, there are some PHP examples included. Hope it helps,On 5/28/06, Fourat Zouari [EMAIL PROTECTED] wrote: Excuse me, am not talking about polyphonic ringtones, these are MMS-like. I was talking about simple ringtone and logos, basic ones :) On 5/15/06, Mi Reflejo [EMAIL PROTECTED] wrote: Hey Fourat, The scheme for polyphonic ringtone is: Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserver WAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handset automatically gives the user the option to access the WAP content on his handset. The WAP Push directs the end-user to a WAP address where content is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site. For wap pushes, kannel uses a Push Proxy Gateway. To know how configure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG Regards On 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks--Alejandro GuerrieriMagicom http://www.magicom-bcn.net/LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: ringtone : a simple tutorial
No, that's for _composing_ a ringtone using a Java front end. I suppose you have that part covered before trying to send a ringtone. Tip: You can use RingToneTools for converting content to most formats and then send it using kannel. Check on Google, it's a free download and works very well (it does most of the enconding work for you). (Content formatting it's not directly related to kannel, you should ask on more appropiate lists if you need help with that) Hope it helps, On 5/28/06, Fourat Zouari [EMAIL PROTECTED] wrote: ok thanks for helping, I've found the contrib files in contrib/web The problem that it's working using a java applet that is not provided, here's the code : APPLET CODE=composer.RingRing.class WIDTH=300 HEIGHT=40 ARCHIVE=ringring/classes.zip MAYSCRIPT /APPLET Do you have any idea ? On 5/28/06, Alejandro Guerrieri [EMAIL PROTECTED] wrote: Fourat, There are many formats, text-only and binary: SmartMessaging (Nokia, Binary) SCKL (Nokia, Text-Only) EMS (Sony/Motorola/Alcatel/Siemens, Binary) iMELODY (Motorola and some others, Text-Only) Basically, you need to prepare the content encoding it in the proper format and use Kannel to deliver it. That means putting the encoded text as a regular message or, if it's a binary format, encoding the UDH header and binary payload (you'll have to pass the udh and text fields instead of only the text field). Check the kannel source tree, there are some PHP examples included. Hope it helps, On 5/28/06, Fourat Zouari [EMAIL PROTECTED] wrote: Excuse me, am not talking about polyphonic ringtones, these are MMS-like. I was talking about simple ringtone and logos, basic ones :) On 5/15/06, Mi Reflejo [EMAIL PROTECTED] wrote: Hey Fourat, The scheme for polyphonic ringtone is: Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserver WAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handset automatically gives the user the option to access the WAP content on his handset. The WAP Push directs the end-user to a WAP address where content is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site. For wap pushes, kannel uses a Push Proxy Gateway. To know how configure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG Regards On 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: ringtone : a simple tutorial
Hey Fourat, The scheme for polyphonic ringtone is: Kannel ---WAP PUSH-- Phone ---Http Request -- kannel/Wap Gateway -- webserver WAP Push is a SMS within the header of which is included a link to a WAP address. On receiving a WAP Push, the compatible mobile handset automatically gives the user the option to access the WAP content on his handset. The WAP Push directs the end-user to a WAP address where content is stored ready for viewing or downloading onto the handset. This wap address may be a page or a WAP site. For wap pushes, kannel uses a Push Proxy Gateway. To know how configure it and send wap pushes i sugest you start off reading: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#PPG Regards On 5/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: Dear friends, Can anyone provide a simple tutorial on how to send a ringtone over http with kannel ? Thanks