### Description I want proxy MSRP session on kamailio. Do to this I must rewrite connection information for session for case when used only one media `message`.
Otherwise need to rewrite connection information for only one `message` media.
To do this need to know how many medias in SDP present. One or more. Could you add function to count medias in SDP;
Looks as I can not find functions to update: 1. connection information for media 1. port for media
Close this issue as new function to count media not help me reach goal.
Closed #2184.