Within the LAN/Wan environment the IP Phones comply with H323v2 standards. Which means they make use of the standard codec’s (Voice Compressions Techniques) which are built into H323v2, The standard for Voice and Video over IP.
There are 2 main Codec’s that you would consider when using IP Phones.
G.729a and G.711
G.729a is normally used across WAN/VPN connections because of the restrictions in available bandwidth. G.711 is used in the LAN environment, because you normally have at least 100MB to each device in the LAN environment, so bandwidth is not so much of an issue. G.711 does not compress the voice stream just encapsulates the 64k PCM stream in to IP packets.
A standard call using G.729a across an Ethernet network, with no additional compression will consume approx 31.2 kbps
A standard call using G.711 across an Ethernet network, with no additional compression will consume approx 87.2 kbps
There are no problems with installing 40 IP Phones at one site however you need to work of how many concurrent calls you want to be able to allow between the IPO and the IP Phones and provision the VCM card correctly.
Your statement is correct
I thought that the VCM resources only come into play when IP-to-IP calls are being setup, once set up it drops VCM channel because the Phones support there own compression. However a call from an IP Phone to a digital / trunk / pstn will consume a channel for the duration to the call
You should also consider getting some decent Ethernet Switching devices that support COS @ Layer 2 and @ L3 to make sure VoIP traffic get priority across the Ethernet network. The AVAYA Cajun switches are designed for this. You would be looking at creating a VLAN'ed network.
Also make sure the IP Phones that you chose support all the features that you require, you will normally not get as many features on an IP Phone compared to a 20XX or 6400 digital phones. The product description has a good matrix of all features supported across all phones. Think of an IP Phone as a fancy alog phone with some additional features.
Hope this helps