Asterisk busy disconnect

Hei Hi guys,
i have an alarm-server and the alarm-server make a call to soft voip, and i will if 2 members is in a call and the alarm-server will be call one of them member, the server have to terminate the call beetween members and connect with member for example 101 how can I implemant this, have the asterisk this function ? (I am using also freepbx asterisk)

Thank you and best regards

Muri