Jeffrey Starin
2005-Jul-06 15:07 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
911 Help! I accidentially deleted all directories under /var/spool/asterisk I did use the backup facility not too long ago but cannot find the process for restore. However, I don't believe a full restore is needed -- I just need to know the names of the directories under /var/spool/asterisk and re-create them (I hope!). Can some kind soul give me some direction or tell me the directory structure under /var/spool/asterisk? Thanks, B.
Kevin P. Fleming
2005-Jul-06 16:31 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
Jeffrey Starin wrote:> However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk?Do a 'make samples' on another system or some other safe place, and copy over the contents of /var/spool/asterisk.
JD Austin
2005-Jul-06 16:37 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
My /var/spool/asterisk has the following directories drwxr-xr-x 2 asterisk asterisk 4096 Jul 5 10:55 fax drwxr-x--- 2 asterisk asterisk 4096 Jul 4 18:53 monitor drwx------ 2 asterisk asterisk 4096 May 11 17:10 outgoing drwxrw---- 2 asterisk asterisk 4096 Mar 31 05:26 qcall drwxr-xr-x 2 asterisk asterisk 4096 Mar 31 05:23 tmp lrwxrwxrwx 1 asterisk asterisk 37 Jul 4 20:16 vm -> /var/spool/asterisk/voicemail/default drwxr-xr-x 3 asterisk asterisk 4096 Jul 4 14:34 voicemail drwxr-xr-x 2 asterisk asterisk 4096 May 11 17:10 wakeups I'm running asterisk@home 1.3 though. JD Jeffrey Starin wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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-- JD Austin Twin Geckos Technology Services LLC email: jd@twingeckos.com http://www.twingeckos.com phone/fax: 480.288.8195
Dan Perik
2005-Jul-06 17:22 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
Jeffrey Starin wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. >This is what I got. Note that this is a Gentoo system. Good luck!: gentoo ~ # ls -R /var/spool/asterisk/ -l /var/spool/asterisk/: total 0 drwxr-x--- 2 asterisk asterisk 48 Dec 18 2004 outgoing drwxr-x--- 2 asterisk asterisk 48 Dec 18 2004 qcall drwxr-x--- 2 asterisk asterisk 72 Jun 25 04:56 tmp lrwxrwxrwx 1 asterisk asterisk 37 Jun 25 04:56 vm -> /var/spool/asterisk/voicemail/default drwxr-x--- 3 asterisk asterisk 72 Dec 17 2004 voicemail /var/spool/asterisk/outgoing: total 0 /var/spool/asterisk/qcall: total 0 /var/spool/asterisk/tmp: total 0 /var/spool/asterisk/voicemail: total 0 drwxr-x--- 8 asterisk asterisk 192 Mar 22 23:28 default /var/spool/asterisk/voicemail/default: total 0 drwxr-x--- 4 asterisk asterisk 216 Apr 8 22:36 1001 drwxr-x--- 3 asterisk asterisk 160 Mar 22 23:27 1002 drwxr-x--- 3 asterisk asterisk 160 Mar 22 23:27 1003 drwxr-x--- 3 asterisk asterisk 160 Mar 22 23:28 1004 drwxr-x--- 3 asterisk asterisk 160 Mar 22 23:28 1005 drwxr-x--- 3 asterisk asterisk 128 Jun 25 04:56 1234 /var/spool/asterisk/voicemail/default/1001: total 128 drwxr-x--- 2 asterisk asterisk 48 Jul 6 18:57 INBOX drwxr-x--- 2 asterisk asterisk 48 Jul 6 18:57 Old -rw-r----- 1 asterisk asterisk 9306 Mar 22 23:27 busy.gsm -rw-r----- 1 asterisk asterisk 6732 Mar 22 23:27 greet.gsm -rw-r----- 1 asterisk asterisk 9306 Mar 22 23:27 unavail.gsm -rwxr-x--- 1 asterisk asterisk 96684 Mar 23 00:57 unavail.wav /var/spool/asterisk/voicemail/default/1001/INBOX: total 0 /var/spool/asterisk/voicemail/default/1001/Old: total 0 /var/spool/asterisk/voicemail/default/1002: total 32 drwxr-x--- 2 asterisk asterisk 48 Jul 1 23:24 INBOX -rw-r----- 1 asterisk asterisk 9339 Mar 22 23:27 busy.gsm -rw-r----- 1 asterisk asterisk 6765 Mar 22 23:27 greet.gsm -rw-r----- 1 asterisk asterisk 9339 Mar 22 23:27 unavail.gsm /var/spool/asterisk/voicemail/default/1002/INBOX: total 0 /var/spool/asterisk/voicemail/default/1003: total 32 drwxr-x--- 2 asterisk asterisk 176 Apr 18 07:18 INBOX -rw-r----- 1 asterisk asterisk 9471 Mar 22 23:27 busy.gsm -rw-r----- 1 asterisk asterisk 6897 Mar 22 23:27 greet.gsm -rw-r----- 1 asterisk asterisk 9471 Mar 22 23:27 unavail.gsm /var/spool/asterisk/voicemail/default/1003/INBOX: total 496 -rwxr-x--- 1 asterisk asterisk 41790 Apr 18 07:18 msg0000.WAV -rwxr-x--- 1 asterisk asterisk 42372 Apr 18 07:18 msg0000.gsm -rw-r----- 1 asterisk asterisk 254 Apr 18 07:18 msg0000.txt -rwxr-x--- 1 asterisk asterisk 410924 Apr 18 07:18 msg0000.wav /var/spool/asterisk/voicemail/default/1004: total 32 drwxr-x--- 2 asterisk asterisk 48 Mar 22 23:28 INBOX -rw-r----- 1 asterisk asterisk 9273 Mar 22 23:28 busy.gsm -rw-r----- 1 asterisk asterisk 6699 Mar 22 23:28 greet.gsm -rw-r----- 1 asterisk asterisk 9273 Mar 22 23:28 unavail.gsm /var/spool/asterisk/voicemail/default/1004/INBOX: total 0 /var/spool/asterisk/voicemail/default/1005: total 32 drwxr-x--- 2 asterisk asterisk 48 Mar 22 23:28 INBOX -rw-r----- 1 asterisk asterisk 9372 Mar 22 23:28 busy.gsm -rw-r----- 1 asterisk asterisk 6798 Mar 22 23:28 greet.gsm -rw-r----- 1 asterisk asterisk 9372 Mar 22 23:28 unavail.gsm /var/spool/asterisk/voicemail/default/1005/INBOX: total 0
Darren Wiebe
2005-Jul-06 17:38 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
[root@aleph dkwiebe]# cd /var/spool/asterisk [root@aleph asterisk]# ls -R .: CVS fax monitor outgoing qcall tmp vm voicemail ./CVS: Entries Repository Root ./fax: CVS fax.call ./fax/CVS: Entries Repository Root ./monitor: CVS ./monitor/CVS: Entries Repository Root ./outgoing: ./qcall: ./tmp: ./voicemail: default ./voicemail/default: Hope this helps. As you can see there is not very many directories under there. The CVS ones could be ignored. Darren Wiebe darren@aleph-com.net Jeffrey Starin wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Just make a backup of what you have in /etc/asterisk and run /usr/src/asterisk/make install On 7/6/05, Jeffrey Starin <jeffs@speakeasy.net> wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Andy Hamilton
2005-Jul-06 19:35 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
Jeffrey: Don't you hate it when that happens?? :) Anyhow, here's what I've got in that directory: [root@asterisk asterisk]# pwd /var/spool/asterisk [root@asterisk asterisk]# du -h 4.0K ./voicemail/default/512/INBOX 8.0K ./voicemail/default/512 4.0K ./voicemail/default/500/INBOX 8.0K ./voicemail/default/500 20K ./voicemail/default 24K ./voicemail 4.0K ./vm 4.0K ./outgoing 4.0K ./qcall 4.0K ./tmp 1.2M ./monitor 1.2M . [root@asterisk asterisk]# -Andy On 7/6/05, Jeffrey Starin <jeffs@speakeasy.net> wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >
Ahh...sorry. Got this bit sorted now. Kevin P. Fleming wrote:> Jason Frisch wrote: > >> sip.conf >> [70501956] >> type=peer >> useragent="M2 X-Lite" >> host=p10.taraba.net >> username=12345 >> password=secret >> qualify=yes >> fromuser=12345 >> fromdomain=taraba.net >> realm=taraba.net > > > Read the example sip.conf more closely; some of these fields cannot be > set on a per-peer basis, only in the [general] section. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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
Vamsi Pottangi
2005-Jul-06 20:32 UTC
[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY
"outgoing", "monitor" and "voicemail/default" are good enough. Here you would loose all the voicemail stuff. So you need to re-record busy and unavialble messages for each mailbox user (if at all you had them before). ~Vamsi On 7/7/05, Jeffrey Starin <jeffs@speakeasy.net> wrote:> 911 Help! > > I accidentially deleted all directories under /var/spool/asterisk > > I did use the backup facility not too long ago but cannot find the > process for restore. > > However, I don't believe a full restore is needed -- I just need to know > the names of the directories under /var/spool/asterisk and re-create > them (I hope!). Can some kind soul give me some direction or tell me > the directory structure under /var/spool/asterisk? > > Thanks, > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >