[Asterisk-Users] AGI Assistance

AstGrp astgrp at cwkb.com
Sun May 9 14:33:43 MST 2004


Never Mind... Figured it out... Thanks...

-gcc

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Todd
Lieberman
Posted At: Sunday, May 09, 2004 4:00 PM
Posted To: Asterisk User Group
Conversation: [Asterisk-Users] AGI Assistance
Subject: RE: [Asterisk-Users] AGI Assistance


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

_______________________________________________
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