<blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=12935038" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schneuwlym">@schneuwlym</a> : you list in the message flow that Kamailio uses 192.168.1.1 at the top of the initial comment, but then you also say "Interestingly Kamailio does not listen on interface 192.168.1.1, so why does it use this socket?"</p>
</blockquote>
<p>You misunderstood my my setup description. The box where Kamailio is running has two interfaces. and Kamailio is listening just on 192.168.14[78].1<br>
If TLS is used, Kamailio is going to use the second interface (192.168.1.1) towards the second Kamailio but it is not configured to listen on this interface. So why does it use this address even if it is not configured to listen on this interface. If plain SIP is used, Kamailio uses 192.168.14[78].1 for all connections.</p>
<p>To me it sounds odd that the behavior is different of choosing the socket if TLS is used or not, doesn't it?</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/2028?email_source=notifications&email_token=ABO7UZM6GOSUILDYW6UD4JLQDLDUVA5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YLWLY#issuecomment-519093039">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJOFBUSUJIM7TQFIKDQDLDUVANCNFSM4IJ5YDKA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZL6E5Q4GA42OSIUY33QDLDUVA5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YLWLY.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/2028?email_source=notifications\u0026email_token=ABO7UZM6GOSUILDYW6UD4JLQDLDUVA5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YLWLY#issuecomment-519093039",
"url": "https://github.com/kamailio/kamailio/issues/2028?email_source=notifications\u0026email_token=ABO7UZM6GOSUILDYW6UD4JLQDLDUVA5CNFSM4IJ5YDKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3YLWLY#issuecomment-519093039",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>