<p>I am trying to run OpenSips presence server on kubernetes but it's not working The reason for it is what I found is the wrong IP - Port combination choosen by OpensSips to send the response 200</p>
<p>Below is the tcpdump </p>
<p>tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes <br>
04:34:30117024 IP (tos 0x0, ttl 63, id 10208, offset 0, flags [DF], proto UDP (17), length 999) <br>
<strong>1024424040351 > 102447115060</strong>: SIP, length: 971<br>
PUBLISH sip:service-1@opensipstestorg SIP/20 <br>
Via: SIP/20/UDP <strong>19216814410:32569</strong>;branch=z9hG4bK-6324-1-0 <br>
Max-Forwards: 20 <br>
From: sip:service-1@opensipstestorg;tag=1 <br>
To: sip:service-1@opensipstestorg<br>
Call-ID: <a href="https://github.com/1-6324/opensips/commit/19216814410" class="commit-link">1-6324@<tt>1921681</tt></a> <br>
CSeq: 1 PUBLISH <br>
Expires: 3600 <br>
Event: presence <br>
Content-Length: 607 <br>
User-Agent: Sipp v11-TLS, version 20061124 <br>
</p>
<p>04:34:30118455 IP (tos 0x10, ttl 64, id 28000, offset 0, flags [DF], proto UDP (17), length 417) <br>
<strong>102447115060 > 1024424032569</strong>: SIP, length: 389<br>
SIP/20 200 OK <br>
Via: SIP/20/UDP <strong>19216814410:32569</strong>;received=10244240;branch=z9hG4bK-6324-1-0 <br>
From: sip:service-1@opensipstestorg;tag=1 <br>
To: sip:service-1@opensipstestorg;tag=6c8cd3bc7eb4fe86b153056f4d236d23-ba2c <br>
Call-ID: <a href="https://github.com/1-6324/opensips/commit/19216814410" class="commit-link">1-6324@<tt>1921681</tt></a> <br>
CSeq: 1 PUBLISH <br>
Expires: 3600 <br>
SIP-ETag: a14509226693820 <br>
Server: OpenSIPS (184-notls (x86_64/linux)) <br>
Content-Length: 0 </p>
<p>As you can see in the dump the IP address where the reply is being sent is the one from which it received the request ie <strong>10244240</strong> while the port is <strong>32569</strong>, which is the actual client port instead it should have been <strong>40351</strong></p>
<p>Please correct me if I made some wrong observation</p>
<p>Thanks,<br>
Suryaveer</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/737">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXEGfww_-eVm1_4dXuvfXAmBtlK_ks5pTMyjgaJpZM4G7PYI.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/737"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>