[Asterisk-Users] recording all calls patch through asterisk

2006-06-30 Thread Michael Sampson
Basically I will have a call come in a PRI trunk and be routed out the 
same PRI trunk. The point of this is so I can use asterisk to record the 
call. Has anyone set up a system like this? I know how to get asterisk 
to record a call from and extension, but not a call that is just 
passing through the system.


--
Michael Sampson
Information Systems Manager
Customer Contact Services
[EMAIL PROTECTED]
952-936-4000

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] recording all calls patch through asterisk

2006-06-30 Thread El Flynn

Michael Sampson wrote:
Basically I will have a call come in a PRI trunk and be routed out the 
same PRI trunk. The point of this is so I can use asterisk to record the 
call. Has anyone set up a system like this? I know how to get asterisk 
to record a call from and extension, but not a call that is just 
passing through the system.




I'm assuming the call comes in through one PRI line (Zap group 1), and then goes 
out again via another PRI line (Zap group 2) into some other device.


[incoming]
exten = _X.,1,MixMonitor(${UNIQUEID}.gsm))
exten = _X.,2,Dial(Zap/g2/${EXTEN})

[outgoing]
exten = _X.,1,MixMonitor(${UNIQUEID}.gsm)
exten = _X.,2,Dial(Zap/g1/${EXTEN})

make sure to set Zap group 1 to the incoming context and set zap group 2 to 
the outgoing context


Flynn


___
--Bandwidth and Colocation provided by Easynews.com --

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