15 Dec
2016
15 Dec
'16
10:36 p.m.
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}"/> </condition> </extension>
<snip> 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