J French
2007-May-25 08:54 UTC
[asterisk-users] Start recording automatically when xferring to an extension?
Hi, I want to start recording the caller automatically when the receptionist transfers a new sales lead to 567. I don't want the receptionist to have to press *1 manually for automon. Can someone recommend how best to accomplish this? exten => 567,1,Set(CALLERID(name)=SALES CALL) exten => 567,n,Playback(recorded-for-training) exten => 567,n,Dial(SIP/phone7&SIP/phone8&SIP/phone9&SIP/phone10&SIP/phone11&SIP/phone12,${SECS_TO_TIMEOUT}) ;Ring Sales Phones exten => 567,n,Dial(SIP/phone1,${SECS_TO_TIMEOUT}) ;Send back to Receptionist Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070525/3c680183/attachment.htm
Don Pobanz
2007-May-25 09:53 UTC
[asterisk-users] Start recording automatically when xferring to anextension?
J French wrote Friday, May 25, 2007 10:54 AM> I want to start recording the caller automatically when the > receptionist transfers a new sales lead to 567. I don't want > the receptionist to have to press *1 manually for automon. > Can someone recommend how best to accomplish this? > > > exten => 567,1,Set(CALLERID(name)=SALES CALL) > exten => 567,n,Playback(recorded-for-training) > exten =>Add a couple lines to your 567 extension exten => 567,n,Set(CALLFILENAME=/var/log/calls/${ARG1}-${CALLERID(num)}-${TIMESTA MP}) exten => 567,n,MixMonitor(${CALLFILENAME}.wav,b)> 567,n,Dial(SIP/phone7&SIP/phone8&SIP/phone9&SIP/phone10&SIP/ph > one11&SIP/phone12,${SECS_TO_TIMEOUT}) ;Ring Sales Phones > exten => 567,n,Dial(SIP/phone1,${SECS_TO_TIMEOUT}) ;Send back > to ReceptionistDon Pobanz