Parsing the SDP does not give you the used codec as there may be several codecs in the SDP and you do not know which codec is used by the clients.
But for example you can use mediaproxy. Mediaproxy allows you to retrieve the status of all current calls (codecs, bandwidth, ...)
regards klaus
Michel Bensoussan wrote:
Hello For each voice session I need to know the used codec (for bandwith calculation). For that I need to parse the SIP message body. I didn't find in OpenSER such a functionality. Is there a module that doing that? Or maybe someone is working on it? A suggestion for an open source?
Thanks.
Regards, Michel.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users