[Asterisk-Users] AGI Assistance

Todd Lieberman todd at tlsolutions.net
Sun May 9 13:00:25 MST 2004


Declare the file path before you record it.


$path = "/usr/local/apache/htdocs/demo/sound/myapp.$date.wav";
$AGI->exec('Record',$path:wav");

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of AstGrp
Sent: Sunday, May 09, 2004 3:47 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] AGI Assitance


I am trying to figure this out... I'm sure it's simple, but I can't
think of it right now....

In my AGI Script I am doing this... (This is done in Perl)

$AGI->exec('Record',
"/usr/local/apache/htdocs/demo/sound/$EmpNum%d:wav");

And after this is done.. I want to get the name of the file it created
so I can store it in a database.

Any thoughts....

Thanks,

-gcc
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list