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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users