That licensing scheme is INSANE, especially since codecs like Opus exist, and do a much better job.
Once you touch the PSTN though, you're uLaw anyway. Why would you pay that much just for in-network voice quality?
Yes, codec licensing costs are one of the reasons people choose to not use the better codecs. Also, yes there is a CPU trade off as well.
The decision is more complicate with many trade offs. But in general, the OPs issues are either fundamental network ones or an intentional choice of one of his providers (typically for cost reasons - manifested in some manner).
If I'm not mistaken, each party of each leg of a call needs a license, which means that for a typical call centre with an IVR server between the agent and the customer, you need:
Summary:
- PSTN converter to IVR: 2 licenses / per customer
- IVR to agent: 2 licenses / per agent
- IVR to supervisor: 2 licenses / per supervisor.
It's pretty normal to see 300-agent call centres, and you typically want at least 300-900 calls waiting. Let's say there's between 10 and 30 supervisors.
300 * 2 + 900 * 2 + 30 * 2 = 2460 licenses. At $6-10 per license, that's more expensive than most hardware PBX solutions alone!
For IVR companies that handle multiple hundreds of thousands of calls per day, it's not really worth it.
Edit: Formatting