On 8/29/07, <b class="gmail_sendername">Aubrey Wells</b> <<a href="mailto:aubrey@sheltonjohns.com">aubrey@sheltonjohns.com</a>> wrote:<div><span class="gmail_quote"></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div>I have a main Asterisk server, and a server at a branch location connected via a IAX2 trunk. I want to have a queue at the main location that has people from both locations as members. I got this working, but the trouble comes when the round-robin logic selects a member at the branch office to call. If that user is unavailable, their voicemail answers the call, and the main server detects this as an answered call and assumes the agent answered. This is obviously not what I want, as I would like for the call to roll to one of the other agents. Has anyone come across this before? Solutions?
</div></div></blockquote><div><br>Don't contact the remote agents using a context that includes a call to VoiceMail(). Contact a remote context that dials the agent using Dial() with the appropriate timeout and hangs up if the agent is unavailable. Then app_queue () will do the right thing.
<br></div></div><br>-- <br>j.