Displaying 1 result from an estimated 1 matches for "fname_call".
2007 Aug 07
1
.call file and logging
....
Any suggestions as to how I can solve this?
Maybe by changing the "Extension:" line or setting
variables. A quick simple example would be
appreciated.
Thanks,
Vieri
Code snippet:
$ftime = time();
$fname = "/tmp/asterisk_".$ftime.".call";
$fname_call =
"/var/spool/asterisk/outgoing/asterisk_".$ftime.".call";
$fd = fopen($fname, 'w');
fwrite($fd, "Channel: ".$alerts."\n");
fwrite($fd, "Callerid: IT <7021>\n");
fwrite($fd, "Set: FHMNUM=".$FAI...