I'm having media problems with a FS here. UAs are sending mixed capabilites all the time and i wanna gracefully degradate on them. This is what i have in vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,GSM,CODEC2"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G729"/> This is in external.xml: <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="G729"/> <param name="inbound-late-negotiation" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-proxy-media" value="true"/> I need to make sure that when a UA dials in, the A-leg is negotiated between g729 and gsm(and codec2) and the call is then transcoded to the B-leg if it's not G729 instead of just resending the SDP directly to the gateways. I've tried disabling and enabling proxy-media, late-negotiation and disable-transcoding along with passing the strict codec_string and absolute_codec_string. Point me on what i'm failing to apprehend here.
The G729 that comes with FreeSWITCH is pass through only, if you want transcoding you need to buy a license. On 27 May 2013 3:55 PM, "Daniel Ivanov" <sertys@gmail.com> wrote:
I'm having media problems with a FS here. UAs are sending mixed capabilites all the time and i wanna gracefully degradate on them.
This is what i have in vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,GSM,CODEC2"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G729"/>
This is in external.xml: <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="G729"/> <param name="inbound-late-negotiation" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-proxy-media" value="true"/>
I need to make sure that when a UA dials in, the A-leg is negotiated between g729 and gsm(and codec2) and the call is then transcoded to the B-leg if it's not G729 instead of just resending the SDP directly to the gateways. I've tried disabling and enabling proxy-media, late-negotiation and disable-transcoding along with passing the strict codec_string and absolute_codec_string.
Point me on what i'm failing to apprehend here.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
If you are going to be running many simultaneous calls, you might want to look into a Digium TCE400B or Sangoma D100 card. You get the G729 licences and offload the CPU at the same time. Software licenses are better if you need just a few. Guillermo On Mon, May 27, 2013 at 1:35 PM, Nelson Luiz Ferraz de Camargo Penteado < bigx333@gmail.com> wrote:
The G729 that comes with FreeSWITCH is pass through only, if you want transcoding you need to buy a license. On 27 May 2013 3:55 PM, "Daniel Ivanov" <sertys@gmail.com> wrote:
I'm having media problems with a FS here. UAs are sending mixed capabilites all the time and i wanna gracefully degradate on them.
This is what i have in vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,GSM,CODEC2"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G729"/>
This is in external.xml: <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="G729"/> <param name="inbound-late-negotiation" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-proxy-media" value="true"/>
I need to make sure that when a UA dials in, the A-leg is negotiated between g729 and gsm(and codec2) and the call is then transcoded to the B-leg if it's not G729 instead of just resending the SDP directly to the gateways. I've tried disabling and enabling proxy-media, late-negotiation and disable-transcoding along with passing the strict codec_string and absolute_codec_string.
Point me on what i'm failing to apprehend here.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Guillermo Ruiz Camauer
Thank you for reminding me. I am gonna use g729 less and less from now on, but i have a few licences on that machine for transcoding it, so this was not the problem. As it happens in many cases , you have to find the solution yourself just 3 minutes after writing a long thread to the maillist. What i have been missing was the inbound-codec-negotiation that i have been setting to scrooge(just because it sounds funny). And this has been sending the same SDP as from the A-leg. By the time i reverted to generous it started working better. On Mon, May 27, 2013 at 6:43 PM, Guillermo Ruiz Camauer <grcamauer@gmail.com
wrote:
If you are going to be running many simultaneous calls, you might want to look into a Digium TCE400B or Sangoma D100 card. You get the G729 licences and offload the CPU at the same time. Software licenses are better if you need just a few.
Guillermo
On Mon, May 27, 2013 at 1:35 PM, Nelson Luiz Ferraz de Camargo Penteado < bigx333@gmail.com> wrote:
The G729 that comes with FreeSWITCH is pass through only, if you want transcoding you need to buy a license. On 27 May 2013 3:55 PM, "Daniel Ivanov" <sertys@gmail.com> wrote:
I'm having media problems with a FS here. UAs are sending mixed capabilites all the time and i wanna gracefully degradate on them.
This is what i have in vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,GSM,CODEC2"/> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA,G729"/>
This is in external.xml: <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/> <param name="outbound-codec-prefs" value="G729"/> <param name="inbound-late-negotiation" value="false"/> <param name="disable-transcoding" value="false"/> <param name="inbound-proxy-media" value="true"/>
I need to make sure that when a UA dials in, the A-leg is negotiated between g729 and gsm(and codec2) and the call is then transcoded to the B-leg if it's not G729 instead of just resending the SDP directly to the gateways. I've tried disabling and enabling proxy-media, late-negotiation and disable-transcoding along with passing the strict codec_string and absolute_codec_string.
Point me on what i'm failing to apprehend here.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (3)
-
Daniel Ivanov
-
Guillermo Ruiz Camauer
-
Nelson Luiz Ferraz de Camargo Penteado