[Freeswitch-users] absolute_codec_string question

David Ponzone david.ponzone at ipeva.fr
Mon Apr 25 20:33:20 MSD 2011


Nicolas,

it's because the payload type for G729 is an old static one.
Speex doesnt have its own static payload type, as all the recent codecs. It's dynamic, so a fmtp line is required.

For your issue with 2 codecs, that's not normal.
Are you sure you did reloadxml ?

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 25/04/2011 à 18:22, Nicolas Brenner a écrit :

> Thanks Paul!
> 
> You are totally right, I was looking for the a=rtpmap:18 G729/8000 line. I find it weird that it is automatically inserted for SPEEX, but not for other codecs.
> 
> Another thing I noticed, is I can't specify more than one codec, according to what I've read about other issues, this has something to do with a comma parsing problem on the console (for some reason commas can't be escaped, this also affects trying to originate calls from ESL).
> 
> So for absolute_codec_string=G729 I get this SDP (with verbose_sdp=true):
> 
>    v=0
>    o=FreeSWITCH 1303718366 1303718367 IN IP4 127.0.0.1
>    s=FreeSWITCH
>    c=IN IP4 127.0.0.1
>    t=0 0
>    m=audio 29882 RTP/AVP 18 101 13
>    a=rtpmap:18 G729/8000
>    a=rtpmap:101 telephone-event/8000
>    a=fmtp:101 0-16
>    a=ptime:20
> 
> 
> But for absolute_codec_string=G729,PCMU I get no additional m= lines in the SDP:
> 
>    v=0
>    o=FreeSWITCH 1303716332 1303716333 IN IP4 127.0.0.1
>    s=FreeSWITCH
>    c=IN IP4 127.0.0.1
>    t=0 0
>    m=audio 32008 RTP/AVP 18 101 13
>    a=rtpmap:18 G729/8000
>    a=rtpmap:101 telephone-event/8000
>    a=fmtp:101 0-16
>    a=ptime:20
> 
> 
> 
> 
> On Mon, Apr 25, 2011 at 12:06 PM, Paul Cupis <paul at cupis.co.uk> wrote:
> On 25/04/11 16:22, Nicolas Brenner wrote:
> > I'm trying to force the use of a specific codec when originating a call from
> > the command line.
> 
> >    m=audio 17054 RTP/AVP 0 8 98 18 101 13
> 
> >    m=audio 24894 RTP/AVP 0 101 13
> 
> > And it doesn't matter the value I give to the absolute_codec_string, I will
> > get the same SDP, except if I specify SPEEX, then I'll get the same SDP as
> > the one above. Am I missing something, or is this the way it's supposed to
> > work?
> 
> Looks okay to me. Perhaps you are not looking at the m=audio line in the
> SDP which you will is different - this reflects the difference in the
> offered codecs.
> 
> You might be expecting to see all of the codecs itemised in the a=fmtp
> lines - this is known as verbose-sdp and is disabled by default.
> 
> Have a look at:
> http://wiki.freeswitch.org/wiki/Variable_verbose_sdp
> 
> Regards,
> 
> _______________________________________________
> 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
> 
> _______________________________________________
> 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/20110425/ff1d0864/attachment.html 


More information about the FreeSWITCH-users mailing list