[asterisk-users] Recording/Monitor after xfer

Rodrigo P. Telles telles-listas at devel.it
Wed Jul 12 15:59:07 MST 2006


Hi,

I'd like to know if some one knows how to make Asterisk record a call after xfer (not bxfer).
I tried some ways but it doesn't work at all.

extensions.conf example:

exten => 177,1,Set(CALLFILENAME=/var/spool/asterisk/monitor/${EXTEN}/${TIMESTAMP})
exten => 177,2,Monitor(wav,${CALLFILENAME},bm)
exten => 177,3,Dial(SIP/17,30,tT)
exten => 177,4,Hangup

exten => 178,1,Set(CALLFILENAME=/var/spool/asterisk/monitor/${EXTEN}/${TIMESTAMP})
exten => 178,2,Monitor(wav,${CALLFILENAME},bm)
exten => 178,3,Dial(SIP/17,30,tT)
exten => 178,4,Hangup

exten => 179,1,Set(CALLFILENAME=/var/spool/asterisk/monitor/${EXTEN}/${TIMESTAMP})
exten => 179,2,Monitor(wav,${CALLFILENAME},bm)
exten => 179,3,Dial(SIP/17,30,tT)
exten => 179,4,Hangup


Ex:
A = 177
B = 178
C = 179

A calls to B (Monitor starts recording conversation between A and B) and then B press flash
and calls C (Monitor starts recording conversation between B and C and A stay on moh) and then
B hangup the phone bridging A with C.
The first (A to B) and the second (B to C) recording ends when B hangup the phone so I'd like
to have recorded the conversation between A and C, is that possible?

Thanks for any help!

Telles



More information about the asterisk-users mailing list