[asterisk-users] What is equivalent function to "mv" command in php for Asterisk Spool directory usage?

Zeeshan Zakaria zishanov at gmail.com
Tue Dec 21 20:38:08 UTC 2010


I have been using:
exec ('mv *.call /var/spool/asterisk/outgoing')

and for a long time it has been working just fine for me on more than one
websites. Just make sure the folder where you create the call files has
correct permissions and ownerships so that the file is successfully moved by
the apache user to its destination.

Zeeshan A Zakaria

--
www.ilovetovoip.com
www.pbxforall.com

On 2010-12-21 3:29 PM, "Danny Nicholas" <danny at debsinc.com> wrote:

 PERL has a move() command; I wouldn’t expect less out of PHP.


 ------------------------------

*From:* asterisk-users-bounces at lists.digium.com [mailto:
asterisk-users-bounces at lists.digium.com] *On Behalf Of *Bruce B
*Sent:* Tuesday, December 21, 2010 2:20 PM
*To:* Asterisk Users Mailing List - Non-Commercial Discussion
*Subject:* [asterisk-users] What is equivalent function to "mv" command in
php for Asterisk Spool directory usage?





Hi Everyone,



I understand that there are a few warnings about using "cp" to move .call
file...

--
_____________________________________________________________________
-- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101221/e455d7d7/attachment.htm>


More information about the asterisk-users mailing list