Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: del on December 13, 2007, 08:04:53 PM
-
Hi All,
Can anyone advise me of the best hardware for SAIL/Asterisk to be able to run 15-20 VoIP lines and 25 extensions? Also what sort of bandwidth is required on the DSL? Would having a dedicated cable internet connection for the SAIL?/Asterisk server be able to work or would I need a T1? Last thing, who is the best VoIP provider in the US for the lines? Any advice is appreciated. Thanks.
Del
-
You'll need G729 to do this Del. G729 uses about 31K in each direction. So 20 calls is going to need around 600K of raw uplift (say about twice that for the real world) so you will need a line speed with about 1200K uplift. That's a lot, and potentially a big headache if it doesn't work as advertised. If you want my honest opinion, I would do this over a regular T1 using LCR. It won't cost much more and it's guaranteed to run and run well. At these levels I would still choose TDM every time unless I was siting the box in a collo where they can give you a 100Meg uncontended over fibre. Now that's bandwidth. :-)
Best
S
-
Hi Selintra,
Thanks for the answers, without sounding too stupid (I don't want to look and sound stupid :grin:) but what do I need to connect a T1 line and is it a straight forward configuration or will I have to edit any config files? Also what does LCR mean? Sorry about the lack of T1 terminology knowledge. Thanks again for your time.
Del
-
HI Del,
You will need a PRI card. I would recommend the Digium TE207P (5.0Volt) or TE212(3.0Volt) for traditional PCI based servers or the TE220B for PCI Express based set-ups.
These cards all come with Octasic echo cancellation and they are absolutley the mutt's nuts. They work and sound great. SARK will recognise and configure the 207 and 212 straight out of the crate. For the 220B we will need to send you a small update file.
LCR stands for Least Cost Routing it means using a carrier, or carriers who can give you low prices on traditional TDM based telephony. They effectively route the call over whichever carrier is cheapest at the time the call is made. I don't know how common LCR is in the States but it is popular here in the UK and can save you a lot of money on your calls.
-
Hi Selintra,
I have installed sail-2.2.1-565 and use a sip-provider for outbound calls.
Now i like to buy a pci-card for inbound calls, technology is pots (austria).
The card should be easy to configure (auto) and i will use it only for private calls.
Any hint would be appreciated
regards
fpausp
-
TDM400
Not the cheapest but works as advertised in all countries.
Kind Regards
S
-
Hi,
Thanks for your rapid answer, is that OK for analog in/outbound:
Digium TDM01B - TDM400P + X100M ~105,- EURO
-
Yes the TDM01B is fine. This is a single FXO unit and you connect it directly to the wall phone socket.
You then need to make a small change to the asterisk starter routine to ensure that the card has the correct impedances for your country. Open /etc/init.d/sark....
At. or around line 116 you should fine the following...
if [ $WCTDM = 'YES' ]; then
# COUNTRY=`/sbin/e-smith/db selintra getprop global IMPEDANCE`
/sbin/modprobe wctdm #opermode=$COUNTRY
fi
Change this for your country (austria) as follows
if [ $WCTDM = 'YES' ]; then
# COUNTRY=`/sbin/e-smith/db selintra getprop global IMPEDANCE`
/sbin/modprobe wctdm opermode=AUSTRIA
fi
save the code back and stop and start asterisk with...
/etc/init.d/sark stop
/etc/init.d/sark start
What this change does is to ensure that your card is running the correct impedances for your country. I've never seen the full supported country list published anywhere, so for your delight and edification here it is...
{ "FCC", 0, 0, 0, 1, 0, 0x3, 0, 0, }, /* US, Canada */
{ "TBR21", 0, 0, 0, 0, 1, 0x3, 0, 0x2, 0x7e6c, 0x023a, }, /* Austria, Belgium, Denmark, Finland, France, Germany,
Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands,
Norway, Portugal, Spain, Sweden, Switzerland, and UK */
{ "ARGENTINA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "AUSTRALIA", 1, 0, 0, 0, 0, 0, 0x3, 0x3, },
{ "AUSTRIA", 0, 1, 0, 0, 1, 0x3, 0, 0x3, },
{ "BAHRAIN", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "BELGIUM", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "BRAZIL", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "BULGARIA", 0, 0, 0, 0, 1, 0x3, 0x0, 0x3, },
{ "CANADA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "CHILE", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "CHINA", 0, 0, 0, 0, 0, 0, 0x3, 0xf, },
{ "COLUMBIA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "CROATIA", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "CYRPUS", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "CZECH", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "DENMARK", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "ECUADOR", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "EGYPT", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "ELSALVADOR", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "FINLAND", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "FRANCE", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "GERMANY", 0, 1, 0, 0, 1, 0x3, 0, 0x3, },
{ "GREECE", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "GUAM", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "HONGKONG", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "HUNGARY", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "ICELAND", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "INDIA", 0, 0, 0, 0, 0, 0x3, 0, 0x4, },
{ "INDONESIA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "IRELAND", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "ISRAEL", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "ITALY", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "JAPAN", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "JORDAN", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "KAZAKHSTAN", 0, 0, 0, 0, 0, 0x3, 0, },
{ "KUWAIT", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "LATVIA", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "LEBANON", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "LUXEMBOURG", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "MACAO", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "MALAYSIA", 0, 0, 0, 0, 0, 0, 0x3, 0, }, /* Current loop >= 20ma */
{ "MALTA", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "MEXICO", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "MOROCCO", 0, 0, 0, 0, 1, 0x3, 0, 0x2, },
{ "NETHERLANDS", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "NEWZEALAND", 0, 0, 0, 0, 0, 0x3, 0, 0x4, },
{ "NIGERIA", 0, 0, 0, 0, 0x1, 0x3, 0, 0x2, },
{ "NORWAY", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "OMAN", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "PAKISTAN", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "PERU", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "PHILIPPINES", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "POLAND", 0, 0, 1, 1, 0, 0x3, 0, 0, },
{ "PORTUGAL", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "ROMANIA", 0, 0, 0, 0, 0, 3, 0, 0, },
{ "RUSSIA", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "SAUDIARABIA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "SINGAPORE", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "SLOVAKIA", 0, 0, 0, 0, 0, 0x3, 0, 0x3, },
{ "SLOVENIA", 0, 0, 0, 0, 0, 0x3, 0, 0x2, },
{ "SOUTHAFRICA", 1, 0, 1, 0, 0, 0x3, 0, 0x3, },
{ "SOUTHKOREA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "SPAIN", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "SWEDEN", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "SWITZERLAND", 0, 1, 0, 0, 1, 0x3, 0, 0x2, },
{ "SYRIA", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "TAIWAN", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "THAILAND", 0, 0, 0, 0, 0, 0, 0x3, 0, },
{ "UAE", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "UK", 0, 1, 0, 0, 1, 0x3, 0, 0x5, },
{ "USA", 0, 0, 0, 0, 0, 0x3, 0, 0, },
{ "YEMEN", 0, 0, 0, 0, 0, 0x3, 0, 0, },
};
Now, as you can see, there is a setting TBR21 which claims to work for most european countries. I've never tried it so I don't know.
Anyway... There you go.
Kind Regards
S
-
Hi,
I got my card today but when i probe the card i get the following:
Found following card...
00:06.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 32, IRQ 177
I/O ports at d800 [size=256]
Memory at dfffe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Requesting Load of wctdm ...
Loaded wctdm...
No Telephony Boards found - check admin-error log for probe failures...
Signalling asterisk daemon to load ZTDUMMY for timing purposes
Should that card be automatically identified ?
regards
fpausp
-
Hello fpausp,
I also use the Digium TDM01B in my server an I had the same problem.
When I put it in another PCI slot it was recognissed correctly.
I assume that it shared the IRQ with my VGA adapter or NIC.
Greetings from Salzburg
gery
-
HI guys,
Your problem occurs in one specific situation. You are running the web component without formally starting asterisk first.
You must do /etc/init.d/asterisk start (for 1.2) or /etc/init.d/sark start (for 1.4) and let it finish the startup before you do the probe. You especially must do this if you have just installed SARK/SAIL.
It has to do with the fact that PCI probe does not wait for udev, whereas the start routine does.
So, make sure asterisk is properly started and then do your probe again. You should be fine.
Kind Regards
S