Re: [Asterisk-Users] re: hardware requirement -asterisk

2004-01-16 Thread [EMAIL PROTECTED]
Philipp von Klitzing wrote:

You'll need to provide the CODEC that you are using in X-Lite!

The codec used in Xlite is 711uLaw. I guess it is one of the preferred 
ones other than gsm. And it is of small size.
--
David Kwok

FWD#/IAXTEL# : 17001813482 ext 1002


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Asterisk-Users] re hardware requirement - asterisk

2004-01-15 Thread Rich Adamson
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:02:55:30:54:28
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
  inet6 fe80::202:55ff:fe30:5428%fxp0 prefixlen 64 scopeid 0x1
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:01:02:78:11:e8
  media: Ethernet autoselect (10baseT)
  status: active
  inet 203.219.167.126 netmask 0xfffc broadcast 203.219.167.127
  inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
 
 For fxp0, the internal interface although the nic can do full-duplex it 
 seems to me that it is only running simplex!!
 
 Same for xl0, the external interface. It is running 10BaseT but again it 
 is simplex.
 
 Does that affect my voip performance? Is it true that every step of the 
 way the network has to be full-duplex?

There are no RFC standards on how duplex settings are negotiated across
a cat 5 cable, etc. Most vendors support auto-negotiate, but somewhere
near 50% of the time, its negotiated incorrectly. Part of the problem is
that both ends of the cable attempt to negotiate at roughly the same time,
one end locks into full while the other locks into half.

When that happens, the end that thinks full duplex is fine steps all over
the packets being sent from the half-duplex end, causing damaged packets,
etc. Since we're talking about UDP traffic, that's Not A Good Thing.

The system will run fine if both ends are operating at half duplex, however
bandwidth (and performance) will be limited to something below about 30%
utilization. In many systems, that is more then adequate. However, on a
heavily loaded system, statically locking the interfaces (at both ends)
to full duplex will allow utilizations up towards 90% without degradation.

Rich


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re Hardware requirement -Asterisk

2004-01-15 Thread Glen Ford
On my Linux box mii-tool yeilds the following which shows 100mbs full 
duplex.

[EMAIL PROTECTED] gford]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
/glen



[EMAIL PROTECTED] wrote:

My ADSL speed is Uplink 128kbit and Downstream 512kbit.

The mii-tool does not tell whether eth0 is in full-duplexed mode. It 
just say that it is 100baseTx.

David Kwok


--
Glen Ford
[EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re hardware requirement - asterisk

2004-01-15 Thread Chris Albertson

--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have just checked the Openbsd box on the if interface.
 
 
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:02:55:30:54:28
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
  inet6 fe80::202:55ff:fe30:5428%fxp0 prefixlen 64 scopeid 0x1
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:01:02:78:11:e8
  media: Ethernet autoselect (10baseT)
  status: active
  inet 203.219.167.126 netmask 0xfffc broadcast
 203.219.167.127
  inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
 
 For fxp0, the internal interface although the nic can do full-duplex
 it 
 seems to me that it is only running simplex!!

Why do you think it is running simplex.  I read the above and see
where it says (100baseTX full-duplex)

I don't think 10BaseT can run full duplex.  I could be wrong but
I don't think so.

But why does it matter?  A single VOIP connection will not even
use 1% of a simplex 10BaseT.  Simplex 100BaseT should be able
to handle dozens and dozens of calls



 Same for xl0, the external interface. It is running 10BaseT but again
 it 
 is simplex.
 
 Does that affect my voip performance? Is it true that every step of
 the 
 way the network has to be full-duplex?
 
 David Kwok
 

=
Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] re hardware requirement - asterisk

2004-01-15 Thread Sean Cheesman
well, it does say SIMPLEX in the fxp0 flags section.  I don't honestly
know if this means it's negotiated half duplex, or something beyond
that  10baseT is capable of running full duplex, although this
requires a NIC capable of is, as well as a switch that can do FD.  And
regarding the 1% comment, the benefit with full duplex comes in to play
with collisions, not so much traffic amounts.

-Original Message-
From: Chris Albertson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 15, 2004 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] re hardware requirement - asterisk



--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I have just checked the Openbsd box on the if interface.
 
 
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:02:55:30:54:28
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
  inet6 fe80::202:55ff:fe30:5428%fxp0 prefixlen 64 scopeid 0x1
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:01:02:78:11:e8
  media: Ethernet autoselect (10baseT)
  status: active
  inet 203.219.167.126 netmask 0xfffc broadcast 
 203.219.167.127
  inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
 
 For fxp0, the internal interface although the nic can do full-duplex 
 it seems to me that it is only running simplex!!

Why do you think it is running simplex.  I read the above and see where
it says (100baseTX full-duplex)

I don't think 10BaseT can run full duplex.  I could be wrong but I don't
think so.

But why does it matter?  A single VOIP connection will not even use 1%
of a simplex 10BaseT.  Simplex 100BaseT should be able to handle dozens
and dozens of calls



 Same for xl0, the external interface. It is running 10BaseT but again 
 it is simplex.
 
 Does that affect my voip performance? Is it true that every step of 
 the way the network has to be full-duplex?
 
 David Kwok
 

=
Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] re hardware requirement - asterisk

2004-01-15 Thread daryl
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Chris Albertson
 Sent: Thursday, January 15, 2004 12:40 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] re hardware requirement - asterisk
 
 
 
 I don't think 10BaseT can run full duplex.  I could be wrong 
 but I don't think so.

Where'd you get that idea from?  A 10-Base-T connection to a switch port
most definitely will (and should) fun full duplex.

 But why does it matter?  A single VOIP connection will not 
 even use 1% of a simplex 10BaseT.  Simplex 100BaseT should be 
 able to handle dozens and dozens of calls

Properly configured, yes.  I don't know the details of your issue, but
I've seen more shoddily auto-detected connections that I care to
remember (3Com cards on Auto - Cisco Catalyst on Auto anyone?).  Lock
the speed/duplex on the switch and the server, and check for collisions,
etc. on the port.

Daryl G. Jurbala
BMPC Network Operations
Tel (NY): +1 917 477 0468 x235
Tel (MI): +1 616 608 0004 x235
Tel (UK): +44 208 792 6813 x235
Fax: +1 508 526 8500
INOC-DBA: 26412*DGJ

PGP Key: http://www.introspect.net/pgp 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re hardware requirement - asterisk

2004-01-15 Thread Rich Adamson

  fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   address: 00:02:55:30:54:28
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
   inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
   inet6 fe80::202:55ff:fe30:5428%fxp0 prefixlen 64 scopeid 0x1
  xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   address: 00:01:02:78:11:e8
   media: Ethernet autoselect (10baseT)
   status: active
   inet 203.219.167.126 netmask 0xfffc broadcast
  203.219.167.127
   inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
  
  For fxp0, the internal interface although the nic can do full-duplex
  it 
  seems to me that it is only running simplex!!
 
 Why do you think it is running simplex.  I read the above and see
 where it says (100baseTX full-duplex)
 
 I don't think 10BaseT can run full duplex.  I could be wrong but
 I don't think so.
 
 But why does it matter?  A single VOIP connection will not even
 use 1% of a simplex 10BaseT.  Simplex 100BaseT should be able
 to handle dozens and dozens of calls

Just for fun, I moved our * box to a 10meg al-cheapo hub to force 10-half,
placed a sip-to-sip call (via two C7960's) and noticed audio was very
much half duplex. Very irritating to say the least (worse then most digital
cell-to-cell calls).

Then without changing anything other then moving the * interface to an
upstream switch running 100 full (and verifying settings), the 
half-duplex-sounding audio effects completely disappeared (as expected).

While both tests were being conducted, I ran a Sniffer analyzer to monitor
packets and validate results.

10-half vs 10-full does have a substantial impact on quality. Moving from
10-full to 100-full would have no impact unless I could have loaded it
with more rtp sessions then what I currently have the ability to do.
And, FWIW, an interface set to half-duplex on one end with full-duplex
on the other end was by far worse then when both ends of the cat 5 matched.

All tests were conducted by forcing rtp traffic thru * (didn't allow
the rtp to flow between the two sip phones).

BTW, 10-Full setting is truly available on a large number of NICs, but
not all. Obviously, the older stuff didn't support it, nor do the older
Cisco 10 meg interfaces, etc.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] re: hardware requirement -asterisk

2004-01-15 Thread [EMAIL PROTECTED]
Referring to my previous post about degradation of voice quality when 
having more than 2 connection.

The actual route is:

pc xlite - local asterisk box - iaxtel - local asterisk

I have tried out a different situation:

pc xlite - local asterisk box - iaxtel

and the second connection
pc xlite - local asterisk box - iaxtel - local asterisk
The same degradation happens as soon as the second connection is connected.

I am suspecting the ADSL connection. The internet part is ADSL with 512k 
down and 128k UP. The nic is a 3c905c 100baseTX and connected to a NEC 
ADSL modem.

# ifconfig xl0 

xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 
address: 00:01:02:78:11:e8
media: Ethernet autoselect (10baseT)
status: active
inet 203.219.167.126 netmask 0xfffc broadcast 203.219.167.127
inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
But ifconfig seems to suggest that it is running in simplex mode.

Is the degradation a result of the ADSL connection?

David Kwok


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Asterisk-Users] re: hardware requirement -asterisk

2004-01-15 Thread James Sharp
 # ifconfig xl0

 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   
  address: 00:01:02:78:11:e8
  media: Ethernet autoselect (10baseT)
  status: active
  inet 203.219.167.126 netmask 0xfffc broadcast 203.219.167.127
  inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2

 But ifconfig seems to suggest that it is running in simplex mode.

If the DSL modem is running in full duplex mode and the card in your
machine has auto-negotiated to half-duplex, things go to hell quickly.

Auto-negotiation sucks anyway.  It works about as well as Plug  Play.

ifconfig xl0 media 10BaseT mediaopt full-duplex

Or hell, try

ifconfig xl0 media 100BaseTX mediaopt full-duplex

Run netstat -I xl0 -i 1 and watch for collisions.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re: hardware requirement asterisk

2004-01-15 Thread Christopher Arnold


On Fri, 16 Jan 2004, [EMAIL PROTECTED] wrote:

 This is ifconfig on openbsd box:
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

 I think this output shows that the fxp0 interface is on simplex mode.
Yes its in simplex mode, but this parameter is NOT related to half/full
duplex on the port.

Check this output from my FreeBSD box:
%ifconfig -a
sis0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 10.1.1.254 netmask 0xff00 broadcast 10.1.1.255
inet6 fe80::202:e3ff:fe23:e028%sis0 prefixlen 64 scopeid 0x1
ether 00:02:e3:23:e0:28
media: Ethernet autoselect (100baseTX full-duplex)
status: active

Its the media line you should check!

The SIMPLEX in flags is wheter the interface hears its own transmissions
or not.


/Chris
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re: hardware requirement -asterisk

2004-01-15 Thread Chris Albertson

--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Referring to my previous post about degradation of voice quality when
 
 having more than 2 connection.
 
 The actual route is:
 
 pc xlite - local asterisk box - iaxtel - local asterisk
 
 I have tried out a different situation:
 
 pc xlite - local asterisk box - iaxtel
 
 and the second connection
 pc xlite - local asterisk box - iaxtel - local asterisk
 
 The same degradation happens as soon as the second connection is
 connected.
 
 I am suspecting the ADSL connection. The internet part is ADSL with
 512k 
 down and 128k UP. The nic is a 3c905c 100baseTX and connected to a
 NEC 
 ADSL modem.
 
 # ifconfig xl0 
 
 xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   
  address: 00:01:02:78:11:e8
  media: Ethernet autoselect (10baseT)
  status: active
  inet 203.219.167.126 netmask 0xfffc broadcast
 203.219.167.127
  inet6 fe80::201:2ff:fe78:11e8%xl0 prefixlen 64 scopeid 0x2
 
 But ifconfig seems to suggest that it is running in simplex mode.
 
 Is the degradation a result of the ADSL connection?

The fact that you 10BaseT is simplex will not matter as 10Mbps
is 20X faster than even the ADSL's downlink speed of 512kbps

You bottle neck is the 128kbps uplink speed.  You'd think that
is a lot but you can't got say codec X uses Y bits per seciond,
so two calls are 2Y bps and keep adding calls untill your
128bps is full.  It don't work that way.

Think in terms of _probibilities_.  Say your uplink is one
quarter full.  What does that mean?  It means it is running at
128kbps 25% of the time and zero 75% of the time.  So if
an audio packet is placed on that line there is a 25%
chance it will be delayed in an outbound queue.  It is
those delays that you hear.  Actually the amount of
delay is a distribution and what you hear are the tails of
the curve.  (i.e. there is a 25% change of a delay then
there is a 12% change that two packets back to back will
be delayed, 6% of three and so on.)
With one audio stream there is no competition
for the uplink.  Adjusting the packet size can have an
effect.  Very long packets are not good 


=
Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re: hardware requirement asterisk

2004-01-15 Thread Rich Adamson
 This is ifconfig on openbsd box:
 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 
 I think this output shows that the fxp0 interface is on simplex mode.
 
 The voice degradation I referred was by using xlite soft phone. I open 2 
 line similtaneously and dial to FWD and back to my incoming extension. 
 Xlite is runnning on a w2k box with realtek 100M nic in auto mode. I can 
   bearly hear the welcome message.

In many years of doing professional network performance assessments, you
found the problem Houston. Statically define all interfaces (including
the switch, hope you're not useing a hub) to 10/100 full, and at least
part of the problem, if not all, will disappear. :)


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] re: hardware requirement asterisk

2004-01-15 Thread Doug Heckaman III
At work, we just put in managed switches... one user had lots of 
collisions, which is strange for a switched network... we set the 
computer to full/100, and the switch to the same settings, and now it 
doesnt have any more collisions...

DH

Rich Adamson wrote:

This is ifconfig on openbsd box:
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
I think this output shows that the fxp0 interface is on simplex mode.

The voice degradation I referred was by using xlite soft phone. I open 2 
line similtaneously and dial to FWD and back to my incoming extension. 
Xlite is runnning on a w2k box with realtek 100M nic in auto mode. I can 
 bearly hear the welcome message.
   

In many years of doing professional network performance assessments, you
found the problem Houston. Statically define all interfaces (including
the switch, hope you're not useing a hub) to 10/100 full, and at least
part of the problem, if not all, will disappear. :)
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re Hardware requirement -Asterisk

2004-01-14 Thread [EMAIL PROTECTED]
My ADSL speed is Uplink 128kbit and Downstream 512kbit.

The mii-tool does not tell whether eth0 is in full-duplexed mode. It 
just say that it is 100baseTx.

David Kwok


smime.p7s
Description: S/MIME Cryptographic Signature