Just turn on UniqueID logging for CDR records, then make sure you name
the recorded files using the uniqueid.
To turn on uniqueid logging, you need to edit cdr_mysql.c Make sure the
following line is there
#define MYSQL_LOGUNIQUEID 1
To use uniqueid for file name, change the monitor line to something like
this (using wiki example):
exten => _8.,2,Monitor(wav,${UNIQUID},m)
Hope this helps.
Nick Cobley wrote:
> Hopefully someone can help out here.
>
> I currently have cdr records being logged to mysql for each call,
> along with all calls being recorded with the monitor application. What
> I really need is for the path to the recorded file to be logged with
> the corresponding cdr record. Is this possibile? Had a good hunt on
> tikki but can't seem to find anything.
>
> Also, I am finding with incoming calls, I get silence at the begining
> of the call when the destination phone is ringing, is there a way to
> not record this? Or will I need to post process it out in some way.
>
> Cheers
> Nick
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>