Off course, you would have to add another "get Digits string" step and store is as another variable. And in the body of the script refernce both variables. You can also get the ANI digits automatically, but I think it would be better to ask the caller, so he can specify different number. Or you can read the collected ANI number to the customer and ask if this is the number he/she wants to use for callback, if yes press 1, to specify another number press 2, and then collect the digits.
These are the paths to get to each CCX logs through CLI. They may be helpful if you are having issues accessing RTMT or downloading logs through it.
If you want to download them you have to prefix "file get " and you can add one of the options (re...