Find Jobs
Hire Freelancers

Asterisk script to with RaspberryPi GPIO support

$30-250 USD

Selesai
Disiarkan lebih dari 8 tahun yang lalu

$30-250 USD

Dibayar semasa penghantaran
I need an Asterisk script which will be running on a RaspberryPi (RasPBX). The script will interface with some GPIO ports. The script resembles a very simple and "fake" voicemail system. It shall provide an extension that will: 1) ring once 2) play greeting_file 3) wait for DTMF input of 4 a digit code for X seconds 4) if timeout the script shall play timeout_file 5) if wrong code the script shall play wrong_code_file *AND* shall pull a GPIO (BCM) port 5 to GND for 150ms (+/-50ms) 6) if correct code then the script will play correct_code_file *AND* shall pull GPIO (BCM) port 6 to GND for 150ms (+/-50ms) 7) after end of correct_code_file play menu_file 8) then wait for single digit input for X seconds 9) if timeout the script shall play menu_file again 10) if 1 has been entered then play correct_code_file again and go to 7) 11) if 2 has been entered then hangup GPIO (BCM) port 13 is configured as an input. If that is LOW then the script shall play all prompts (voice files) in another language (language 2) One way to go about this might be to use external python scripts. So when ever a GPIO should be triggered then the Asterisk script would call the python script. The language switch could also be done via a python script that continuously monitors the GPIO port 13. When the port is LOW it will rename a folder called "language_inactive" to "language_active" and vice versa when the port is HIGH it will revert the process. That is obviously a simplification as you would not be able to rename in just one step. :) The way you deal with GPIO is totally up to you. The examples with the Python scripts were just meant as an example of how to possibly go about this. Please make sure that your bid starts with the sentence "Yes, I have!" so that I know that you have fully read this project description. Otherwise your bid will be ignored.
ID Projek: 8521448

Tentang projek

4 cadangan
Projek jarak jauh
Aktif 9 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
"Yes, I have!" Hello dear sir, i dont work with RaspberryPi before but i read about python on Pi and i think can make this project for you. Please contact me. Thanks.
$166 USD dalam 3 hari
5.0 (6 ulasan)
3.0
3.0
4 pekerja bebas membida secara purata $195 USD untuk pekerjaan ini
Avatar Pengguna
Hi i can help you!!! I have experience .
$222 USD dalam 3 hari
4.8 (35 ulasan)
4.8
4.8
Avatar Pengguna
Yes, I have!
$127 USD dalam 5 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera GERMANY
Hamburg, Germany
5.0
76
Kaedah pembayaran disahkan
Ahli sejak Feb 7, 2006

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.