Mobile app android only
Compatible with older versions of android
The goal/usage of the app will be :
0- there is a database (phpmyadmin) containing good or bad phone number [id,phone_number,type (sms/phone),status(good/bad), rank]
1- when The user click on the launch app button
2 - the app make a GET /valid_phone_number
3- the api returns a phone number which is marked as "good"
4 - the app launch a phone call using this number
4.1 - if the phone call is successfull (the call is not immediately hung up / the duration of the call is more than 10 seconds) THEN the app make a new GET to the api in order to pick another good phone number AND THEN, the app create a conference call with this new number
4.2 - if the phone call fail (the call is immediately hung up/ the duration is less than 10 seconds) THEN the app make a POST or PUT to the API in order to set the line containing this phone number as bad.
5 - the goal here is to always have about 6 differents phone numbers in the conference. 24/24, 7/7
That is, :
- WHEN a phone call fail because the number was detected not good, the app immediately try to make another call, and add this new call in the conference.
- WHEN a phone call which was good, finally ends because it reached an existing telecom operator limit (1or 2 hours for example) THEN the app try to relaunch this call (if it works then ok, else the app can set it as "bad" using the api)
6 - Please also provide a mean to stop the calling process : it can be the hang off button of the phone if you use the default phone of the smartphone, or a button on the app screen.
Note that here, there are two main features to build :
- the one in charge of : making a first call and then continuously adding a new call in the conference if there are less than 6 ongoing calls
- the other in charge of : calling api to get or update phone number stored in a database .
preferred language : java for the mobile app or flutter / php for the api (because i need something that can be deployed easily)
Also, provide working source code to me + installation process.
Thank you for your help and don't hesitate to request more info.