<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=47789025" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ionutionita92">@ionutionita92</a> - sip parsing is no longer something very expensive, if can be avoided, it is good of course. Eventually, it can be made a modparam to control if one wants to do it at that stage or not. Sometimes is better to have the option of enabling a feature at the expense of some processing time, given these days horizontal scalability can be done quite easily with cloud or containers.</p>
<p>I am not sure what are the headers you are looking for, but tm has some lightweight parsing option for few headers, iirc, they are used to match quickly the replies, or maybe something else, need to look into the code for exact answer here ... anyhow, we can move them in the core if they are useful somewhere else.</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/pull/1912#issuecomment-479041268">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZQ5r00I-NcaexaBK7LtftVqyL2H6ks5vc3JmgaJpZM4cP-3E">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZWuNXITOXOGaZxXHDtzFz1unmGvvks5vc3JmgaJpZM4cP-3E.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1912: @ionutionita92 - sip parsing is no longer something very expensive, if can be avoided, it is good of course. Eventually, it can be made a modparam to control if one wants to do it at that stage or not. Sometimes is better to have the option of enabling a feature at the expense of some processing time, given these days horizontal scalability can be done quite easily with cloud or containers.\r\n\r\nI am not sure what are the headers you are looking for, but tm has some lightweight parsing option for few headers, iirc, they are used to match quickly the replies, or maybe something else, need to look into the code for exact answer here ... anyhow, we can move them in the core if they are useful somewhere else."}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1912#issuecomment-479041268"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/1912#issuecomment-479041268",
"url": "https://github.com/kamailio/kamailio/pull/1912#issuecomment-479041268",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>