Hello,
I have this piece of code in my openser.cfg : exec_msg("/usr/local/etc/openser/uri-folder/record '$fu' $$SIP_USER '$ft' 'additionalinfo'"); The instruction 'record' is a c program.
This is supposed to add a record in a mysql database - new incoming call, from caller , to called, date, and an additional info - and as the matter of fact it almost does except that 'record' is unable to append the date. It writes '0000-00-00'.
The strange thing is that when the 'record' instruction is being called from the console, the set of instructions being manually written : record 'joe@....' etc ... it records everything including the right date and time.
Did any one face a similar situation ? Thanks in advance.
Olivier
________________________________________________ Message sent using UebiMiau 2.7.8