[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  "Raffaele P. Guidi" <raffaele.p.guidi@g...>
 Subject :  Record conference with a meaningful file name ${caller}-${called}.gsm
 Date :  Fri, 5 Dec 2008 17:18:47 +0100
Hi all, I'm trying to record calls starting a conference when one of the
peers plays three asterisks (***). Everything works fine but I cannot give
the recorded file a meaningful name - which should be something like
${caller}-${called}-${currenttime} - those variables are all empty.

Can someone please help me? I'm a bit lost.

This is the configuration (pbxassist.conf):

;pbxassist.conf
[testrecord]
trigger=\*\*\*
message=call.conference
;recordwarn=wave/play/c:/temp/warn.gsm ;if this is enabled the warning is
played and then the server crashes (using yate 2 on win xp)
record=wave/record/c:/temp/mycall.gsm ;this works perfectly
;record=wave/record/c:/temp/billid-${caller}-${called}.gsm ; this does not
work, values are empty - only ${id} and ${billid} seem to have a real value

Many, many thanks.

Regards,
   Raffaele



Hi all, I'm trying to record calls starting a conference when one of the peers plays three asterisks (***). Everything works fine but I cannot give the recorded file a meaningful name - which should be something like ${caller}-${called}-${currenttime} - those variables are all empty. 

Can someone please help me? I'm a bit lost.

This is the configuration (pbxassist.conf):

;pbxassist.conf
[testrecord]
trigger=\*\*\*
message=call.conference
;recordwarn=wave/play/c:/temp/warn.gsm ;if this is enabled the warning is played and then the server crashes (using yate 2 on win xp)
record=wave/record/c:/temp/mycall.gsm ;this works perfectly
;record=wave/record/c:/temp/billid-${caller}-${called}.gsm ; this does not work, values are empty - only ${id} and ${billid} seem to have a real value

Many, many thanks. 

Regards,
   Raffaele