[Freeswitch-users] disabling ptime warning message
Malay Thakershi
mthakershi at gmail.com
Tue Mar 1 09:16:42 MSK 2011
OK. So did the following and now I do not get that warning anymore. Also
wanted to remove unnecessary codec offerings.
1. Commented out all <!-- Codec Interfaces --> in modules.conf.xml (this
reduced comparisons before final codec was being chosen)
2. Changed codec lines in vars.xml
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA"/>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/>
3. Added these to sofia.conf.xml
<param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/>
Thank you.
Malay
On Mon, Feb 28, 2011 at 8:44 PM, Michael Collins <msc at freeswitch.org> wrote:
>
>
> On Mon, Feb 28, 2011 at 4:34 PM, Malay Thakershi <mthakershi at gmail.com>wrote:
>
>> Ok.
>> I am using managed esl to send originate.
>>
>> I will put these params in sofia profiles.
>>
>> You said I am offering all codecs at once. How do I restrict this? And
>> what should be the codec offered in my case?
>>
>
> Well, assuming that what the other end sent is useful, the other end only
> offered 3 codecs in the SDP coming back:
> m=audio 19624 RTP/AVP 0 3 18
> a=rtpmap:0 PCMU/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:18 G729/8000
>
>
> I'm assuming you don't want the calls to sound horrible, so don't use GSM.
> If you didn't pay for the G729 commercial licenses then don't use G729. That
> leaves good ol' PCMU. You can add this to the beginning of your originate
> dialstring:
> {absolute_codec_string=PCMU}
>
> See if that helps...
>
> -MC
>
>
> _______________________________________________
> 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/20110301/61dc8272/attachment.html
More information about the FreeSWITCH-users
mailing list