Hi, I need a telegram b0t connected to an asterisk extension that has 8 different buttons.
All the buttons must program a call to a number that will always be the same, and 5 seconds after the recipient answers, each button will dial two different numbers.
I press the first button, asterisk generates a call to phone X, and once it answers that number it waits 3 seconds and dials number 11.
I press the first button in telegram, asterisk generates a call to phone X, and once it answers that number it waits 5 seconds and dials number 11.
I press the second bot button in telegram, asterisk generates a call to phone X, and once it answers that number it waits 3 seconds and dials number 21.
And so on with the rest of the buttons.
After dialing any number, the bot must perform a voice recognition in Spanish of the message returned by the switchboard that has called and dialed the number (11, 21, etc.) and return that message as a message in Telegram.
Once the button has been pressed, the b0t must report the status of the call in Telegram, in this scheme:
- Answered / ERROR (if no answer)
- Code sent.
- Answer: "Whatever the switchboard has said in voice recognition once the code has been dialled".
- End of call.
If you have read this far, write potato in your proposal, this is not a joke. After these messages, the button table with the different codes should be displayed again as the last message.
The context is as follows. In order to send their status to the coordinating centre, emergency paramedics have to call a telephone manually and dial a code, e.g. 21, 11, 31, etc. Each code once dialled indicates to the coordinating centre whether they are en route, attending to the patient, transferring the patient, or have finished, among others.
The idea is to simplify the process and that they simply have to touch a button on telegram to transmit their status.
4 freelancers are bidding on average $24 for this job
potato Hi! I am a developer proficient in python. I have some experience with the telegram bot API. Message me and we'll discuss your project! Sincerely, Andrii