#108 ✓resolved
Roland Moriz

Problem with Call record()

Reported by Roland Moriz | August 10th, 2010 @ 05:36 AM | in 0.8.5

Hi,

in one of my components I do a record:

@recorded_file = @call.record :silence => 3, :maxduration => 120, :format => 'wav'

While this in some older 0.8.4 version works (besides not using wav format) it breaks in the latest github (adhearsion/adhearsion) master: no voice is recorded, it looks like it's just skipped/stopped by asterisk.

debug log old adhearsion release:

DEBUG agi: >>> EXEC Record "/tmp/recording_%d.gsm","3","120"
DEBUG agi: <<< 200 result=0

DEBUG agi: >>> GET VARIABLE RECORDED_FILE
DEBUG agi: <<< 200 result=1 (/tmp/recording_15)

debug log latest master:

DEBUG agi: >>> RECORD FILE "/tmp/recording_%d.gsm" "wav" "#" "120" "0" "BEEP" "s=3"
DEBUG agi: <<< 200 result=0 (timeout) endpos=1280

DEBUG agi: >>> GET VARIABLE "RECORDED_FILE"
DEBUG agi: <<< 200 result=0

(Asterisk 1.6.2.9 on OS X)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Pages