enforcing RTP payload numbers for codecs
Hi, I just download the latest, build and brought up all is fine. However, our clients are connected via IP over GPRS(UMTS) and thus we are using Speex codec. Is there a way I can enforce speex to have 97 or 98 instead of 99? Currently as it looks in the vars.xml speex is 99. see dump (taken from default vars.xml) thanks Tzury RTP Dynamic Payload Numbers currently used in FreeSWITCH and what for. 96 - AMR 97 - iLBC (30) 98 - iLBC (20) 99 - Speex 8kHz, 16kHz, 32kHz 100 -
Hey Tzury, I don't think you can change that as of now unless you modify src/mod/codecs/mod_speex/mod_speex.c There is an ianacode array at the bottom filled with 99. Now, the inevitable question is, why do you need to change it? Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada t. 1 905 474 1990 x 128 | e. moy@sangoma.com On Thu, Jul 8, 2010 at 9:28 AM, Tzury Bar Yochay <tzury.by@reguluslabs.com>wrote:
Hi,
I just download the latest, build and brought up all is fine. However, our clients are connected via IP over GPRS(UMTS) and thus we are using Speex codec.
Is there a way I can enforce speex to have 97 or 98 instead of 99? Currently as it looks in the vars.xml speex is 99. see dump (taken from default vars.xml)
thanks Tzury RTP Dynamic Payload Numbers currently used in FreeSWITCH and what for.
96 - AMR 97 - iLBC (30) 98 - iLBC (20) 99 - Speex 8kHz, 16kHz, 32kHz 100 -
_______________________________________________ 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
Ok here is what I have to rant about... the thing is called an RTP map because it maps numbers to names in the SDP. INVITE inbound says 99/speex the 200OK outbound says 98/speex, so you are to send to 98 but receive on 99 for the codec speex... the issue here is NOTHING BLOODY DOES THIS RIGHT. How about we start opening bugs on these issues with the vendors of the products you actually paid money to. :P /b On Jul 8, 2010, at 8:28 AM, Tzury Bar Yochay wrote:
Hi,
I just download the latest, build and brought up all is fine. However, our clients are connected via IP over GPRS(UMTS) and thus we are using Speex codec.
Is there a way I can enforce speex to have 97 or 98 instead of 99? Currently as it looks in the vars.xml speex is 99. see dump (taken from default vars.xml)
thanks Tzury RTP Dynamic Payload Numbers currently used in FreeSWITCH and what for.
96 - AMR 97 - iLBC (30) 98 - iLBC (20) 99 - Speex 8kHz, 16kHz, 32kHz 100 -
participants (3)
-
Brian West
-
Moises Silva
-
Tzury Bar Yochay