<h3>Description</h3>
<p>I want proxy MSRP session on kamailio.<br>
Do to this I must rewrite connection information for session for case when used only one media <code>message</code>.</p>
<p>Otherwise need to rewrite  connection information for only one <code>message</code> media.</p>
<p>To do this need to know how many medias in SDP present. One or more.<br>
Could you add function to count medias in SDP;</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2184?email_source=notifications&email_token=ABO7UZLWIQXPECRM7PLDKGLQ2MM7JA5CNFSM4J7DQWDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICSYYMA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLAWOJWX4FY6XJPNITQ2MM7JANCNFSM4J7DQWDA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJASDCQCL3GNN26DILQ2MM7JA5CNFSM4J7DQWDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICSYYMA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2184?email_source=notifications\u0026email_token=ABO7UZLWIQXPECRM7PLDKGLQ2MM7JA5CNFSM4J7DQWDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICSYYMA",
"url": "https://github.com/kamailio/kamailio/issues/2184?email_source=notifications\u0026email_token=ABO7UZLWIQXPECRM7PLDKGLQ2MM7JA5CNFSM4J7DQWDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICSYYMA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>