Email Call Recordings

CraigJC
Posts: 3
Member Since:
2008-08-12

I'd like to write a script that will email the call recording once the call has ended. I've been taking a look around Trixbox, but can't seem to find the script that parses the call recording, and saves it to a folder.

Can anyone point me in the right direction of the script I need to edit to enclude my email script?

Im running Trixbox 2.6.1



ethans
Posts: 519
Member Since:
2007-01-16
There isn't a script that

There isn't a script that does it. You would need to write a program and put it on a cron job to monitor the /var/spool/asterisk/monitor directory and do what you want.



CraigJC
Posts: 3
Member Since:
2008-08-12
Oh ok I see. I noticed that

Oh ok I see.

I noticed that my monitor directory has several sub directories all called monitor, with what appears to be the same files in.. is this normal?



stechnique
Posts: 733
Member Since:
2008-02-21
The monitor folder contains

The monitor folder contains a symbollic link to itself.
There is a faulty module in freepbx (or trixbox, can't remember) that creates it, but you can safely ignore this, and the files are all there just once ;)



atilio
Posts: 288
Member Since:
2006-06-01
you can remove the symbolic

you can remove the symbolic link with

rm -rf monitor

make sure it's the symbolic link and not the actual directory.



CraigJC
Posts: 3
Member Since:
2008-08-12
Ok cool, thanks.

Ok cool, thanks.



ddwyer
Posts: 401
Member Since:
2006-06-03
i wrote a script to do this

i wrote a script to do this check out the trixbox post about .ics files



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.