[Freeswitch-users] Codec negotiation with dynamic outbound codecs preference list

rogelio.perez at gmail.com rogelio.perez at gmail.com
Tue May 3 01:40:39 MSD 2016


In the following scenario:

vars.xml:
      <X-PRE-PROCESS cmd="set"
data="media_mix_inbound_outbound_codecs=true"/>

internal.xml:
    <param name="inbound-codec-prefs" value="G722, PCMU, PCMA, G729"/>
    <param name="inbound-codec-negotiation" value="generous"/>
    <param name="inbound-bypass-media" value="false"/>
    <param name="inbound-proxy-media" value="false"/>
    <param name="inbound-late-negotiation" value="false"/>
    <param name="inbound-zrtp-passthru" value="false"/>

external.xml:
    <param name="inbound-codec-prefs" value="G722, PCMU, PCMA, G729"/>
    <param name="inbound-codec-negotiation" value="generous"/>
    <param name="inbound-late-negotiation" value="false"/>
    <param name="inbound-zrtp-passthru" value="false"/>

...with no further modifications performed on the dialplan.

I expect this result:    A ---> offers G729 ---> FreeSWITCH ---> offers
---> G729, G722, PCMU, PCMA ---> B

...but I get this result: A ---> offers G729 ---> FreeSWITCH ---> offers
---> G722, PCMU, PCMA, G729 ---> B

I'd like FreeSWITCH to offer B all the codecs from the list, but sorted
accordiing to A's preference.

Can you help me figure out the settings?

Thanks,
Rogelio Perez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160502/cadca249/attachment.html 


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