HOW DISABLE CODE G722, G726 y GSM FOR OUTBOUND ROUTE?

disable the code when i call for g722.g726

You can’t disable codecs on a per-route basis; you must disable them for the trunk.

For pjsip, just uncheck the desired boxes on the Codecs tab. For chan_sip, add (for example)

disallow=all
allow=ulaw&alaw

to the Peer Details.

If you really need different codecs for the same trunk on different routes, define a second (outbound only) trunk with the same credentials.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.