<div dir="ltr">In vars.xml do you have g729 as an available codec?  Maybe you need to add it to &quot;global_codec_prefs&quot;.<br><br><span id="gmail-docs-internal-guid-4cb4d047-383f-8c52-179f-6e063e12462f"><span style="font-size:16px;font-family:consolas;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=OPUS,G711,PCMU,PCMA,VP8&quot;/&gt;</span><span style="font-size:16px;font-family:consolas;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br class="gmail-kix-line-break"></span><span style="font-size:16px;font-family:consolas;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=OPUS,G711,PCMU,PCMA,VP8&quot;/&gt;</span></span><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 29, 2016 at 12:03 PM, Cj B <span dir="ltr">&lt;<a href="mailto:blackc2004@gmail.com" target="_blank">blackc2004@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div><div>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:</div><div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div><div>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;section name=&quot;directory&quot;&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;domain name=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot; alias=&quot;true&quot;&gt;</div><div><span style="white-space:pre-wrap">                        </span>&lt;params&gt;</div><div><span style="white-space:pre-wrap">                                </span>&lt;param name=&quot;jsonrpc-allowed-methods&quot; value=&quot;verto&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                </span>&lt;param name=&quot;jsonrpc-allowed-event-channels&quot; value=&quot;demo,conference,presence&quot;/&gt;</div><div><span style="white-space:pre-wrap">                        </span>&lt;/params&gt;</div><div><span style="white-space:pre-wrap">                        </span>&lt;groups&gt;</div><div><span style="white-space:pre-wrap">                                </span>&lt;group name=&quot;default&quot;&gt;</div><div><span style="white-space:pre-wrap">                                        </span>&lt;users&gt;</div><div><span style="white-space:pre-wrap">                                                </span>&lt;user id=&quot;1001&quot; type=&gt;</div><div><span style="white-space:pre-wrap">                                                        </span>&lt;params&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;password&quot; value=“mypasswordfromextension&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-enabled&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-password&quot; value=“voicemailpassword&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-email-all-messages&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-attach-file&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-keep-local-after-email&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;vm-mailto&quot; value=&quot;<a href="mailto:hthoene@gmail.com" target="_blank">hthoene@gmail.com</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;dial-string&quot; value=&quot;{sip_invite_domain=<a href="http://mydomain.com" target="_blank">mydomain.com</a>,<a href="mailto:presence_id=1001@mydomain.com" target="_blank">presence_id=1001@mydomain.com</a>}${sofia_contact(<a href="mailto:1001@mydomain.com" target="_blank">1001@mydomain.com</a>)}&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;verto-context&quot; value=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;verto-dialplan&quot; value=&quot;XML&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;jsonrpc-allowed-methods&quot; value=&quot;verto&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;param name=&quot;jsonrpc-allowed-event-channels&quot; value=&quot;demo,conference,presence&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                        </span>&lt;/params&gt;</div><div><span style="white-space:pre-wrap">                                                        </span>&lt;variables&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;domain_uuid&quot; value=&quot;d85584d5-5816-4621-9fa5-08b0f1e7ff0a&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;domain_name&quot; value=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;extension_uuid&quot; value=&quot;e3d2cab9-cfcd-4235-9ea8-142b3caf1b0e&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;call_timeout&quot; value=&quot;30&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;caller_id_name&quot; value=&quot;1001&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;caller_id_number&quot; value=&quot;1001&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;call_screen_enabled&quot; value=&quot;false&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;hold_music&quot; value=&quot;local_stream://default&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;accountcode&quot; value=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;user_context&quot; value=&quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;directory-visible&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;directory-exten-visible&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;limit_max&quot; value=&quot;5&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;absolute_codec_string&quot; value=“g729&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;record_stereo&quot; value=&quot;true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;transfer_fallback_extension&quot; value=&quot;operator&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                                </span>&lt;variable name=&quot;export_vars&quot; value=&quot;domain_name&quot;/&gt;</div><div><span style="white-space:pre-wrap">                                                        </span>&lt;/variables&gt;</div><div><span style="white-space:pre-wrap">                                                </span>&lt;/user&gt;</div><div><span style="white-space:pre-wrap">                                        </span>&lt;/users&gt;</div><div><span style="white-space:pre-wrap">                                </span>&lt;/group&gt;</div><div><span style="white-space:pre-wrap">                        </span>&lt;/groups&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;/domain&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;/section&gt;</div><div>&lt;/document&gt;</div></div><div><br></div><div>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?</div><div><br></div><div>Thanks,</div><div><div>
<span style="border-collapse:separate;line-height:normal;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"><div>Cj B</div></div></span></div></span></span>
</div>

<br></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(102,102,102)"><span>Sincerely,<br>Don Hawkins<br>CEO<br>Hawkins Enterprise Group LLC<br><a href="http://hawkinsegroup.com" target="_blank">http://hawkinsegroup.com</a><br><a href="http://zello.com" target="_blank">Zello PTT</a>: push2don<br></span></span></div><div><span style="color:rgb(102,102,102)"><span>P: 469-214-5044<br></span></span></div><div dir="ltr"><span style="color:rgb(102,102,102)"><span><a value="+12146991224"></a></span></span></div></div></div></div></div></div>
</div></div>