Koozali.org: home of the SME Server

SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« on: April 24, 2009, 12:02:17 PM »
Hi all

Just put these two releases up.  Voice recording has been further enhanced.  Users can now specify where they want their recordings to end up (there is a target field in Globals).  Default is /home/e-smith/files/primary/files/monitor.  It is the user's responsibility to create the target directory (SAIL won't do it for you).  Regular OTR now works in either direction so you can OTR both outgoing and incoming.  You will need to take advice to gauge the legality, or otherwise, of outgoing OTR (and indeed recording in general) in your country before you use these features. 

Best

S   

« Last Edit: April 24, 2009, 05:44:47 PM by selintra »

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: SARK/SAIL 2.2.1-758 & 2.3.1.4 - More Voice recording stuff
« Reply #1 on: April 24, 2009, 04:48:53 PM »
I'm testing this release but...

I see the additional "Call Recording" pull-down options but I don't see the interface where users can specify "where they want their recordings to end up" or the mentioned "there is a target field in Globals" to specify the path.

When I select "inbound", "outbound", or "both" the recordings are placed in the default /var/spool/asterisk/monitor directory not /home/e-smith/files/primary/files/monitor as mentioned even after I created the monitor directory.

Under -745 I had OTR working but now it doesn't function at all.

I went as far as to completely uninstall Sail then install reinstall -758

if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK/SAIL 2.2.1-758 & 2.3.1.4 - More Voice recording stuff
« Reply #2 on: April 24, 2009, 05:00:25 PM »
IN globals there is a field called "Path to recording directory:" in general settings

Have you issued a commit after installing the new version?

For OTR check features.conf and and what the OTR value is set to (automon).

no need to uninstall for 758.

 

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: SARK/SAIL 2.2.1-758 & 2.3.1.4 - More Voice recording stuff
« Reply #3 on: April 24, 2009, 05:12:59 PM »
I've tried a commit, reconfigure, reboot and all combinations.
I checked features.conf and automon=1 was already set.

Here's a cut-and-paste of my server-manager page:
Globals
Version: sail-2.2.1-758
   Local IP: 192.168.1.30
   System Name: asterisk
   media type: disk
   DiskUsage: 14%
System Mode: serveronly
   Total Memory: 515240
   Used Memory: 449844
   Free Memory: 65396
   USB DiskUsage: Not Found
Serial #: 695144
   Shared Memory: 0
   Buffers: 32312
   cached: 188548
   Logging to: Disk
Swap Memory: 1048568
   Swap Used: 0
   Swap Free: 1048568
   Ext Length: 4
   System Type: FULL
Asterisk State: RUNNING
   HAE State: Not Installed
   Nodetype: PRIMARY
   Virtual IP: 192.168.1.30

GENERAL SETTINGS
   Your External IP Address:    
   Your Country Identifier:    
   Optimize Speech for:    
   Log CDR to MySQL:    
   Call Recording:    
   Voicemail Instructions:    
   Late Termination:    
   Conference Type:    
   Skin:    

EXTENSIONS
   Extension Start Number:    
   Dynamic Proxy Enable:    
   Proxy Ignore List:    
   Default Ring Time(seconds):    
   Class Of Service ON/OFF    
   Agent Start:    
   Auto create alias digits:    
   System Operator(default 0):    
   Operator Real Extension:    
   EMERGENCY:    

AUXILIARY SERVERS
   TFTP Server:    
   Flash Operator Panel:    
   Spamassassin(spamd):    
   Squid Proxy:    
   CLAM AV & Freshclam:    
   Multitimer:    

VINTAGE EMULATION
   Alert-Info for Blind Xfer Bounce:    
   Campon mini-queue ON/OFF:    
   Bounce busy destination:    
   Campon mini-queue options:    

VoIP SETTINGS
   Max LOCAL VOIP Calls:    
   Max Outbound VOIP calls:    
   Induced Voip Ring Time (seconds):    

PASSWORDS
   4-digit Password for FOP Ops:    
   4-digit Password for KEY Ops:    
   4-digit Password for Agent Spy:    

TONES
   Play tone on Congested:    
   Play tone on Busy:    
   Play tone on Failover:    
   Autosense FAX Extension:    
   FAX Detect Delay:    

DIAGNOSTICS
   Supervisor Email:    
   Diagnostic Alerts:    
   SMSC Pathway:    
   SMS Alert Numbers:    
   Email Alert Addresses    

LOGGING
   Logging Options:    
   VLIB libraries    

if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #4 on: April 24, 2009, 05:46:58 PM »
Yes we have found an error in the build process

-759 should do it for you.

Don't forget to create a directory (NOTa link) called monitor, in home/e-smith/files/primary/files

Let me know how you get on.

   

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #5 on: April 24, 2009, 08:12:57 PM »
notes for Selintra -

(under -745 I had OTR working) -759 issues:

> OTR doesn't function even when both the Globals and Extensions are set to OTR and automon=>*1

>When Globals and Extensions are set to "both" call recordings for external calls only* are dumped** to /var/spool/asterisk/monitor regardless of what path is defined in Globals (/home/e-smith/files/ibays/intranet/monitor was created and chmod a=rwx).

* internal calls are not recorded anywhere
** the call recording is split into two separate files xxxx-yyyy-zzzz-out.wav contains only the outside callers speech path and xxx-yyy-zzz-in.wav contains only the internal extensions speech path. -745 recorded calls consisted of a single file with bi-directional speech path capture.

I tried other combinations but nothing else worked so far... One other issue that may or may not be related but since the upgrade the echo cancellation (OSLEC) seems to be non-functional for zaptel hardware (TDM400P) - calls sound like you are in a large conference room
« Last Edit: April 24, 2009, 08:28:14 PM by PWDasterisk »
if at first you don't succeed then keep on reading until you do succeed...

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #6 on: April 24, 2009, 09:51:28 PM »
I also upgraded and lost OTR :(
Will try 2.3.1-4 and report.

Thanks,

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #7 on: April 24, 2009, 10:26:58 PM »
OK - re-tested 759 on a clean machine here and it works as advertised.  So... why are your results different to ours?

We think it may be down to version of sox you have.  Please show us the output from sox -h - we want to see the version number of sox.

Also - PWD - you mention internal recording - there is none.  You can record inbound, outbound, both, none or OTR.  One of the speakers always has to be external.

You also mention OSLEC.  OSLEC has not been available since we stopped using our own asterisk rpms (pre ATrpms) and won't be available again until you move to DAHDI (and even then it is a few releases away, although HPEC is available now). What release of asterisk were you running before?


Kind Regards

S







« Last Edit: April 24, 2009, 10:31:08 PM by selintra »

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #8 on: April 24, 2009, 10:37:04 PM »
sox -h
sox: Version 12.17.5

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #9 on: April 24, 2009, 10:38:28 PM »
same here...
sox -h
sox: Version 12.17.5

I built and compiled zaptel with OSLEC independently and it was working great - ironically I had just finished tuning/testing it last week... it's also the reason I'm not jumping to DAHDI.

# uname -sr
Linux 2.6.9-78.0.13.EL

# modinfo zaptel
filename:       /lib/modules/2.6.9-78.0.13.EL/extra/zaptel.ko
author:         Mark Spencer <markster@digium.com>
description:    Zapata Telephony Interface
license:        GPL
version:        1.4.11 D5EF1E230AECAE95950A8C7
vermagic:       2.6.9-78.0.13.EL 686 REGPARM 4KSTACKS gcc-3.4
depends:        crc-ccitt

> core show version
Asterisk 1.4.21.1 built by root @ asterisk on a i686 running Linux on 2008-11-27 04:47:09 UTC

Globals
Version: sail-2.2.1-759
« Last Edit: April 24, 2009, 11:01:27 PM by PWDasterisk »
if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #10 on: April 24, 2009, 11:22:14 PM »
yup - its sox - you need 12.17.7

see this reference here

http://www.voip-info.org/wiki/view/Monitor+setup+sample

section "use latest sox"

we are using 12.17.7-3 (which is an FC4 item - don't know why it isn't in EL4).  If you can't find it, then just for now you can get it from here

http://aelintra.com/sox-12.17.7-3.i386.rpm

We'll research a public item later but for now, this should get you going.

Best

S

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #11 on: April 25, 2009, 12:08:52 AM »
sox -h
sox: Version 12.17.7

did basic testing and it worked so far... will test further as soon as I get a chance ...Thanks, Phil
if at first you don't succeed then keep on reading until you do succeed...

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #12 on: April 26, 2009, 01:15:41 AM »
Thank you!
This worked  :smile:

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #13 on: April 27, 2009, 04:02:30 AM »
If upgrading from v2.2.x series:-
=================================
Commit to save globals - retaining all old configs and extensions.
wget http://aelintra.com/sox-12.17.7-3.i386.rpm
rpm -Fvh sox-12.17.7-3.i386.rpm

sox -h (will give the version currently installed)

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: SARK/SAIL 2.2.1-759 & 2.3.1.4 - More Voice recording stuff
« Reply #14 on: April 27, 2009, 11:16:23 AM »
Thanks

We've put a note into the install guide.

Best

S