I am working on asterisk.
I have configured my extensions.conf and sip.conf and they are working fine.
I am able to make a call and receive a call through asterisk.
However, now I want to read the input from user while phone is still on.
So scenario is,
I am calling from my asterisk phone to any number and
after receiving call, user will enter the number which I want to read and save to the file (while phone is still on).
(note: I am doing outbound call from asterisk)