Re: [ACFUG Discuss] Coldfusion 9 and IVR

2013-03-18 Thread Nelson Winters
I'd recommend looking at Voxeo and Twilio.  They don't provide traditional
IVR solutions, but may be able to do what you're looking for.

-Nelson


On Mon, Mar 18, 2013 at 11:15 AM, Ajas Mohammed ajash...@gmail.com wrote:

 Good morning,

 I am about to start working on a project with CF 9 and IVR (Interactive
 Voice Response). I googled and found some results but I would like to
 know your input (tools or third party products to use) if you have worked
 on project involving IVR.

 Thanks,

 Ajas Mohammed /
 iUseDropbox(http://db.tt/63Lvone9)
 http://ajashadi.blogspot.com
 We cannot become what we need to be, remaining what we are.
 No matter what, find a way. Because thats what winners do.
 You can't improve what you don't measure.
 Quality is never an accident; it is always the result of high intention,
 sincere effort, intelligent direction and skillful execution; it represents
 the wise choice of many alternatives.



Re: [ACFUG Discuss] Tricky SQL help?

2012-04-09 Thread Nelson Winters
FYI, According to the docs, MySQL 5.0 supports the COALESCE() function.
 Also, you don't need to pass the null in the function (it defaults to null
if all the values are null).

http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#function_coalesce


-Nelson


On Mon, Apr 9, 2012 at 12:53 PM, Tepfer, Seth la...@emory.edu wrote:

  Nathan reminded me I didn’t give full info:

 **· **Small data set 1K records

 **· **Using MySQL 5.0

 ** **

 Sure, I have a working answer with query1 (students with Temp or Perm),
 query2 (all students except those returned in Q1), Union Q1 + Q2.

 ** **

 But There has to be a more efficient method. I know with our servers and
 the recordset, the need for efficiency is minimal, but I don’t want to be
 lazy or miss a chance to learn new techniques. 

 ** **

 Isn’t MySQL faster than CF at doing the select? If I can do it all in one
 call, isn’t it better to make MySQL do the heavy lifting?

 ** **

 *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Charlie
 Arehart
 *Sent:* Monday, April 09, 2012 11:01 AM
 *To:* discussion@acfug.org
 *Subject:* RE: [ACFUG Discuss] Tricky SQL help?

 ** **

 Just a guess, with the limited info, but it seems to me that you’d just
 want then for the query to get “all the students”, and make the decision as
 to what address to “show” in CFML while looping over the results. Or do you
 have some reason to want to do this all in a query?

 ** **

 /charlie

 ** **

 *From:* ad...@acfug.org [mailto:ad...@acfug.org ad...@acfug.org] *On
 Behalf Of *Tepfer, Seth
 *Sent:* Monday, April 09, 2012 10:45 AM
 *To:* discussion@acfug.org
 *Subject:* [ACFUG Discuss] Tricky SQL help?

 ** **

 I know this is not strictly a CF issue, but I’m trying to find the most
 efficient way of doing this, and a single query seems faster than 2 queries
 plus a query of queries.

  

  

 I have two tables, one of student names, one of addresses. ** **

  

 *Students*: id, name, emplID

 *Addresses*: emplID, addressType, addressline1, city, state, 

  

 *Student table data:*

 1, john dooley, 1234567

 2, jane dooley, 2345678

 3, tom dooley, 33456780

  

 *Addresses table data:*

 1234567, onCampus, 101 Dowman, null, null

 1234567, home address, 100 main street, springfield, IL

 1234567, permanent forward, 120 main street, Atlanta, GA

 2345678, home address, 200 main street, springfield, MO

 2345678, temporary forward, 130 main street, Atlanta, GA

 3456789, home address, 300 main street, springfield, GA

  

 Every student has a home address. Some have permanent or temporary
 forwards. The query results I want to return are 

 · All the student names

 · If they have permanent or temporary forward, that address

 · If they do not, a null for the address (NOT the home address or
 onCampus address)

  

 I’ve tried an outer join with a ‘where addressType = ‘permanent or
 temporary’, but that doesn’t give me all the names, just the ones with a
 forward. 

 Thanks for any time you can give.

  

 ** **
  --


 This e-mail message (including any attachments) is for the sole use of
 the intended recipient(s) and may contain confidential and privileged
 information. If the reader of this message is not the intended
 recipient, you are hereby notified that any dissemination, distribution
 or copying of this message (including any attachments) is strictly
 prohibited.

 If you have received this message in error, please contact
 the sender by reply e-mail message and destroy all copies of the
 original message (including attachments).


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 - 


 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 - 

 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 -



Re: [ACFUG Discuss] expected xmlsearch behavior

2008-04-21 Thread Nelson Winters
One thing that may not be obvious is that you can do the following to
get to the parent of a node:

cfset parent = XmlSearch(blah[1], ../)

-Nelson


On Mon, Apr 21, 2008 at 9:00 AM, Steven Ross [EMAIL PROTECTED] wrote:
 I'm about to blog about this but, wanted to get everyone's perspective
 first.

 Check out this bit of code (read inline comments). I believe it is sort of a
 bug (or at least a 'gotcha')  in the way CF sees xml search results.





 cfxml variable=test

 test

 node

 nodes

 nodelineblah1/nodeline

 /nodes

 nodes

 nodelineblah2/nodeline

 /nodes

 nodes

 nodelineblah3/nodeline

 /nodes

 /node

 /test

 /cfxml




 cfset blah = XMLSearch(test, //nodes)/




 cfset blah1 = blah[1]/




 cfdump var=#blah1# !--- root node in dump appears to be nodes  but
 dump of blah1.nodes fails. it only works if you dump blah1.nodeline ---




 cfdump var=#blah1.nodes# !--- this line fails ---





 cfdump var=#blah1.nodeline# !--- this does not ---







 And of course if you ToString the results and then xml parse again then you
 get the expected CF behavior ie:




 cfset xmlStr = ToString(blah[1]) /




 cfset theXML = XMLParse(xmlStr) /




  cfdump var=#theXML.nodes#








  -Steven




 --
 Steven Ross
 web application  interface developer
 http://blog.stevensross.com
  [mobile] 404-488-4364 [fax] (404) 592-6885
 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
 -
 Annual Sponsor - Figleaf Software

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -


-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-