• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

VAD: Audio Record Comp. & Sending Mail: How2?

Status
Not open for further replies.

callerID2010

Joined
Sep 15, 2010
Messages
5
Reaction score
0
Hello everybody,

we are sitting in front of the 3CX VAD (Commercial Editions of 3CX VAD and 3CX V8 latest Release) having a understanding problem. Please don*t laugh out load reading the following question: :shock: :lol:

We have build a MainFlow and tried to implement the Call Related Component >Record<. Can anyone please explain us how it is possible to record and store the recorded caller voice message-file into a extra folder (for example named: audioofclients) of the project and after that how to get the funktionallity to send the voicemessage-file with the E-Mail Sender (Advanced Components) after "boxing" the E-Mail-Sender Component into the Audio Recorded Part of the Record Component (maybe the wrong way?) .

We can´t find out how the E-Mail-Sender Component does know where to get the recorded messages of the caller.
How do we have to name the Filename in the record Component and how do we tell the record component where to storage the created >record caller message<-audio-file to let it be send by the E-Mail Component after the customer has finished the message recording.

I am very sorry for the point that my english explenation is more lousy than it should be.

Sunny Greetings
JAn
 
Hi Jan,

When you record the audio from the caller, you can specify where to save it using an expression. So, if you want to name the file Record.wav and put it under the folder named audioofclients, then you should use the expression 'audioofclients\\Record.wav' (with quotes because it is a constant javascript string). The folder needs to exists, so you may need to manually create it before the first recording. The folder should be under %ProgramData%\3CX\Data\Http\Interface\ivr\ProjectName_BuildNumber or %ProgramData%\3CX\Data\Http\Interface\ivr\ProjectName_BuildNumber_Debug (depending on the build deployed). You may also specify an absolute path outside the deployment folder (for example 'C:\\audioofclients\\Record.wav'), so you don't need to create the "audiooffiles" folder after each deployment, but that may require some permission settings depending on the web server you're using (for example, IIS does not allow writing outside %ProgramData%\3CX\Data\Http\Interface\ivr by default).

Once you have the file saved to disk, you may attach it to an e-mail. To do that, you need to configure the Attachments collection in the E-Mail Sender component. That collection has 2 fields:

- Name: it is the name that will be used in the e-mail. If you user for example "Audio.wav", the e-mail will show the attachment with that name, no matter what name it originally had in the server file system. For example, it could be named "Record.wav" originally, but in the e-mail it will be shown as "Audio.wav".

- File: it is an expression to locate the file in the file system. It can be relative to the current foler (%ProgramData%\3CX\Data\Http\Interface\ivr\ProjectName_BuildNumber or %ProgramData%\3CX\Data\Http\Interface\ivr\ProjectName_BuildNumber_Debug), or it can be an absolute path. Here you should use the same expression used in the Record component to save the file.

That should be all. Let me know if you're having any problem with this.

Regards,
 
Hello,

and thank yur very much for your fast reply with detailed information how to handle it.
We try to work it out in this way and will let you know about the result.

Is there also a possibility to get the recorded file storaged with date+time as a part of the file name?
And also call informations like the caller-id shown in the mail subject?

Once again, a very big thank you for your team.

Best regards
JAn
 
Yes, both things are possible.

The file name where the recording is saved is an expression, so you can create an expression that concatenates the date and time. The current date and time can be easily calculated using JavaScript or the the NOW() VAD function.

The callerid is available as a session property, so you can create an expression for the e-mail subject concatenating it there.

Regards,
 
Hello,

thank you very much again for your fast reply. We feel well to chose 3CX commercial of cause of that excellent service.

We searched file directory but could not find the folder
%ProgramData%\3CX\Data\Http\Interface\ivr\ProjectName_BuildNumber or %ProgramData%\3CX\Data\Http\Interface\ivr\

There is no folder created like

\Http......

under

C:\%ProgramData%\3CX\Data

or elsewhere.
We use the internal of cause it is 3CX promoted, no IIS with our MS Server 2008.

Our Versions:
3CX V8.0.10824
3CX VAD 2

In hope hearing from you soon. Best wishes.

Sunny Greetings
JAn
 
In your 3CX server, go to Start -> Run -> and then enter the following text and press ENTER:
%ProgramData%\3CX\Data\Http\Interface\ivr

That should open the folder where the IVR locates its files. Have in mind that %ProgramData% is an environment variable, which is normally set to "C:\ProgramData", but it depends on the operating system used (for example, older OS like Windows XP have that folder in C:\Documents and settings).

Are you still having problems opening the folder?
 
Dear vad_support,

a)
we followed your instructions and recorded files will be saved and send by mail now. Thank you very much for your support. But the Record.wav file will only be saved with a caller message and send when the caller presses the * button after he spoke the message. Is it allways necessary to press the > * < key on a phone to get a message beeing saved as a Record.wav? It should be also saved and send by mail when the caller ends a spoken message by just hanging up the phone.

b)
Different to the mailbox of a user extension where any call is recorded in a own file, in the vad project the "record.wav" will be overwriten anytime a new caller message will be spoken. How is it possible to save every message in a own file?

c)
is there a expression-catalogue available which supports us to learn every expression and its meaning or result, for example how to write the date and the time format in the mail when a caller message arived?

Best regards

sunny greetings
JAn
 
Hi,

In regards to your questions:
a) When the caller hangs up, the callflow continues in the Disconnect Handler flow. You can change the view to that handler selecting the tab at the bottom. There you can send an e-mail with the file attached in that condition too.

b) To use a different file name for each call you can use an expression to create the file name. You can use the Call ID, the date and time, or whatever you need to choose a different name.

c) The user's manual contains the list of VAD functions available with a description. Also, you may use JavaScript functions (all the JavaScript library is available), or even a .NET component and you will have all the .NET library available.

Regards,
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,980
Messages
751,554
Members
145,449
Latest member
itguys04
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.