We have two different platforms on two different servers that do different things:
1st:
Speakageline
It's a platform that publish the audio of a phone calls on the web.
It has a user creation and management interface, plugin for receiving and publishing on different platforms.
2nd:
LivePetitions
It's a public platform that offer the creati0on of petitions and sign it.
---------------------------
The goal of the work is to connect the two platforms, to give the signers of petitions the options to make a phone call and publish it on the web as flash mp3 player message.
---------------------------
IN ATTACHMENT ALL DETAILS
## Deliverables
We have two different platforms on two different servers that do different things:
1st:
Speakageline
It's a platform that publish the audio of a phone calls on the web.
It has a user creation and management interface, plugin for receiving and publishing on different platforms.
2nd:
LivePetitions
It's a public platform that offer the creati0on of petitions and sign it.
---------------------------
The goal of the work is to connect the two platforms, to give the signers of petitions the options to make a phone call and publish it on the web as flash mp3 player message.
---------------------------
Take a look and tell me if you think is more easy to create a new istance of Asterisk, or to use the existing speakageline system. Take note that I need to easely create new SIP numbers with different SIP providers around the world. As will can see in speakageline platform, actually now its possible.
If the choice is to connect the actual existing 2 platorm I will create a news istance only for this purpose.
this can be the flux:
connection between asterisk server (speakageline) and web server applications
create a new dialplan plugin (with a single number, using a PIN, you can publish in different petitions)
FO = livepetitions server
SE = speakageline server
1. FO user sign
2. FO when signed the page show a phonenumber to be called and give the user a PIn to use (to connect his phonecall with his user and sign)
3. FO call a php on SE sending the PIN and sign ID
4. SE save on DB PIN and ID associated
5. SE receive the call
6. SE check if inserted PIN is present in db
7. SE if PIN is ok: register the file in a path. (example: $id-$[login to view URL])
8. SE convert wav in mp3
9. SE call a php on FO "saying": user $id has a message and he is $here
10 FO reassociate mp3 to the sign ID and download mp3
11 FO will show the flash player near the sign id.
12 FO will create/update a dedicated sign list view where there are only audio messages
12 FO create a player that will play all audiomessages (FLV) in sequence, and put it on the main petition page.
the most important issue is to make dialplan interact with mysql
other Speakageline changes:
-add the option to change/upload a new IVR voice prompt based on an uploaded mp3
-add the option to choice if the petition will use a standard phone number+pin or a dedicated phone number only for that petition.