Rushikesh
2010-Aug-07  01:17 UTC
[asterisk-users] Set outgoing number in filename of the recordings
Hi,
Im not able to set the outgoing number in filename for asterisk recordings
Following is what I have done in 
/var/lib/asterisk/agi-bin/recordingcheck file
.
.
.
include("phpagi.php");
/**********************************************************************************************************************/
$agi = new AGI();
$temp = $agi->get_variable("agi_dnid") ;   // I have also tried
with
get_variable("DIAL_NUMBER")
if($temp['result'] == 1 ) {
$dnid = $temp['data'] ;
}
else
{
$dnid = "NUMBER" ;
}
$timestamp = $argv[1];
$uniqueid = $argv[2];
$type = $agi->get_variable("ARG2");
.
.
.
Please help me
Regards,
Rishi
