Hooman Peiro
2009-Aug-08 06:32 UTC
[asterisk-users] A problem with recoding agents calls via monitor
Hello everyone, I can not get the name of the recoding file of agents calls. I set agents.conf as following: ; Enable recording calls addressed to agents. It's turned off by default. recordagentcalls=yes ; ; The format to be used to record the calls (wav, gsm, wav49) ; By default its "wav". ;recordformat=gsm ; ; Insert into CDR userfield a name of the the created recording ; By default it's turned off. createlink=yes ; ; The text to be added to the name of the recording. Allows forming a url link. ;urlprefix=http://host.domain/calls/ ; ; The optional directory to save the conversations in. The default is ; /var/spool/asterisk/monitor ;savecallsin=/var/calls as you can see I set createlink=yes so name of the recoding file should be inserted in userfield column of cdr. But it doesn't work. because the file is created but userfield is empty. Any solution to this problem is really appreciated. If you need more information you can ask me. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090808/986019c4/attachment.htm
Miguel Molina
2009-Aug-10 14:00 UTC
[asterisk-users] A problem with recoding agents calls via monitor
Hooman Peiro escribi?:> Hello everyone,Hey> I can not get the name of the recoding file of agents calls. I set > agents.conf as following: > > ; Insert into CDR userfield a name of the the created recording > ; By default it's turned off. > createlink=yes > ; > as you can see I set createlink=yes so name of the recoding file > should be inserted in userfield column of cdr. But it doesn't work. > because the file is created but userfield is empty. > > Any solution to this problem is really appreciated. If you need more > information you can ask me. >Are you storing the CDR in a database? What kind? Or are you checking the plain CSV CDR file? Supposing that you have a MySQL backend, you should have the userfield=1 setting in cdr_mysql.conf to tell the backend to save the userfield of the record. Cheers, -- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center