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
> 
> 
> 

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to