With Asterisk BE I am trying to record calls coming to a queue,. I am getting the call to record, however the file name that the file saves to, is not the correct one. In my extensions.conf, I have the following entry to set the file name.
exten=> 0072,1,Answer exten=> 0072,2,Ringing exten=> 0072,3,Wait(2) exten=> 0072,4,Set(AGENTFILENAME=${CALLERID(number)}-${TIMESTAMP}-${EXTEN:4}) exten=> 0072,5,Monitor(wav,${AGENTFILENAME}),m exten=> 0072,6,Queue(NOC) exten=> 0072,7,Hangup include => parkedcalls #include <users.conf> I have also tried exten=> 0072,4,Set(AGENTFILENAME=${CALLERID(number)}-${TIMESTAMP}-${EXTEN:4}) exten=> 0072,5,Monitor(wav,${AGENTFILENAME},m) but this is what I am getting in the file name. agent-1656-1164843488-241-in.wav agent-1656-1164843230-229-in.wav In the Asterisk console the name appears correctly however. -- Executing Set("SIP/1656-b7d10740", "AGENTFILENAME=1656-20061129-183350-") in new stack -- Executing Monitor("SIP/1656-b7d10740", "wav|1656-20061129-183350-|m") in new stack -- Executing Queue("SIP/1656-b7d10740", "NOC") in new stack Ed Nuñez IT/Telecom Engineer 4037 Metric Drive Winter Park, FL (o) 407-384-4200 x 1656 (f) 407-384-4222 (c) 732-925-0730 _______________________________________________ --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