Hi,<br><br>According to docs of &quot;uid_domain.so&quot;, $fd and $td are attribute groups which are set when calling the lookup_domain function, to retrieve domain attributes stored in an DB ($fd.did or $td.did) :<br>lookup_domain(&quot;$fd&quot;, &quot;@from.uri.host&quot;);<br>
lookup_domain(&quot;$td&quot;, &quot;@ruri.host&quot;);<br><br>if (strempty($fd.did) &amp;&amp; strempty($td.did)) {
    <br>  # Neither the calling nor the called domain is local<br>  # This is a relaying attempt which should be forbidden<br>  sl_reply(&quot;403&quot;, &quot;Relaying Forbidden&quot;);
    drop;<br>}<br><br>But then, starting Kamailio fails with a configuration file error :<br> 0(2098) ERROR: &lt;core&gt; [pvapi.c:761]: error searching pvar &quot;fd&quot;<br> 0(2098) ERROR: &lt;core&gt; [pvapi.c:965]: wrong char [d/100] in [$fd] at [2 (0)]<br>
 0(2098) : &lt;core&gt; [cfg.y:3567]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 332, column 15-17: unknown script pseudo variable $fd<br>ERROR: bad config file (1 errors)<br><br>Line 332 is :<br>
if (strempty($fd.did) &amp;&amp; strempty($td.did)) {<br><br>I thought I could start Kamailio without &quot;pv.so&quot; (and use selects instead), but the error still shows up, as it is reported by the core pvapi.c file.<br>
<br>So I&#39;m kind of stuck, and asking help from the community to fix this problem :D<br><br>Philippe<br>