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

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