FireBrick Call Recording: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 78: | Line 78: | ||
So, for example, if you wanted to run ''voip-answer'' with a call recording script at ''/voipuser/voip-answer/python/voip-rec-email/voip_rec_email.py'', serving wav files for announcements from ''/voipuser/voip-answer/sounds/'', you would run it with: |
So, for example, if you wanted to run ''voip-answer'' with a call recording script at ''/voipuser/voip-answer/python/voip-rec-email/voip_rec_email.py'', serving wav files for announcements from ''/voipuser/voip-answer/sounds/'', you would run it with: |
||
./voip-answer -r /root/voip-answer/python/voip-rec-email/voip_rec_email.py -d /voipuser/voip-answer/sounds/ |
|||
=Using the A&A / FireBrick call recording software for announcements (e.g. out of hours announcement)= |
=Using the A&A / FireBrick call recording software for announcements (e.g. out of hours announcement)= |
||
| Line 100: | Line 100: | ||
Files to be played back can be put in any directory readable by ''voip-answer''. You tell it which directory to look in by using the ''directory'' or ''-d'' switch. For example: |
Files to be played back can be put in any directory readable by ''voip-answer''. You tell it which directory to look in by using the ''directory'' or ''-d'' switch. For example: |
||
./voip-answer -d /voipuser/voip-answer/sounds/ |
|||
== Triggering the announcement / playback files == |
== Triggering the announcement / playback files == |
||
| Line 109: | Line 109: | ||
=== Prefixes (in this order) === |
=== Prefixes (in this order) === |
||
XXX= This call is not to be answered, but call progress. XXX is final status |
XXX= This call is not to be answered, but call progress. XXX is final status |
||
= This call is not to be answered, but call progress. End with constant ringing |
= This call is not to be answered, but call progress. End with constant ringing |
||
- Add a ring, may be repeated |
- Add a ring, may be repeated |
||
! Add a SIT, may be repeated |
! Add a SIT, may be repeated |
||
N* The playback sequence is to be repeated N times |
N* The playback sequence is to be repeated N times |
||
=== Filenames === |
=== Filenames === |
||
| Line 123: | Line 123: | ||
=== Suffixes, one applies === |
=== Suffixes, one applies === |
||
=filename Record to file |
=filename Record to file |
||
* Silence |
* Silence |
||
# Refer to # |
# Refer to # |
||
So if you wanted two rings, followed by playback of a file called "on-holiday.wav", you would specify the following SIP URI: |
So if you wanted two rings, followed by playback of a file called "on-holiday.wav", you would specify the following SIP URI: |
||