[Freeswitch-users] FS changes to transcoding after hold

Ítalo Rossi italo at freeswitch.org
Thu Dec 29 21:20:07 MSK 2016


Documented on
https://freeswitch.org/confluence/display/FREESWITCH/How+To%27s#HowTo's-Locknegotiatedcodec

:)

On Thu, Dec 15, 2016 at 7:36 PM, Sebastian Kemper <sebastian_ml at gmx.net>
wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Ítalo Rossi
italo at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161229/df744136/attachment.html 


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