How to capture input numbers during IVR

Is there a way to save the user input. Like ,say I have an IVR that asks customer to punch in 10 digit phone number. Is there a way to store this number in some database for further check?

Thanks!

anyone can help answer this? I’m interested in this too. Thanks.