[Freeswitch-users] Codecs in SDP

Ričardas Stoma ricardas.stoma at gmail.com
Fri Jun 6 12:36:03 MSD 2014


I have created the following extension:

<extension name="my_test">
  <condition>
    <action application="bridge"
data="{absolute_codec_string='PCMA,PCMU,GSM'}sofia/external/
1001 at 192.168.1.78"/>
    <action application="hangup"/>
  </condition>
</extension>

then i call to this extension, freeswitch dials to 1001 at 192.168.1.78 and
when i check the content of SDP, included in a SIP packet,  i see something
like this:

v=0
o=FreeSWITCH 1401972565 1401972566 IN IP4 192.168.1.65
s=FreeSWITCH
c=IN IP4 192.168.1.65
t=0 0
m=audio 17262 RTP/AVP 8 0 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20

why my codecs from 'absolute_codec_string' are not included in SDP? I would
expect to see these lines included:

a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140606/db129d1f/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list