Hi Asterisk gurus,<br><br>  I&#39;m experiencing a problem with my 1.4.19 asterisk and found that has to do with DNS delays... so looking in the code I have found that the chan_sip would do like:<br><br>static int sip_devicestate(void *data)<br>
.<br>.<br>.<br><span class="gI">... else ...{<br>        char *port = strchr(host, &#39;:&#39;);<br>        if (port)<br>            *port = &#39;\0&#39;;<br>        hp = ast_gethostbyname(host, &amp;ahp);<br>        if (hp)<br>
            res = AST_DEVICE_UNKNOWN;<br>    }</span><br><br>just to return <span class="gI">AST_DEVICE_UNKNOWN, so I was just wondering if someone could tell me why does it have the trouble to do a DNS lookup and then returns </span><span class="gI">AST_DEVICE_UNKNOWN<br>
<br>I also saw that 1.6.1.2 does not do this lookup...<br><br>Thanks already,<br>Gabriel Ortiz<br></span>