Customize format in recordings

Discussion in 'General' started by matz785, Apr 28, 2007.

  1. matz785

    Joined:
    Apr 24, 2007
    Messages:
    4
    Likes Received:
    0
    hi my name is william from the Philippines, can you help me how to customize the output filename of the recordings in var/spool/asterisk/monitor, i tried to edit extensions.conf to customize the filename of the recordings...because the original output is the like this
    20070428-190032-1177758032.0.wav... Now i would like to change the output filename to this s-19164290474-20070428-105030-3096.wav, (PHONE NUMBER,DATE,time,SIP NO. to wav). its working perfectly in trixbox but i dont no why it doesnt work in elastix... :( :( :( :(


    [macro-dialout-trunk]
    exten => s,1,Set(DIAL_TRUNK=${ARG1})
    exten => s,n,SetVar(CALLFILENAME=${EXTEN}-${ARG2}-${TIMESTAMP}-${CALLERID(number)})
    exten => s,n,MixMonitor(${CALLFILENAME}.wav)


    :( :(
     

Share This Page