On Wed, Dec 14, 2016 at 12:49:27AM -0600, Anthony Minessale wrote:
> you could try setting execute_on_answer variable to lock in the codec
>
> Make an extension in the same context "assuming default for this example"
>
> <extension name="lock_codec">
>
>
> <condition field="destination_number" expression="^lock_codec$">
> <action application="set"
> data="absolute_codec_string=${rtp_use_codec_name}"/> <snip>
> </condition>
> </extension>
Hello Anthony,
I tried it out and it worked. I added a new context with the lock_codec
extension and then added the execute_on_answer in the context I was
making test calls from.
When using "set" the absolute_codec_string was set on A leg, when using
"export" on both legs, like you said.
Thanks!
Sebastian
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org