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

Reply via email to