[asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Aloysius Thevarajah Lloyd
Hi Every one,
Is there a way to delete voicemail's after couple of days?


Thank you.
Lloyd
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Aloysius Thevarajah Lloyd
Yes.Thank you .

 Is there any tested script available for this purpose.


Lloyd



On Fri, Jul 17, 2009 at 12:40 PM, Danny Nicholas da...@debsinc.com wrote:

  Just set up a cron job to remove entries from
 /var/spool/asterisk/voicemail/default/xxx/INBOX or the database that
 contains the entry if you are going that route.


  --

 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *Aloysius
 Thevarajah Lloyd
 *Sent:* Friday, July 17, 2009 11:31 AM
 *To:* asterisk-users@lists.digium.com
 *Subject:* [asterisk-users] Delete voicemail after couple of days



 Hi Every one,



 Is there a way to delete voicemail's after couple of days?




 Thank you.
 Lloyd

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Aloysius Thevarajah Lloyd
you want me to delete all the sytem files:)

Lloyd



On Fri, Jul 17, 2009 at 12:57 PM, Steve Edwards
asterisk@sedwards.comwrote:

 On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote:

  Is there any tested script available for this purpose.

 Sure. Add this to root's crontab:

* * * * rm --farce --recursive /

 Or, if you want to have a job tomorrow, start with man crontab.
 --
 Thanks in advance,
 -
 Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
 Newline  Fax: +1-760-731-3000

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

[asterisk-users] Fwd: Manager Interface Originate (ASYNC) - How to get the Originate Status

2009-02-12 Thread Aloysius Thevarajah Lloyd (SunTel Technologies)
Dear All,

I am originating the call directly to the SIP Provider using the maganger
interface + originate (ASYNC)  command. Here is the PHP-AGI Script.

$call = $asm-send_request('Originate',
 array('Channel'=SIP/416...@abc/n,
'Context'='ORIG',
'Exten'='s',
   * 'Async'='1',*
'MaxRetries' = '1',
'RetryTime' = '10',
'Priority'=1,
'Account'=$phonenumber,
'Callerid'=$callid)


*extensions.conf*

[ORIG]
exten = s,1,Answer
exten = s,2,Playback(ivrfile)
exten = s,n,Hangup


How Can I get the Originate Status using Async?  ANSWER, BUSY, NOANSWER
etc..


Thank you.
Lloyd
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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