So here's what I think about your scenario:<div><br></div><div>CALL-FLOW</div><div>1- Call come in to asterisk (channel not answered)</div><div>2- Event is triggered and User decides what to do with call</div><div>3- On basis of what user decided a variable is set.</div>
<div>4- Asterisk on the base of that variable route the call further.</div><div><br></div><div>If this is the intended behaviour I'd make the dialplan which would be something like.</div><div><br></div><div>DIAL-PLAN ALGO</div>
<div>1- Progress() ; Won't Answer the channel and put the call in trying... mode.</div><div>2- Generate User Evnt</div><div>3- While(USERDECISION == "")</div><div>4- Endwhile</div><div>5- Execute anything on base of USERDECISION</div>
<div><br></div><div>This has some limitation due to progress. GUI user needs to decide fast as progress will time-up and the caller will get NO_ANSWER from the system.</div><div><br></div><div>Queue can be used to put call on wait until something is decided by GUI user but for that you'll have to use system resources and also answer the channel first.</div>
<div><br></div><div>I hope some real expert here guide you in a better direction.<br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 4:44 PM, Yaroslav Panych <span dir="ltr"><<a href="mailto:panych.y@gmail.com">panych.y@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, something like that, but<br>
hold"-state should not answer channel. answer command will be given<br>
explicitly. or call can be transfered to Dial command, etc.<br>
<br>
2011/10/5 Sammy Govind <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>>:<br>
<div class="im">> Can you please explain what you are trying to do? What I've perceived from<br>
> this thread is that you want to put call on hold (passively as in no<br>
> resources usage) and then on the base of some User's input from UI proceed<br>
> with the call accordingly !!<br>
><br>
<br>
</div><div><div></div><div class="h5">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>