[Freeswitch-users] rtpmap question PCMU/PCMA

Brian West brian at freeswitch.org
Wed Jun 2 07:21:54 PDT 2010


No it is NOT mandatory to include them.  Only when they are on defined codec numbers.

/b

On Jun 2, 2010, at 9:14 AM, Mark Campbell-Smith wrote:

> Coming back to my original question:
> Is it mandatory to always include the rtpmap details for PCMU/PCMA
> codes?  For example something like 'a=rtpmap:8 PCMA/8000' and
> 'a=rtpmap:0 PCMU/8000'?
> 
> Is it possible to add the end of the SDP parameters by doing something like:
>         <extension name="fix_phonzo" continue="true">
>                  <condition field="caller_id_number" expression="123456">
>                      <action application="export"
> data="sip_append_audio_sdp=a=rtpmap:8 PCMA/8000"/>
>                     <action application="export"
> data="sip_append_audio_sdp=a=rtpmap:0 PCMU/8000"/>
>                  </condition>
>            </extension>
> 
> Can this be done anywhere in the dialplan as long as its before the
> bridge command?




More information about the FreeSWITCH-users mailing list