<div class="gmail_extra"><div class="gmail_quote"><div><div><div class="h5"><span><font color="#888888"><span><font color="#888888">Hi,<br><br>With </font></span></font></span>&quot;Local_Extension&quot; I can&#39;t <span id="result_box" class="" lang="en"><span class="">distinguish all cases, I can </span></span><span lang="en"><span></span></span><span id="result_box" class="" lang="en"><span class="">distinguish only successful or</span></span> failed<span><font color="#888888"><span><font color="#888888"> answer.<br>
<br>About first case: </font></span></font></span>I have no sequential numbers for local users and can&#39;t describe range as regex. So, the best way to identify if local user exists is to search id (<span lang="en"><span>and number-alias</span></span>) in directory. I know about mod_xml_curl which can be used for filling dialplan and directory from some database, but I tried to find more simple way.<br>
<span><font color="#888888"><span><font color="#888888"><br>-- <br>Regards,<br>Eugene Prokopiev</font></span></font></span><br></div></div>
</div></div></div>