I'm afraid that this is perfectly legitimate proxy behavior as per RFC.<br>
If your 200 OK contact contains a FQDN as domain part, the ACK will have it<br>
in the R-URI and Kamailio will forcefully have to resolve it before<br>
relaying and there is no guarantee that the result will be the same.<br>
Also don't forget that ACK is a transaction on its own, if you want to<br>
track down things between INVITE transaction and ACL transaction you have<br>
to use an "external" mechanism, like can using dialog module or htable<br>
module.<br>
<br>
<br>
On Tue, Jul 2, 2019 at 10:55 AM Surendra Tiwari <notifications@github.com><br>
wrote:<br>
<br>
> Description<br>
><br>
> We are converting udp call to tcp call in kamailio. kamailio sending out<br>
> an invite to a destination. Before sending, kamailio resolving that<br>
> destination domain to IP. After receiving invite request, Destination send<br>
> 180 and 200 OK . 200 Ok contact contains the domain name of destination.<br>
> After this kamailio forward those request to next route. kamailio recieved<br>
> the ack from upstream. After reciving the ack from upstream it resolves<br>
> again the domain name to different IP, as domain name have 2 IP's behind.<br>
> Troubleshooting Reproduction Debugging Data<br>
><br>
> (paste your debugging data here)<br>
><br>
> Log Messages<br>
><br>
> (paste your log messages here)<br>
><br>
> SIP Traffic<br>
><br>
> (paste your sip traffic here)<br>
><br>
> Possible Solutions Additional Information<br>
><br>
>    - *Kamailio Version* - output of kamailio -v<br>
><br>
> (paste your output here)<br>
><br>
><br>
>    - *Operating System*:<br>
><br>
> (paste your output here)<br>
><br>
> —<br>
> You are receiving this because you are subscribed to this thread.<br>
> Reply to this email directly, view it on GitHub<br>
> <https://github.com/kamailio/kamailio/issues/1998?email_source=notifications&email_token=AA4KTY26Y3WSPZK2HKAFA63P5MJXPA5CNFSM4H4ZREHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G42NI6Q>,<br>
> or mute the thread<br>
> <https://github.com/notifications/unsubscribe-auth/AA4KTYZCXGKHDSDETQJ253LP5MJXPANCNFSM4H4ZREHA><br>
> .<br>
><br>


<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/1998?email_source=notifications&email_token=ABO7UZNV55ITDY5BWPIKN2TP5MKW5A5CNFSM4H4ZREHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAS7JI#issuecomment-507588517">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZI7E7IYBVFXRYRK2RLP5MKW5ANCNFSM4H4ZREHA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZKGUBOP2ZGOPV6PRV3P5MKW5A5CNFSM4H4ZREHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAS7JI.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/1998?email_source=notifications\u0026email_token=ABO7UZNV55ITDY5BWPIKN2TP5MKW5A5CNFSM4H4ZREHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAS7JI#issuecomment-507588517",
"url": "https://github.com/kamailio/kamailio/issues/1998?email_source=notifications\u0026email_token=ABO7UZNV55ITDY5BWPIKN2TP5MKW5A5CNFSM4H4ZREHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAS7JI#issuecomment-507588517",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>