[Freeswitch-users] Codec Mismatch Because of Different Frame Size

Jan Riedinger riedinger at sns.eu
Thu Sep 30 03:55:25 PDT 2010


  Here is the same e-mail, which I sent a little bit ago, but with a 
better readable debug log.

BR
     Jan Riedinger


Am 30.09.2010 12:25, schrieb Jan Riedinger:
>  I'm using the following configuration:
>
> vars.xml:
> <X-PRE-PROCESS cmd="set" 
> data="global_codec_prefs=G729,PCMU,PCMA,G723,G7221 at 32000h,G7221 at 16000h,G722,GSM"/>
> <X-PRE-PROCESS cmd="set" 
> data="outbound_codec_prefs=G729,PCMU,PCMA,G723,GSM"/>
>
> external.xml (my standard sip profile):
> <param name="inbound-codec-negotiation" value="greedy"/>
> <param name="inbound-late-negotiation" value="false"/>
> <param name="disable-transcoding" value="true"/>
>
> With this configuration I want to restrict the allowed codecs, force 
> the usage of G729 as first choice, if available and to minimize the 
> calls with transcoding.  I don't want to force the usage of a specific 
> frame size.
>
> Now a lot of calls get rejected with "incompatible destination" by 
> FreeSwitch, because the frame size of the incoming calls differs from 
> the Freeswitch default (mostly 20 ms), see the debug log below.
>
> Is this the intended behaviour? If it is, how can I circumvent it? Do 
> I have to list every codec with every possible frame size in the 
> global_codec_prefs list?
>
> Thank you in advance
>        Jan
>
>
>

-- 
Jan Riedinger                           Phone :  +49-30-39 73 19 66
Dipl.-Inf. | Managing Director          Fax   :  +49-30-39 73 19 64
                                         E-Mail:  riedinger at sns.eu
SNS Consult GmbH                        ICQ   :  163-237-041
Südwestkorso 49a                        MSN   :  jan at sns-consult.de
14197 Berlin GERMANY                    Skype :  Jan Riedinger

AG Charlottenburg - HRB 71973

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: codec-mismatch.txt
Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100930/8b4a8fcf/attachment.txt 


More information about the FreeSWITCH-users mailing list