Author Topic: callfile.dir question  (Read 3180 times)

scooby2

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
    • View Profile
callfile.dir question
« on: September 04, 2008, 00:04:13 »
Tonight I am upgrading to Asterisk 1.4.21.2 and a new dialplan. We get quite a few calls so we wanted to break them out by date to make them more manageable. I'm guessing I will need to write something custom to get the sound files to work. All we are doing is placing the files in the directory by US date. For example, todays files would be placed in:

/var/spool/asterisk/monitor/20080903/

Any chance I can make this work somehow with the callfile.dir setting?

Thanks in Advance,
Scooby2

MixMonitor(/var/spool/asterisk/monitor/${STRFTIME(${EPOCH},,%Y%m%d)}/sales-${UNIQUEID}.wav|v(0)V(0))

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: callfile.dir question
« Reply #1 on: September 04, 2008, 09:15:05 »
Not at the moment (unless yopu just point it to: /var/spool/asterisk/monitor ) but this part is due to be reworked on soon.


scooby2

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
    • View Profile
Re: callfile.dir question
« Reply #2 on: September 04, 2008, 16:12:51 »
Ok, I just changed this back to use /var/spool/asterisk/monitor for now. I guess I can worry about how to deal with them at a later date.

Thanks!

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: callfile.dir question
« Reply #3 on: September 05, 2008, 11:35:46 »
yes of course that's suboptimal as it might require scanning a very large filesystem.