<div dir="ltr">In vars.xml do you have g729 as an available codec? Maybe you need to add it to "global_codec_prefs".<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"><X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G711,PCMU,PCMA,VP8"/></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"><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=OPUS,G711,PCMU,PCMA,VP8"/></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"><<a href="mailto:blackc2004@gmail.com" target="_blank">blackc2004@gmail.com</a>></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><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div><document type="freeswitch/xml"></div><div><span style="white-space:pre-wrap">        </span><section name="directory"></div><div><span style="white-space:pre-wrap">                </span><domain name="<a href="http://mydomain.com" target="_blank">mydomain.com</a>" alias="true"></div><div><span style="white-space:pre-wrap">                        </span><params></div><div><span style="white-space:pre-wrap">                                </span><param name="jsonrpc-allowed-methods" value="verto"/></div><div><span style="white-space:pre-wrap">                                </span><param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/></div><div><span style="white-space:pre-wrap">                        </span></params></div><div><span style="white-space:pre-wrap">                        </span><groups></div><div><span style="white-space:pre-wrap">                                </span><group name="default"></div><div><span style="white-space:pre-wrap">                                        </span><users></div><div><span style="white-space:pre-wrap">                                                </span><user id="1001" type=></div><div><span style="white-space:pre-wrap">                                                        </span><params></div><div><span style="white-space:pre-wrap">                                                                </span><param name="password" value=“mypasswordfromextension"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-enabled" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-password" value=“voicemailpassword"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-email-all-messages" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-attach-file" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-keep-local-after-email" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="vm-mailto" value="<a href="mailto:hthoene@gmail.com" target="_blank">hthoene@gmail.com</a>"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="dial-string" value="{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>)}"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="verto-context" value="<a href="http://mydomain.com" target="_blank">mydomain.com</a>"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="verto-dialplan" value="XML"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="jsonrpc-allowed-methods" value="verto"/></div><div><span style="white-space:pre-wrap">                                                                </span><param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/></div><div><span style="white-space:pre-wrap">                                                        </span></params></div><div><span style="white-space:pre-wrap">                                                        </span><variables></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="domain_uuid" value="d85584d5-5816-4621-9fa5-08b0f1e7ff0a"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="domain_name" value="<a href="http://mydomain.com" target="_blank">mydomain.com</a>"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="extension_uuid" value="e3d2cab9-cfcd-4235-9ea8-142b3caf1b0e"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="call_timeout" value="30"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="caller_id_name" value="1001"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="caller_id_number" value="1001"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="call_screen_enabled" value="false"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="hold_music" value="local_stream://default"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="accountcode" value="<a href="http://mydomain.com" target="_blank">mydomain.com</a>"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="user_context" value="<a href="http://mydomain.com" target="_blank">mydomain.com</a>"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="directory-visible" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="directory-exten-visible" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="limit_max" value="5"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="absolute_codec_string" value=“g729"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="record_stereo" value="true"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="transfer_fallback_extension" value="operator"/></div><div><span style="white-space:pre-wrap">                                                                </span><variable name="export_vars" value="domain_name"/></div><div><span style="white-space:pre-wrap">                                                        </span></variables></div><div><span style="white-space:pre-wrap">                                                </span></user></div><div><span style="white-space:pre-wrap">                                        </span></users></div><div><span style="white-space:pre-wrap">                                </span></group></div><div><span style="white-space:pre-wrap">                        </span></groups></div><div><span style="white-space:pre-wrap">                </span></domain></div><div><span style="white-space:pre-wrap">        </span></section></div><div></document></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>