Need Help in Web CallBack Service

I am building a phone number verification system for app.
In this we call on the phone number and once number just for 2 sec and then disconnect like trucaller verification.

For that I have installed FREEPBX on VPS and also activated Web call back services for API to be included in our APP. Now my problem is i can able to make a call but that call last for 30 sec. I mean I want to disconnect the call made by my freepbx in just 5 sec. Please help.

Any body used this service plz help