We are looking for a flash sip phone which can be embedded to our website. It should work this way and have the following functions:
. User clicks on a call-button
... Url ([url removed, login to view]) is accessed and returns 'true' or 'false' (this will check how many times the user clicked the call-button to prevent abuse)
... If false: display message 'blocked due to abuse'
... If true: access url ([url removed, login to view], this will log the call and return a unique id like '1234567890')
..... Enable mic and maximize mic volume
..... Enable sound
..... Show message 'please say your name'
..... Show volume slider
..... Hide call-button and show hangup-button
........ When user said his/her name (if audio is detected for a few seconds, to prevent users from calling without having a mic) then proceed, else show message 'sorry we did not hear you, please check your mic and say your name' and wait until user says his/her name
........... Show message 'connecting'
........... Set unique id (see above) as callerid
........... Show buttons: volume slider / hangup-button (already visible) / number 0-9, * and # (DTMF)
........... Connect to Asterisk SIP account (login details should be coded in the swf file and not be visible to users)
........... Call extension which is set in a hidden input field or passed as parameter in the url, the flash phone should check if it's a number between xxx and xxx
................ When connected show message 'connected' (connection will occur directly cause the caller calls to an IVR)
................ When user or customer support hangs up it should return to the home screen and show the call-button again
Error messages on:
- false extension / sip errors (don't show error, just a message 'error, please try again')
- connection errors (for example if the internet connection is down, show message 'error, please check your internet connection)
We will code the PHP files and provide you with the following details:
- SIP accounts with echo for testing purposes
- Urls for testing purposes ([url removed, login to view], [url removed, login to view])
Because we would like to modify the flash sip phone, we would like to have a fla-file instead of a compiled swf-file. You don't need to design anything, this will be done by us, you can just use basic buttons and text messages.