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