<div dir="ltr">There is Freeswitch 1.8.5 built from sources worked on x64 Linux.<div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br>
</div><div>I need to check / get internal users / trunck gateways state BEFORE using it to perform different actions in response of got conditions:<br>1. the called number is not exists in the directory at all;<br>2. the called number exist in the directory, but not registered at the time, for example don' t launch softphone;<br></div><div>3. the called number is inuse;

</div><div>4. the called number is busy;<br>5. the called number is not answered due timeout<br>6. the called number is answered.<br></div><div><br></div><div>
Is there functionality looks like device and / or extension (user) state at Freeswitch as for example <dialstatus> or <channelstarus> ? <br></div><div>
<div><br></div><div>How is the best way to get these different states for internal 
users, for each one and /or for trunk gateways, per each also ? <br></div>

</div><div><br></div><div> <br></div><div><br></div><div> <br></div></div></div></div>
</div></div>
</div></div>