<p>Thanks for the response as well.<br>
Ok, about the SND_F_FORCE_SOCKET - it would be indeed good to make it configurable. I assume that it is only used for the forward() function - so you could add an flag parameter to the function to control this behaviour. Then it could be extended in the future (as bitmask) if there are other extensions necessary.<br>
Example:</p>
<ul>
<li>ipsec_forward("location"); # old behaviour</li>
<li>ipsec_forward("location", "1"); new behaviour</li>
<li>ipsec_forward("location", "0"); old behaviour</li>
</ul>

<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/2148?email_source=notifications&email_token=ABO7UZMN5FEGYZQEH3F7JL3QVWDOZA5CNFSM4JRKYG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHMLVI#issuecomment-558810581">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNFU5MV7TCC7WWQYHDQVWDOZANCNFSM4JRKYG7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZN6VUHCBMT5KF7LQU3QVWDOZA5CNFSM4JRKYG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHMLVI.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/pull/2148?email_source=notifications\u0026email_token=ABO7UZMN5FEGYZQEH3F7JL3QVWDOZA5CNFSM4JRKYG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHMLVI#issuecomment-558810581",
"url": "https://github.com/kamailio/kamailio/pull/2148?email_source=notifications\u0026email_token=ABO7UZMN5FEGYZQEH3F7JL3QVWDOZA5CNFSM4JRKYG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFHMLVI#issuecomment-558810581",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>