[SR-Users] sdpops and dynamic codec ids

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 1 11:45:22 CET 2011


Hello,

On 10/31/11 7:59 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> btw, since I haven't spotted if you said it in previous emails, does
>> keep_codecs_by_name() work now ok with codecs that have dynamic ids?
> no, as i mentioned,
ok, I missed that, being after the report of the no-sdp issue.

This one should be fixed as well now, after my last commit. There was a 
copy&paste mistake that didn't used provided delimiter to search in a 
codec list, but space ' ', where it was a comma separated list.

Try again with master and let me know if now is working fine.

Cheers,
Daniel

> it doesn't
> work. sdp_keep_codecs_by_name("PCMU,PCMA,speex"); on
>
>              Session Description Protocol Version (v): 0
>              Owner/Creator, Session Id (o): twinkle 1962716457 1676699914 IN IP4 192.98.102.10
>              Session Name (s): -
>              Connection Information (c): IN IP4 192.98.102.10
>              Time Description, active time (t): 0 0
>              Media Description, name and address (m): audio 8000 RTP/AVP 99 97 8 0 3 101
>              Media Attribute (a): rtpmap:99 speex/32000
>              Media Attribute (a): rtpmap:97 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:101 telephone-event/8000
>              Media Attribute (a): fmtp:101 0-15
>              Media Attribute (a): ptime:20
>              Media Attribute (a): zrtp
>
> gives
>
>         Session Description Protocol
>              Session Description Protocol Version (v): 0
>              Owner/Creator, Session Id (o): twinkle 1962716457 1676699914 IN IP4 192.98.102.10
>              Session Name (s): -
>              Connection Information (c): IN IP4 192.98.102.10
>              Time Description, active time (t): 0 0
>              Media Description, name and address (m): audio 8000 RTP/AVP 0
>              Media Attribute (a): rtpmap:0 PCMU/8000
>              Media Attribute (a): ptime:20
>              Media Attribute (a): zrtp
>
> -- juha
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-users mailing list