said by david3:I'm going to add a wideband USB headset and softphone and I'm wondering if there's a way to enable G.722 in asterisk in such a way that normal G.711 calls won't get transcoded while still allowing G.722 for the softphone?
Yes, there is a way to accomplish this.
First, make sure you have the G722 codec enabled via Settings, Sip Settings. Should be just a check mark. You can then prioritize the codec by moving up/down. I have mine set to Ulaw then G722. Save these settings.
For your asterisk extension for the softphone, got to the settings and under the settings disallow, set this to "all". Then directly underneath that, allow, place "g722". Save this extension and reload.
You should be good to go.