Re: SMS Apps
Thanks again Paul! So if I read between the lines of your response.I was right in that I don't need the menu framework?? I'll dabble today/tomorrowmay be back to the well depending on the results ;-) Cheers On Tue, 2011-10-04 at 09:15 +0700, Paul Hastings wrote: On 10/4/2011 2:26 AM, Bryan Stevenson wrote: What I'm hoping I can do is bypass all of that and simply start the session by texting Please enter your name and then when the user types to send Please enter your name to the test handset, use the global sendgateway() method. provide it the name of the gateway a structure holding the properties the SMS gateway requires (to/from phone, message, etc.). for incoming SMS, the driver is the onIncomingMessage method. it takes one argument, a CFEvent struct. all this is tied to the SMS gateway (where you specified the CFC w/this method). other than that this is just like any other CFC. you can create use other methods in that CFC, call other CFC's methods, etc. the text sent by the user's handset is in arguments.CFEvent.data.message (assuming the you named the onIncomingMessage argument CFEvent). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347894 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
On 10/4/2011 11:23 PM, Bryan Stevenson wrote: So if I read between the lines of your response.I was right in that I don't need the menu framework?? was that what you were asking? sorry. no you don't. if that demo is an obstacle, just try starting over w/a new onIncomingMessage. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347896 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
On Wed, 2011-10-05 at 00:07 +0700, Paul Hastings wrote: if that demo is an obstacle, just try starting over w/a new onIncomingMessage. My thoughts exactlydemo is full of stuff I don't need...start fresh ;-) Cheers -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347899 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
Hi All, I'm having a bit of a disconnect and wondering if anyone can help?? The SMS Gateway sample app that comes in CF Admin is a menu based app where the user enters a key and hits Send...then the next level of the menu is shown and the user can once again enter the letter that corresponds with the menu item they want to select. What I'm hoping I can do is bypass all of that and simply start the session by texting Please enter your name and then when the user types something and hits send, I take what they entered and perform some action against it and then send a text back asking another question (or telling them their entry was invalid). I just can't seem to find a way to call a method in a CFC other than using the menu framework and defining the key the user should press to perform the next actionI don't want them to navigate a menu by pressing keysjust enter requested text and hit send. I feel like I'm missing something horribly obviousso I've come to the list for some wisdom and smackdown ;-) TIA Cheers On Thu, 2011-09-29 at 11:26 -0700, Bryan Stevenson wrote: Thanks again Pauland yes it is time I RTFM ;-) (no offence takenI know I should) Diving into the code today...so it's time!! Cheers On Thu, 2011-09-29 at 08:36 +0700, Paul Hastings wrote: On 9/29/2011 1:28 AM, Bryan Stevenson wrote: So I suppose I could just re-point the existing SMS Gateway (the runs the demo app) to point at my CFCs? yes. Which leads me to ask about how to interact with a specific Gateway if more than one is entered into CF Admin? I assume by some sort of Gateway identifier? different types (SMS, messaging, asynch, etc.) with instances of each type, each instance uniquely named. your cfdocs should have ColdFusion Event Gateway Reference section as well as Using the SMS Event Gateway in the developing cf apps section. read those, it's not all that hard (like everything else in cf). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347873 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
On 10/4/2011 2:26 AM, Bryan Stevenson wrote: What I'm hoping I can do is bypass all of that and simply start the session by texting Please enter your name and then when the user types to send Please enter your name to the test handset, use the global sendgateway() method. provide it the name of the gateway a structure holding the properties the SMS gateway requires (to/from phone, message, etc.). for incoming SMS, the driver is the onIncomingMessage method. it takes one argument, a CFEvent struct. all this is tied to the SMS gateway (where you specified the CFC w/this method). other than that this is just like any other CFC. you can create use other methods in that CFC, call other CFC's methods, etc. the text sent by the user's handset is in arguments.CFEvent.data.message (assuming the you named the onIncomingMessage argument CFEvent). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347875 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
Thanks again Pauland yes it is time I RTFM ;-) (no offence takenI know I should) Diving into the code today...so it's time!! Cheers On Thu, 2011-09-29 at 08:36 +0700, Paul Hastings wrote: On 9/29/2011 1:28 AM, Bryan Stevenson wrote: So I suppose I could just re-point the existing SMS Gateway (the runs the demo app) to point at my CFCs? yes. Which leads me to ask about how to interact with a specific Gateway if more than one is entered into CF Admin? I assume by some sort of Gateway identifier? different types (SMS, messaging, asynch, etc.) with instances of each type, each instance uniquely named. your cfdocs should have ColdFusion Event Gateway Reference section as well as Using the SMS Event Gateway in the developing cf apps section. read those, it's not all that hard (like everything else in cf). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347816 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
Hey All, I'm wondering if anyone knows how to go about using the SMS Gateway phone emulator in the CF example apps for your own testing purposes (the one that comes up when you fire up SMSClient.bat)? So I don't want to go get a carrier aggregator service and all that is required to make this work in PROD.I want to build a proof of concept app and test it via the phone emulator first (then of course I'd move to live tests later). Perhaps there are other emulators I could use? Any advice greatly appreciated! Thanks On Wed, 2011-09-21 at 09:46 -0700, Bryan Stevenson wrote: Thanks Russnice and simple explanationI like those! ;-) Cheers On Wed, 2011-09-21 at 17:28 +0100, Russ Michaels wrote: everytime you send and receive a message you get a messageID, this will identify a thread and message number. give it try and it should all make sense once you see it in action :-) -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347768 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
On 9/29/2011 12:47 AM, Bryan Stevenson wrote: I'm wondering if anyone knows how to go about using the SMS Gateway phone emulator in the CF example apps for your own testing purposes (the one that comes up when you fire up SMSClient.bat)? create CFC pointing at the test gateway. fire up the SMS test server on cf (bottom of event gateway settings page in cfadmin), start the test SMS gateway, start the mobile phone emulator on the server. that's it. understand that the test SMS server is limited to very basic functionality but it's certainly good enough for POC. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347769 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
Thanks for that Paul...so simple when someone types it out loud ;-) So I suppose I could just re-point the existing SMS Gateway (the runs the demo app) to point at my CFCs? Which leads me to ask about how to interact with a specific Gateway if more than one is entered into CF Admin? I assume by some sort of Gateway identifier? TIA Cheers On Thu, 2011-09-29 at 01:02 +0700, Paul Hastings wrote: On 9/29/2011 12:47 AM, Bryan Stevenson wrote: I'm wondering if anyone knows how to go about using the SMS Gateway phone emulator in the CF example apps for your own testing purposes (the one that comes up when you fire up SMSClient.bat)? create CFC pointing at the test gateway. fire up the SMS test server on cf (bottom of event gateway settings page in cfadmin), start the test SMS gateway, start the mobile phone emulator on the server. that's it. understand that the test SMS server is limited to very basic functionality but it's certainly good enough for POC. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
On 9/29/2011 1:28 AM, Bryan Stevenson wrote: So I suppose I could just re-point the existing SMS Gateway (the runs the demo app) to point at my CFCs? yes. Which leads me to ask about how to interact with a specific Gateway if more than one is entered into CF Admin? I assume by some sort of Gateway identifier? different types (SMS, messaging, asynch, etc.) with instances of each type, each instance uniquely named. your cfdocs should have ColdFusion Event Gateway Reference section as well as Using the SMS Event Gateway in the developing cf apps section. read those, it's not all that hard (like everything else in cf). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347781 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
everytime you send and receive a message you get a messageID, this will identify a thread and message number. give it try and it should all make sense once you see it in action :-) On Wed, Sep 21, 2011 at 4:56 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Hey All, I'm heading into my first SMS app and it is going to follow a simple question and response format... For example... Q: What is your first name? A: Bryan Q: Thanks, now what is your last name? A: Stevenson and so on What I don't know is how CF keeps all that together as a conversation. So if anyone can point me to an excellent tutorial or has some advice/tips/tricks.please lte me know Many thanks in advance to the bright bulbs out there! Cheers -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS Apps
Thanks Russnice and simple explanationI like those! ;-) Cheers On Wed, 2011-09-21 at 17:28 +0100, Russ Michaels wrote: everytime you send and receive a message you get a messageID, this will identify a thread and message number. give it try and it should all make sense once you see it in action :-) -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347560 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm