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/tomorrow....may 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