The main task is following: as soon as my parent(one landline and one mobile) call the access number, wait one or two second, hangup, then send the number to my asterisk. That's all for your asterisk.
This is a call-back feature of asterisk. However, I am not able to call your parameter such that you know who is calling and then you make a call to your parent.