[Freeswitch-users] How to force the usage of g729 instead of g729b

David Ponzone david.ponzone at ipeva.fr
Thu Dec 2 20:56:44 MSK 2010


Jan,

For outbound, I do it this way:

    <extension name="disable-annexB" continue="true">
      <condition field="${switch_r_sdp}" expression="/(.*)(m=audio \d+ RTP\/AVP)(.*)( 18 )(.*)/s">
        <action application="export" data="sip_append_audio_sdp=a=fmtp:18 annexb=no"/>
      </condition>
    </extension>

For inbound, it's going to be tricky, as I am not sure if there is a way to patch the SDP that FS will send back...

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr  -   www.ipeva-studio.com

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 02/12/2010 à 18:48, Jan Riedinger a écrit :

> As far as I know the codec strings for g729 and g729b are the same, 
> despite these codecs are  not compatible according RFC 3555 (at least 
> Cisco is reading the RFC in that way, 
> https://supportforums.cisco.com/docs/DOC-3188).
> 
> 
> Am 02.12.2010 18:12, schrieb Madovsky:
>> Maybe
>> absolute_codec_string will do the trick
>> 
>> ----- Original Message -----
>> From: "Jan Riedinger"<riedinger at sns.eu>
>> To: "FreeSWITCH Users Help"<freeswitch-users at lists.freeswitch.org>
>> Sent: Thursday, December 02, 2010 10:51 AM
>> Subject: [Freeswitch-users] How to force the usage of g729 instead of g729b
>> 
>> 
>> By setting global_codec_prefs and inbound_codec_prefs it's possible to
>> specify, which codecs are supported for inbound calls. How can I specify
>> that the switch shall support g729, but not g729b?
>> 
>> The incoming INVITE message contains a SDP with the media attribute
>> annexb=yes. How has Freeswitch to answer to indicate that g729 is
>> supported but g729b is not supported?
>> 
>> 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
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101202/b2c9220a/attachment.html 


More information about the FreeSWITCH-users mailing list