Thanks for clarifying everything you're looking for on the phone.
For your situation there are two different setups. The first being the allowing the user to be called at a requested phone number and record their message. You will want to utilize broadcast.create - secure.ifbyphone.com/developers.php for this.
The next scenario, allowing users to upload their own audio files, is more complex and requires the use of our SurVo/IVR application to dynamically insert .wav files.
Once the file is uploaded, you will want to follow the Custom SurVo Audio Prompts documentation - secure.ifbyphone.com/developers.php. This allows you to create the parameter in your SurVo which you can dynamically change to the audio file uploaded per user.
Finally, you will have to use the Click-to-SurVo (CTS) command - secure.ifbyphone.com/developers.php - to reference the created SurVo on demand and generate the broadcast. The bottom half of the CTS documentation page outlines how to schedule the CTS Broadcast.
I have created a Survo and added a question with the below settings : Use wave file : true Question type : prompt only
and i have selected the wave file as "parameter", and set the parameter as "UserRecordedMessage"
So, when i want to schedule a broadcast using API then how can i pass a value to the parameter ? can i give an URL like http://myserver/usermessages/message.mp3 . does it accepts like this ? and if it accepts, do i need to send the server user credentials also ?
I mean when ifbyphone try to broadcast my message then it has to get the recorded sound file from our server, then ifbyphone need to be allowed to access a file from our server .... right ?
Please help me on this. Mohan
-- Edited by Mohan on Friday 11th of July 2014 11:20:12 AM
-- Edited by Mohan on Friday 11th of July 2014 11:48:38 AM
There is further information on using custom audio prompts in the Developer Guide in your account as well. https://secure.ifbyphone.com/developers.php?a=custom_audio
Let us know if you have further questions
Best Regards,
Chris White
Customer Support Engineer
-- Edited by CWhite on Friday 11th of July 2014 01:00:37 PM
There are just a couple problems in the API call you provided. I've included a breakdown below, plus a corrected version which I just tested successfully.
secure.ifbyphone.com/click_to_xyz.php? app=cts &acct=245694 (acct is not a necessary argument, this can be removed) &scheduleonly &survo_id=924564 (this is an invalid survo ID, but the format is correct) &user_parameters=UserRecordedMessage|Survey/9236244/Test1.wav (9236244 is an invalid ID, thus the filepath is incorrect. Usually this ID should match the ID above) &key=[removed for security] &type=2 &cid=8565236514523770 &sdate=2014-07-16+11%3A18 &edate=2014-07-16+11%3A28 &tz=Eastern &phone= (phone to call should go here) &dstime=00%3A00 &detime=23%3A59