David Shaw
2005-Jan-28 14:30 UTC
[Asterisk-Users] Record inbound and outbound calls to and from one number.
Hello All, I would like to record inbound and outbound calls to and from one number. I tried to add lines to my extensions.conf: DAY=`date "+%m-%d-%y_%H:%m"` ;outbound exten => 5555551212,1,Record(${DAY}:gsm) exten => 5555551212,2,Dial(${TRUNKL3}/${EXTEN}) ;Inbound [line2] exten => 5555551212,1,Record(${DAY}:gsm) exten => 5555551212,2,Dial(SIP/101,20) exten => 5555551212,3,Hangup -- David Shaw <asterisk@ke6upi.com>
Tim Mattison
2005-Jan-29 15:29 UTC
[Asterisk-Users] Record inbound and outbound calls to and from one number.
Try the monitor application instead of record. I think that'll do what you're looking for. On Fri, 2005-01-28 at 13:30 -0800, David Shaw wrote:> Hello All, > > I would like to record inbound and outbound calls to and from one > number. > > I tried to add lines to my extensions.conf: > > DAY=`date "+%m-%d-%y_%H:%m"` > > ;outbound > exten => 5555551212,1,Record(${DAY}:gsm) > exten => 5555551212,2,Dial(${TRUNKL3}/${EXTEN}) > > ;Inbound > [line2] > exten => 5555551212,1,Record(${DAY}:gsm) > exten => 5555551212,2,Dial(SIP/101,20) > exten => 5555551212,3,Hangup > > >