<div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br><br></div>I've got a small install with Asterisk 11.<br></div>This box is connected to PSTN through a SIP trunk.<br><br></div>I need to add a cellular phone as a remote agent of an existing queue.<br>

<br></div>At the moment, this queue is configured according a ringall strategy and busy agent can be dialed.<br><br></div>My plan is :<br>1- to create a remote-agent context and insert a Wait statement into it so that local agents would get dialed ahead of remote agents.<br>

</div>2- to avoid dialing remote agents already on call (with local phones) by hanging up calls in remote-agent context when conditions are met.<br></div><div>3- use local channels such as Local/123@remote-agent<br></div>
<div><br></div>My questions relate to the above point 2.<br></div><div>Though I don't need at the moment, which state interface can I use to tell Queue application a (SIP) remote agent is Busy or not ?<br><br></div><div>
Regards<br></div><br><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div>
</div></div></div>