[SR-Users] sdpops and dynamic codec ids

Juha Heinanen jh at tutpro.com
Sat Oct 22 15:20:47 CEST 2011


i made call sdp_keep_codecs_by_name("PCMU,PCMA,speex"); on an invite
request and it didn't keep speex although it was in the sdp:

        Session Description Protocol
            Session Description Protocol Version (v): 0
            Owner/Creator, Session Id (o): sems 1 1 IN IP4 192.98.102.10
            Session Name (s): sems
            Connection Information (c): IN IP4 192.98.102.10
            Time Description, active time (t): 0 0
            Media Description, name and address (m): audio 40000 RTP/AVP 101 102 8 0 3 2 9 96 97 98 99 100
            Media Attribute (a): rtpmap:101 iLBC/8000
            Media Attribute (a): rtpmap:102 speex/8000
            Media Attribute (a): rtpmap:8 PCMA/8000
            Media Attribute (a): rtpmap:0 PCMU/8000
            Media Attribute (a): rtpmap:3 GSM/8000
            Media Attribute (a): rtpmap:2 G721/8000
            Media Attribute (a): rtpmap:9 g722/8000
            Media Attribute (a): rtpmap:96 telephone-event/8000
            Media Attribute (a): rtpmap:97 G726-32/8000
            Media Attribute (a): rtpmap:98 G726-24/8000
            Media Attribute (a): rtpmap:99 G726-40/8000
            Media Attribute (a): rtpmap:100 G726-16/8000

it is so that sdpops module does not support codecs, whose ids are
dynamic, but only codecs with static ids?

-- juha



More information about the sr-users mailing list