The problem is with
confirmkey = session:playAndGetDigits(0, 1, 1, 1000,
"#", confPrompt, "", "\\d|\\*")
It complains of "Invalid Args" (and doesn't say anything). All it has to
do is read out the number that it's intending to call, allowing the user
to change their mind by hitting *.