[asterisk-users] asterisk recording problem

Peter Gelencser
Thu, 30 Jun 2011 08:22:00 -0000

Hi,

I'm trying to record the incoming calls with Asterisk 1.6.2.15 and Dahdi
2.4.0. Without the line Record, everything works fine. If I add the line
Record, I can hear only a beep sound, the caller and the callee cannot
hear each other and there is no recording file.

The extension in the extensions.conf:


SZERVERSZOBA=DAHDI/19,,rtT


exten => 57,1,Record(${TIMESTAMP}${CALLERID(num)}-${EXTEN}.wav)
exten => 57,n,Dial(${SZERVERSZOBA})
exten => 57,n,Playback(vm-nobodyavail)
exten => 57,n,Hangup()

In the log:

-- Accepting call from '0620XXXXXXX to '57' on channel 0/1, span 2
-- Executing [57 at default:1] Record("DAHDI/4-1",
"0620XXXXXXX-57.wav") in
new stack
  -- <DAHDI/4-1> Playing 'beep.alaw' (language 'en')


What do I wrong? Should I set any other parameter than this? Thanks for
you help in advance.


Best regards,
Peter Gelencser