[Freeswitch-users] absolute_codec_string help

Cj B blackc2004 at gmail.com
Fri Jul 29 21:03:04 MSD 2016


Hi all,

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">
		<domain name="mydomain.com" alias="true">
			<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="vm-mailto" value="hthoene at gmail.com"/>
								<param name="dial-string" value="{sip_invite_domain=mydomain.com,presence_id=1001 at mydomain.com}${sofia_contact(1001 at mydomain.com)}"/>
								<param name="verto-context" value="mydomain.com"/>
								<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="domain_name" value="mydomain.com"/>
								<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="accountcode" value="mydomain.com"/>
								<variable name="user_context" value="mydomain.com"/>
								<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?

Thanks,
Cj B

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160729/f246c0d8/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list