Re: [on-asterisk] Dell server recommendation?

2009-06-16 Thread Martin Glazer
Thanks for all the replies on the server recommendations - one thing I 
am still unclear on, (and can't seem to get the info from Dell) - does 
the PowerEdge 1950 have an additional 5v Molex connector for powering a 
Sangoma FXS board?


I just came across this problem with a HP 2U server yesterday and ant to 
avoid a repeat.


Thanks

Martin

Ken Brown wrote:

We're using an Dell R200 1U server here. All SIP so I can't answer to
Sangoma Compatibility.
It's configured with a pair of drives on a PERC 6 Raid controller setup for
RAID 1, and a relatively slow processor, a 1.6Ghz Celeron. I don't do much
transcoding and our 30 or so users barely warm the CPU up.
This is a typical SMB office use, with about 1/3 of the users off site.
No hot swap, but for us, taking it down after hours to swap a disk is not an
issue. 


Ken

-Original Message-
From: Martin Glazer [mailto:sourcefo...@glazer.ca] 
Sent: June 4, 2009 12:47 PM

To: Asterisk Users Group
Subject: [on-asterisk] Dell server recommendation?

Hi,

We normally used our own Intel based servers for Asterisk, however I 
have someone looking for a Dell server to go with the rest of their 
equipment.
The server will be used for a 50 person Asterisk installation with a 
Sangoma dual PRI card.


Can anyone recommend a particular model of Dell server that they have 
used consistently with Asterisk?
I know that a while back there were some issues with particular models 
so I am curious what people have now?


Thanks

Martin

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.52/2153 - Release Date: 06/04/09

17:55:00



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



[on-asterisk] trouble calling out voipdiscount

2009-06-16 Thread Simon P. Ditner
Does anyone use voipdiscount? I can't seem to dial out through them 
today. It keeps playing back a voice asking me to dial 00countrycodeX., 
and that is indeed the format I'm using.


Arg,
Simon

--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so.   -- Mark Twain
|
| Network: http://www.linkedin.com/in/spditner
|  http://facebook.com/people/Simon-P-Ditner/776370031
|  http://twitter.com/spditner

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Dell server recommendation?

2009-06-16 Thread David Cook
It says internally it can hold 2x3.5 drives so there *should* be an extra
molex. (Or 4x2.5 drives with the smaller connectors).


- dbc.
-Original Message-
From: Martin Glazer [mailto:sourcefo...@glazer.ca] 
Sent: June-16-09 11:05 AM
To: 'Asterisk Users Group'
Subject: Re: [on-asterisk] Dell server recommendation?

Thanks for all the replies on the server recommendations - one thing I 
am still unclear on, (and can't seem to get the info from Dell) - does 
the PowerEdge 1950 have an additional 5v Molex connector for powering a 
Sangoma FXS board?

I just came across this problem with a HP 2U server yesterday and ant to 
avoid a repeat.

Thanks

Martin

Ken Brown wrote:
 We're using an Dell R200 1U server here. All SIP so I can't answer to
 Sangoma Compatibility.
 It's configured with a pair of drives on a PERC 6 Raid controller setup
for
 RAID 1, and a relatively slow processor, a 1.6Ghz Celeron. I don't do much
 transcoding and our 30 or so users barely warm the CPU up.
 This is a typical SMB office use, with about 1/3 of the users off site.
 No hot swap, but for us, taking it down after hours to swap a disk is not
an
 issue. 
 
 Ken
 
 -Original Message-
 From: Martin Glazer [mailto:sourcefo...@glazer.ca] 
 Sent: June 4, 2009 12:47 PM
 To: Asterisk Users Group
 Subject: [on-asterisk] Dell server recommendation?
 
 Hi,
 
 We normally used our own Intel based servers for Asterisk, however I 
 have someone looking for a Dell server to go with the rest of their 
 equipment.
 The server will be used for a 50 person Asterisk installation with a 
 Sangoma dual PRI card.
 
 Can anyone recommend a particular model of Dell server that they have 
 used consistently with Asterisk?
 I know that a while back there were some issues with particular models 
 so I am curious what people have now?
 
 Thanks
 
 Martin
 
 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.339 / Virus Database: 270.12.52/2153 - Release Date: 06/04/09
 17:55:00
 

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Dell server recommendation?

2009-06-16 Thread Konrad Hammel

Hello Martin,

   Don't worry about the power connector...we can make our own :)   
http://www.sangoma.com/products_and_solutions/hardware/specialty_tools.html


   The Power Adapter allows us to pull a Molex connector off the PCIe 
BUS.  The board is 2U so you use the same slot for an A200.


*Thank-you,**

***

*Konrad Hammel, **B.ENG, **Software Engineer/Field Applications Engineer**
*Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON 
L3R 9T3 Canada
t. 1 905 474 1990 x 118 | e. kon...@sangoma.com 
mailto:kon...@sangoma.com_
_www.sangoma.com http://www.sangoma.com/ | wiki.sangoma.com 
http://wiki.sangoma.com/

*
*Lifetime Warranty.*** Because it must work!* 
http://www.tmcnet.com/voip/conference/




Martin Glazer wrote:
Thanks for all the replies on the server recommendations - one thing I 
am still unclear on, (and can't seem to get the info from Dell) - does 
the PowerEdge 1950 have an additional 5v Molex connector for powering 
a Sangoma FXS board?


I just came across this problem with a HP 2U server yesterday and ant 
to avoid a repeat.


Thanks

Martin

Ken Brown wrote:

We're using an Dell R200 1U server here. All SIP so I can't answer to
Sangoma Compatibility.
It's configured with a pair of drives on a PERC 6 Raid controller 
setup for
RAID 1, and a relatively slow processor, a 1.6Ghz Celeron. I don't do 
much

transcoding and our 30 or so users barely warm the CPU up.
This is a typical SMB office use, with about 1/3 of the users off 
site.
No hot swap, but for us, taking it down after hours to swap a disk is 
not an

issue.
Ken

-Original Message-
From: Martin Glazer [mailto:sourcefo...@glazer.ca] Sent: June 4, 2009 
12:47 PM

To: Asterisk Users Group
Subject: [on-asterisk] Dell server recommendation?

Hi,

We normally used our own Intel based servers for Asterisk, however I 
have someone looking for a Dell server to go with the rest of their 
equipment.
The server will be used for a 50 person Asterisk installation with a 
Sangoma dual PRI card.


Can anyone recommend a particular model of Dell server that they have 
used consistently with Asterisk?
I know that a while back there were some issues with particular 
models so I am curious what people have now?


Thanks

Martin

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 
270.12.52/2153 - Release Date: 06/04/09

17:55:00



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




Re: [on-asterisk] trouble calling out voipdiscount

2009-06-16 Thread Chris Chen
Hi Simon, I have been using voipstunt, voipraider which are using the same
softswitch infrastructure as voipdiscount, the format I have been using is
country code+area code+digits, no 00 or 011 prefix required, for example, if
I want to call China Mobile number, it is like

exten  = _86ZXX,1,Dial(SIP/${ext...@voipraider,120)

Thanks,

Chris


On Tue, Jun 16, 2009 at 11:45 AM, Simon P. Ditner si...@uc.org wrote:

 Does anyone use voipdiscount? I can't seem to dial out through them today.
 It keeps playing back a voice asking me to dial 00countrycodeX., and that is
 indeed the format I'm using.

 Arg,
 Simon

 --
 | It ain't what you don't know that gets you into trouble. It's what
 | you know for sure that just ain't so.   -- Mark Twain
 |
 | Network: http://www.linkedin.com/in/spditner
 |  http://facebook.com/people/Simon-P-Ditner/776370031
 |  http://twitter.com/spditner

 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org




[on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Henry L.Coleman
Hi all, as many are aware FreePBX has a backup and restore function that can 
schedule a backup of conf, cdr, and vmail.
This works very well but I need to back the files up to a USB stick instead of 
a default backup directory.
My question (not being a good Linux man) is how do I the redirect the backup 
path to this device.
When I plug the stick in, the consule indicates that the stick is recognised 
and is working but does't tell me where
in the directory structure to find it.

Help please?

Henry L.Coleman [VoIP-PBX.ca]
-





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Henry L.Coleman
This is what I get

r...@pbx:~ $ mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

-
Henry L. Coleman
[VoIP-PBX.ca]

=

 Johannes Vanderknyff
 (NOTE: I don't know much about FreePBX)

 If you can get to the console, type mount and that should give you a
 listing of mounted filesystems.
 If FreePBX mounted the USB drive, you'll be good to go and you can just copy
 (cp) the files to that location.

 Johannes

 On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman aster...@voip-pbx.cawrote:

 Hi all, as many are aware FreePBX has a backup and restore function that
 can schedule a backup of conf, cdr, and vmail.
 This works very well but I need to back the files up to a USB stick instead
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the
 backup path to this device.
 When I plug the stick in, the consule indicates that the stick is
 recognised and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Johannes Vanderknyff
Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Colemanaster...@voip-pbx.ca wrote:
 This is what I get

 r...@pbx:~ $ mount
 /dev/hda2 on / type ext3 (rw)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 /dev/hda1 on /boot type ext3 (rw)
 tmpfs on /dev/shm type tmpfs (rw)
 none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 -
 Henry L. Coleman
 [VoIP-PBX.ca]

 =

 Johannes Vanderknyff
 (NOTE: I don't know much about FreePBX)

 If you can get to the console, type mount and that should give you a
 listing of mounted filesystems.
 If FreePBX mounted the USB drive, you'll be good to go and you can just copy
 (cp) the files to that location.

 Johannes

 On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman aster...@voip-pbx.cawrote:

 Hi all, as many are aware FreePBX has a backup and restore function that
 can schedule a backup of conf, cdr, and vmail.
 This works very well but I need to back the files up to a USB stick instead
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the
 backup path to this device.
 When I plug the stick in, the consule indicates that the stick is
 recognised and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Henry L.Coleman
Hi Bill as requested.

Jun 16 15:00:24 pbx kernel:   Vendor: Lexar Model: JD FireFlyRev: 
1100
Jun 16 15:00:24 pbx kernel:   Type:   Direct-Access  ANSI 
SCSI revision: 00
Jun 16 15:00:24 pbx kernel: SCSI device sda: 3915776 512-byte hdwr sectors 
(2005 MB)
Jun 16 15:00:24 pbx kernel: sda: Write Protect is off
Jun 16 15:00:24 pbx kernel: sda: assuming drive cache: write through
Jun 16 15:00:24 pbx kernel: SCSI device sda: 3915776 512-byte hdwr sectors 
(2005 MB)
Jun 16 15:00:24 pbx kernel: sda: Write Protect is off
Jun 16 15:00:24 pbx kernel: sda: assuming drive cache: write through
Jun 16 15:00:24 pbx kernel:  sda: sda1
Jun 16 15:00:24 pbx kernel: sd 0:0:0:0: Attached scsi removable disk sda
Jun 16 15:00:24 pbx kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jun 16 15:00:24 pbx kernel: EXT3 FS on hda2, internal journal
Jun 16 15:00:24 pbx kernel: kjournald starting.  Commit interval 5 seconds
Jun 16 15:00:24 pbx kernel: EXT3 FS on hda1, internal journal
Jun 16 15:00:24 pbx kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jun 16 15:00:24 pbx kernel: Adding 779144k swap on /dev/hda3.  Priority:-1 
extents:1 across:779144k
Jun 16 15:00:24 pbx kernel: IA-32 Microcode Update Driver: v1.14a 
tig...@veritas.com
Jun 16 15:00:24 pbx kernel: NET: Registered protocol family 10
Jun 16 15:00:24 pbx kernel: lo: Disabled Privacy Extensions

-
Henry L. Coleman
[VoIP-PBX.ca]

=

 Bill Sandiford
 Henry:

 What is the exact message that comes up on the console when you insert it?

 Does anything show up in /var/log/messages when you insert it?

 Bill

 -Original Message-
 From: Apache [mailto:apa...@tsx3.computeradvocacy.com] On Behalf Of Henry 
 L.Coleman
 Sent: Tuesday, June 16, 2009 1:49 PM
 To: asterisk@uc.org
 Subject: [on-asterisk] Backup and restore to a USB stick

 Hi all, as many are aware FreePBX has a backup and restore function that can 
 schedule a backup of conf, cdr, and
 vmail.
 This works very well but I need to back the files up to a USB stick instead 
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the backup 
 path to this device.
 When I plug the stick in, the consule indicates that the stick is recognised 
 and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Henry L.Coleman
Yes that works, but when I removed the stick it showed the file but could not 
(of course) access it
Plugging it back in again removed the file and showed an empty directory.

-
Henry L. Coleman
[VoIP-PBX.ca]

=

 Johannes Vanderknyff
 Hmmm. Doesn't look like it is mounted yet. I just googled linux how
 to mount usb drive...

 Create the directory
   mkdir /mnt/usb
 Next, mount the drive
   mount /dev/sda1 /mnt/usb
 Then, see if it works:
   cd /mnt/usb
   ls
 You should see a list of the files on your USB drive.

 Johannes

 On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Colemanaster...@voip-pbx.ca wrote:
 This is what I get

 r...@pbx:~ $ mount
 /dev/hda2 on / type ext3 (rw)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 /dev/hda1 on /boot type ext3 (rw)
 tmpfs on /dev/shm type tmpfs (rw)
 none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 -
 Henry L. Coleman
 [VoIP-PBX.ca]

 =

 Johannes Vanderknyff
 (NOTE: I don't know much about FreePBX)

 If you can get to the console, type mount and that should give you a
 listing of mounted filesystems.
 If FreePBX mounted the USB drive, you'll be good to go and you can just copy
 (cp) the files to that location.

 Johannes

 On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman 
 aster...@voip-pbx.cawrote:

 Hi all, as many are aware FreePBX has a backup and restore function that
 can schedule a backup of conf, cdr, and vmail.
 This works very well but I need to back the files up to a USB stick instead
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the
 backup path to this device.
 When I plug the stick in, the consule indicates that the stick is
 recognised and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org



 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



RE: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Bill Sandiford
Exactly what Johannes said, but based on the output of your /var/log/messages I 
think the second step will be

mount /dev/sda /mnt/usb


-Original Message-
From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com] 
Sent: Tuesday, June 16, 2009 3:13 PM
To: aster...@voip-pbx.ca
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Backup and restore to a USB stick

Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Colemanaster...@voip-pbx.ca wrote:
 This is what I get

 r...@pbx:~ $ mount
 /dev/hda2 on / type ext3 (rw)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 /dev/hda1 on /boot type ext3 (rw)
 tmpfs on /dev/shm type tmpfs (rw)
 none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 -
 Henry L. Coleman
 [VoIP-PBX.ca]

 =

 Johannes Vanderknyff
 (NOTE: I don't know much about FreePBX)

 If you can get to the console, type mount and that should give you a
 listing of mounted filesystems.
 If FreePBX mounted the USB drive, you'll be good to go and you can just copy
 (cp) the files to that location.

 Johannes

 On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman aster...@voip-pbx.cawrote:

 Hi all, as many are aware FreePBX has a backup and restore function that
 can schedule a backup of conf, cdr, and vmail.
 This works very well but I need to back the files up to a USB stick instead
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the
 backup path to this device.
 When I plug the stick in, the consule indicates that the stick is
 recognised and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org



-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Martin Glazer
I belive it would be /dev/sda1 and not just sda - sda1 is going to be 
the first partition on the usb stick. You can think of it as a hard 
drive with multiple partitions - the main drive is hda and then the 
partitions are hda1, hda2, etc.


As far as seeing the files on the drive, before unplugging the usb 
drive, you must first unmount it, otherwise the files may not be written 
and closed correctly.


umount /mnt/usb

Is this something you are going to be doing regularly, or just when 
needed (ie. manual or automated)?


Martin


Bill Sandiford wrote:

Exactly what Johannes said, but based on the output of your /var/log/messages I 
think the second step will be

mount /dev/sda /mnt/usb


-Original Message-
From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com] 
Sent: Tuesday, June 16, 2009 3:13 PM

To: aster...@voip-pbx.ca
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Backup and restore to a USB stick

Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Colemanaster...@voip-pbx.ca wrote:
  

This is what I get

r...@pbx:~ $ mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

-
Henry L. Coleman
[VoIP-PBX.ca]

=



Johannes Vanderknyff
(NOTE: I don't know much about FreePBX)

If you can get to the console, type mount and that should give you a
listing of mounted filesystems.
If FreePBX mounted the USB drive, you'll be good to go and you can just copy
(cp) the files to that location.

Johannes

On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman aster...@voip-pbx.cawrote:

  

Hi all, as many are aware FreePBX has a backup and restore function that
can schedule a backup of conf, cdr, and vmail.
This works very well but I need to back the files up to a USB stick instead
of a default backup directory.
My question (not being a good Linux man) is how do I the redirect the
backup path to this device.
When I plug the stick in, the consule indicates that the stick is
recognised and is working but does't tell me where
in the directory structure to find it.

Help please?

Henry L.Coleman [VoIP-PBX.ca]
-





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

  


Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Mike Ashton

Henry,

Make sure on your USB stick there is a directory called asterisk.
I'm assuming that your backups are here : /var/lib/asterisk/backups/daily/

Now take what is below and put in a file, make it executable and run as 
root.


mount /dev/sda1 /mnt/usb
if [ -d /mnt/usb/asterisk ]; then
rsync -av /var/lib/asterisk/backups/daily/ /mnt/usb/asterisk/;
umount /mnt/usb;
exit 0
else
echo Error: Could not mount storage device;
exit 2
fi

Using the rsync command will move anything that is not in the source 
directory to the usb.


If this works then you can add this script to run after your back up. 
Not sure in freePX but an also be run as a cron job.


Mike

Martin Glazer wrote:
I belive it would be /dev/sda1 and not just sda - sda1 is going to be 
the first partition on the usb stick. You can think of it as a hard 
drive with multiple partitions - the main drive is hda and then the 
partitions are hda1, hda2, etc.


As far as seeing the files on the drive, before unplugging the usb 
drive, you must first unmount it, otherwise the files may not be 
written and closed correctly.


umount /mnt/usb

Is this something you are going to be doing regularly, or just when 
needed (ie. manual or automated)?


Martin


Bill Sandiford wrote:
Exactly what Johannes said, but based on the output of your 
/var/log/messages I think the second step will be


mount /dev/sda /mnt/usb


-Original Message-
From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com] 
Sent: Tuesday, June 16, 2009 3:13 PM

To: aster...@voip-pbx.ca
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Backup and restore to a USB stick

Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry 
L.Colemanaster...@voip-pbx.ca wrote:
 

This is what I get

r...@pbx:~ $ mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

-
Henry L. Coleman
[VoIP-PBX.ca]

=

   

Johannes Vanderknyff
(NOTE: I don't know much about FreePBX)

If you can get to the console, type mount and that should give you a
listing of mounted filesystems.
If FreePBX mounted the USB drive, you'll be good to go and you can 
just copy

(cp) the files to that location.

Johannes

On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman 
aster...@voip-pbx.cawrote:


 
Hi all, as many are aware FreePBX has a backup and restore 
function that

can schedule a backup of conf, cdr, and vmail.
This works very well but I need to back the files up to a USB 
stick instead

of a default backup directory.
My question (not being a good Linux man) is how do I the redirect the
backup path to this device.
When I plug the stick in, the consule indicates that the stick is
recognised and is working but does't tell me where
in the directory structure to find it.

Help please?

Henry L.Coleman [VoIP-PBX.ca]
-





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

  




--
Mike Ashton

Quality Track Intl
CTO
Ph: 647-724-3500 x 301
Cell:   416-527-4995
Fax:416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.
and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is 
prohibited.
If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Henry L.Coleman
This looks good but I really want a backup and restore to/from the USB stick
as default
If the stick isn't there then it could default to the directory 
/var/lib/asterisk/backups/daily/


Henry L.Coleman [VoIP-PBX.ca]
-



 Mike Ashton
 Henry,

 Make sure on your USB stick there is a directory called asterisk.
 I'm assuming that your backups are here : /var/lib/asterisk/backups/daily/

 Now take what is below and put in a file, make it executable and run as
 root.

 mount /dev/sda1 /mnt/usb
 if [ -d /mnt/usb/asterisk ]; then
 rsync -av /var/lib/asterisk/backups/daily/ /mnt/usb/asterisk/;
 umount /mnt/usb;
 exit 0
 else
 echo Error: Could not mount storage device;
 exit 2
 fi

 Using the rsync command will move anything that is not in the source
 directory to the usb.

 If this works then you can add this script to run after your back up.
 Not sure in freePX but an also be run as a cron job.

 Mike

 Martin Glazer wrote:
 I belive it would be /dev/sda1 and not just sda - sda1 is going to be
 the first partition on the usb stick. You can think of it as a hard
 drive with multiple partitions - the main drive is hda and then the
 partitions are hda1, hda2, etc.

 As far as seeing the files on the drive, before unplugging the usb
 drive, you must first unmount it, otherwise the files may not be
 written and closed correctly.

 umount /mnt/usb

 Is this something you are going to be doing regularly, or just when
 needed (ie. manual or automated)?

 Martin


 Bill Sandiford wrote:
 Exactly what Johannes said, but based on the output of your
 /var/log/messages I think the second step will be

 mount /dev/sda /mnt/usb


 -Original Message-
 From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com]
 Sent: Tuesday, June 16, 2009 3:13 PM
 To: aster...@voip-pbx.ca
 Cc: asterisk@uc.org
 Subject: Re: [on-asterisk] Backup and restore to a USB stick

 Hmmm. Doesn't look like it is mounted yet. I just googled linux how
 to mount usb drive...

 Create the directory
   mkdir /mnt/usb
 Next, mount the drive
   mount /dev/sda1 /mnt/usb
 Then, see if it works:
   cd /mnt/usb
   ls
 You should see a list of the files on your USB drive.

 Johannes

 On Tue, Jun 16, 2009 at 3:07 PM, Henry
 L.Colemanaster...@voip-pbx.ca wrote:

 This is what I get

 r...@pbx:~ $ mount
 /dev/hda2 on / type ext3 (rw)
 proc on /proc type proc (rw)
 sysfs on /sys type sysfs (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 /dev/hda1 on /boot type ext3 (rw)
 tmpfs on /dev/shm type tmpfs (rw)
 none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

 -
 Henry L. Coleman
 [VoIP-PBX.ca]

 =


 Johannes Vanderknyff
 (NOTE: I don't know much about FreePBX)

 If you can get to the console, type mount and that should give you a
 listing of mounted filesystems.
 If FreePBX mounted the USB drive, you'll be good to go and you can
 just copy
 (cp) the files to that location.

 Johannes

 On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman
 aster...@voip-pbx.cawrote:


 Hi all, as many are aware FreePBX has a backup and restore
 function that
 can schedule a backup of conf, cdr, and vmail.
 This works very well but I need to back the files up to a USB
 stick instead
 of a default backup directory.
 My question (not being a good Linux man) is how do I the redirect the
 backup path to this device.
 When I plug the stick in, the consule indicates that the stick is
 recognised and is working but does't tell me where
 in the directory structure to find it.

 Help please?

 Henry L.Coleman [VoIP-PBX.ca]
 -





 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org



 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org




 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org


 -
 To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
 For additional commands, e-mail: asterisk-h...@uc.org




 --
 Mike Ashton

 Quality Track Intl
 CTO
 Ph:   647-724-3500 x 301
 Cell: 416-527-4995
 Fax:  416-352-6043

 QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

 The contents of this material are confidential and proprietary to Quality 
 Track  International, Inc.
 and may not be reproduced, disclosed, distributed or used without the express 
 permission of an authorized
 representative of QTI.
 Use for any purpose or in any manner other than that expressly authorized is 
 prohibited.
 If you have received this communication in error, please immediately delete 
 it and all copies, and promptly notify the
 

Re: [on-asterisk] trouble calling out voipdiscount

2009-06-16 Thread simon
Thanks; turns out I had the wrong number, the vocalized error message was 
misleading.


On Tue, 16 Jun 2009, Chris Chen wrote:


Hi Simon, I have been using voipstunt, voipraider which are using the same
softswitch infrastructure as voipdiscount, the format I have been using is
country code+area code+digits, no 00 or 011 prefix required, for example, if
I want to call China Mobile number, it is like

exten  = _86ZXX,1,Dial(SIP/${ext...@voipraider,120)

Thanks,

Chris


On Tue, Jun 16, 2009 at 11:45 AM, Simon P. Ditner si...@uc.org wrote:


Does anyone use voipdiscount? I can't seem to dial out through them today.
It keeps playing back a voice asking me to dial 00countrycodeX., and that is
indeed the format I'm using.

Arg,
Simon

--
| It ain't what you don't know that gets you into trouble. It's what
| you know for sure that just ain't so.   -- Mark Twain
|
| Network: http://www.linkedin.com/in/spditner
|  http://facebook.com/people/Simon-P-Ditner/776370031
|  http://twitter.com/spditner

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org






-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Martin Glazer

You could always mount the usb stick to that location

mount /dev/sda1 /var/lib/asterisk/backups/daily

this will overlay the existing directory and write to the USB stick

Once unmounted, it would write to the hard drive. The only caveat is 
that in order to access both locations at the same time, you would have 
to mount the usb stick to a different location.


Lastly, you could manually the ampbackup.pl script itself to save to a 
different directory, but htis may get overwritten in the next FreePBX 
update.


Martin

Henry L.Coleman wrote:

This looks good but I really want a backup and restore to/from the USB stick
as default
If the stick isn't there then it could default to the directory 
/var/lib/asterisk/backups/daily/


Henry L.Coleman [VoIP-PBX.ca]
-



  

Mike Ashton
Henry,

Make sure on your USB stick there is a directory called asterisk.
I'm assuming that your backups are here : /var/lib/asterisk/backups/daily/

Now take what is below and put in a file, make it executable and run as
root.

mount /dev/sda1 /mnt/usb
if [ -d /mnt/usb/asterisk ]; then
rsync -av /var/lib/asterisk/backups/daily/ /mnt/usb/asterisk/;
umount /mnt/usb;
exit 0
else
echo Error: Could not mount storage device;
exit 2
fi

Using the rsync command will move anything that is not in the source
directory to the usb.

If this works then you can add this script to run after your back up.
Not sure in freePX but an also be run as a cron job.

Mike

Martin Glazer wrote:


I belive it would be /dev/sda1 and not just sda - sda1 is going to be
the first partition on the usb stick. You can think of it as a hard
drive with multiple partitions - the main drive is hda and then the
partitions are hda1, hda2, etc.

As far as seeing the files on the drive, before unplugging the usb
drive, you must first unmount it, otherwise the files may not be
written and closed correctly.

umount /mnt/usb

Is this something you are going to be doing regularly, or just when
needed (ie. manual or automated)?

Martin


Bill Sandiford wrote:
  

Exactly what Johannes said, but based on the output of your
/var/log/messages I think the second step will be

mount /dev/sda /mnt/usb


-Original Message-
From: Johannes Vanderknyff [mailto:johannes.vanderkn...@gmail.com]
Sent: Tuesday, June 16, 2009 3:13 PM
To: aster...@voip-pbx.ca
Cc: asterisk@uc.org
Subject: Re: [on-asterisk] Backup and restore to a USB stick

Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry
L.Colemanaster...@voip-pbx.ca wrote:



This is what I get

r...@pbx:~ $ mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

-
Henry L. Coleman
[VoIP-PBX.ca]

=


  

Johannes Vanderknyff
(NOTE: I don't know much about FreePBX)

If you can get to the console, type mount and that should give you a
listing of mounted filesystems.
If FreePBX mounted the USB drive, you'll be good to go and you can
just copy
(cp) the files to that location.

Johannes

On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman
aster...@voip-pbx.cawrote:




Hi all, as many are aware FreePBX has a backup and restore
function that
can schedule a backup of conf, cdr, and vmail.
This works very well but I need to back the files up to a USB
stick instead
of a default backup directory.
My question (not being a good Linux man) is how do I the redirect the
backup path to this device.
When I plug the stick in, the consule indicates that the stick is
recognised and is working but does't tell me where
in the directory structure to find it.

Help please?

Henry L.Coleman [VoIP-PBX.ca]
-





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



  

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org



  

-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org


-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




--
Mike Ashton

Quality Track Intl
CTO
Ph: 647-724-3500 x 301
Cell:   

Re: [on-asterisk] Backup and restore to a USB stick

2009-06-16 Thread Douglas Pickett

Henry,
Don't forget to do a umount (either of umount /dev/sda1 or umount /mnt/usb 
should work).  If it doesn't unmount, make sure that you've cd'ed out of 
/mnt/usb and try again (umount won't work if the current directory of a 
shell session or program includes the mounted filesystem).


If you just remove the usb stick without the umount bad things happen.

Regards,
Doug.

- Original Message - 
From: Henry L.Coleman aster...@voip-pbx.ca

To: asterisk@uc.org
Sent: Tuesday, June 16, 2009 3:35 PM
Subject: Re: [on-asterisk] Backup and restore to a USB stick


Yes that works, but when I removed the stick it showed the file but could 
not (of course) access it

Plugging it back in again removed the file and showed an empty directory.

-
Henry L. Coleman
[VoIP-PBX.ca]

=


Johannes Vanderknyff
Hmmm. Doesn't look like it is mounted yet. I just googled linux how
to mount usb drive...

Create the directory
  mkdir /mnt/usb
Next, mount the drive
  mount /dev/sda1 /mnt/usb
Then, see if it works:
  cd /mnt/usb
  ls
You should see a list of the files on your USB drive.

Johannes

On Tue, Jun 16, 2009 at 3:07 PM, Henry L.Colemanaster...@voip-pbx.ca 
wrote:

This is what I get

r...@pbx:~ $ mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

-
Henry L. Coleman
[VoIP-PBX.ca]

=


Johannes Vanderknyff
(NOTE: I don't know much about FreePBX)

If you can get to the console, type mount and that should give you a
listing of mounted filesystems.
If FreePBX mounted the USB drive, you'll be good to go and you can just 
copy

(cp) the files to that location.

Johannes

On Tue, Jun 16, 2009 at 1:48 PM, Henry L.Coleman 
aster...@voip-pbx.cawrote:


Hi all, as many are aware FreePBX has a backup and restore function 
that

can schedule a backup of conf, cdr, and vmail.
This works very well but I need to back the files up to a USB stick 
instead

of a default backup directory.
My question (not being a good Linux man) is how do I the redirect the
backup path to this device.
When I plug the stick in, the consule indicates that the stick is
recognised and is working but does't tell me where
in the directory structure to find it.

Help please?

Henry L.Coleman [VoIP-PBX.ca]
-





-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org







-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org






-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org




-
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org