[asterisk-users] asterisk recording problem

salaheddine elharit salah.elharit200 at gmail.com
Thu Jun 30 09:16:00 CDT 2011


hi

you can use MixMonitor like below

in my case i use MixMonitor with SIP and i can record all calls inbound and
outbound

Best Regards


exten => 57,1,Answer()
exten => 57,n,MixMonitor(test_${UNIQUEID}.wav|av(0)V(0))
exten => 57,n,Dial(SIP/223)
exten => 57,n,Hangup()

2011/6/30 Ishfaq Malik <ish at pack-net.co.uk>

> On Thu, 2011-06-30 at 10:22 +0200, Peter Gelencser wrote:
> > 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
> >
> Hi
>
> You are using the wrong application, you need to use MixMonitor
>
> Ish
> --
> Ishfaq Malik
> Software Developer
> PackNet Ltd
>
> Office:   0161 660 3062
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110630/add3c6c2/attachment.htm>


More information about the asterisk-users mailing list