I have couple extensions where I want to force all incoming/outgoing calls to be g729 no matter what. I’ve added absolute_codec_string to the extension configuration. Here it is from memcache:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="directory">
<params>
<param name="jsonrpc-allowed-methods" value="verto"/>
<param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/>
</params>
<groups>
<group name="default">
<users>
<user id="1001" type=>
<params>
<param name="password" value=“mypasswordfromextension"/>
<param name="vm-enabled" value="true"/>
<param name="vm-password" value=“voicemailpassword"/>
<param name="vm-email-all-messages" value="true"/>
<param name="vm-attach-file" value="true"/>
<param name="vm-keep-local-after-email" value="true"/>
<param name="verto-dialplan" value="XML"/>
<param name="jsonrpc-allowed-methods" value="verto"/>
<param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/>
</params>
<variables>
<variable name="domain_uuid" value="d85584d5-5816-4621-9fa5-08b0f1e7ff0a"/>
<variable name="extension_uuid" value="e3d2cab9-cfcd-4235-9ea8-142b3caf1b0e"/>
<variable name="call_timeout" value="30"/>
<variable name="caller_id_name" value="1001"/>
<variable name="caller_id_number" value="1001"/>
<variable name="call_screen_enabled" value="false"/>
<variable name="hold_music" value="local_stream://default"/>
<variable name="directory-visible" value="true"/>
<variable name="directory-exten-visible" value="true"/>
<variable name="limit_max" value="5"/>
<variable name="absolute_codec_string" value=“g729"/>
<variable name="record_stereo" value="true"/>
<variable name="transfer_fallback_extension" value="operator"/>
<variable name="export_vars" value="domain_name"/>
</variables>
</user>
</users>
</group>
</groups>
</domain>
</section>
</document>
But I’m still seeing calls from the phone in PCMU codec. The phone is an SPA2102. I’ve also made sure that g729 is enabled on the phone itself… any other suggestions on how to force all incoming and outgoing calls on this leg to be g729?