<p></p>
<h3>Description</h3>
<p>According to design logic HELD request need to send a carrier LIS server. Now lost module sends this request to the preconfigured server via <code>http_client/httpcon</code> param.<br>
I prefer to use dynamic LIS server discovery according to <a href="https://tools.ietf.org/html/rfc7216#section-4" rel="nofollow">rfc7216#section-4</a> and <a href="https://tools.ietf.org/html/rfc5986#section-4" rel="nofollow">rfc5986#section-4</a>.<br>
So dynamic LIS discovery works as:</p>
<ol>
<li>Kamailio send reverse <code>.in-addr.arpa.</code> or <code>.ip6.arpa.</code>  DNS request and caller host DNS name;</li>
<li>Kamailio send <code>LIS:HELD</code> NAPTR request for a resolved caller hostname and LIS server.</li>
<li>Kamailio send HELD request for resolved LIS address.</li>
</ol>
<p>So do get working dynamic LIS discovery required to implement two DNS requests.</p>
<p>If any DNS request will fail, then <code>lost_held_query</code> function returns an error code.<br>
To define required dynamic LIS discovery I suggest use an empty string ("") or NULL value ($null) as the first ("con") function param.</p>
<p>This feature request for discussion with lost module author (Wolfgang Kampichler <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/wkampich/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wkampich">@wkampich</a>) and other interest devs.<br>
The ticket may be closed at any time.</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/2574">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLHVA7RXBPCW7ZVLQDSS53ZFANCNFSM4UL3X5TQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLNEBDZ6FRV7LLHIWLSS53ZFA5CNFSM4UL3X5T2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LIRTNJQ.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/2574",
"url": "https://github.com/kamailio/kamailio/issues/2574",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>