as you know you have 2 ways. using ami or .call files. if you have experience, the AMI is more powerful.<div><br></div><div>you must have a context in your extensions.conf to manage agent procedures, it looks like a simple context, that you must have, for managing queues.</div>
<div>with .call file or ami dial your customers, () and divert it to the defined context for queue.</div><div><br></div><div>for example </div><div><br></div><div>test.call</div><div><br></div><div>Channel: SIP/customer number@your carrier</div>
<div>Context: your queue context</div><div>.....</div><div><br></div><div>ask if you need more info</div><div>best </div><div><br><div class="gmail_quote">On Sat, Feb 12, 2011 at 7:53 PM, Edwin Quijada <span dir="ltr"><<a href="mailto:listas_quijada@hotmail.com">listas_quijada@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
Hi!<br>I have a script to generate calls from a database using .call files and giving a message. If works great! but now I need to do the same but instead of play a recorded message I need transfer this call to live person in a specfic extension. <div>
This is the scenario</div><div>I have a webpage with information about a customer so in this page the agent click a phone number and asterisk do the call and transfer the call to agent if this call is answered.</div><div>
I did the page and everything but when I do the clicktodial I dont know how transfer the call to this agent. I ask the extension and user before login so I know what agent is in each extension to transfer the call to rigth agent.</div>
<div><br></div><div>Anybody can give an idea ?</div><div>TIA</div><div><br><br>*-------------------------------------------------------* <br>*-Edwin Quijada <br>*-Developer DataBase <br>*-JQ Microsistemas <br>
*-Soporte PostgreSQL<br>
*-<a href="http://www.jqmicrosistemas.com" target="_blank">www.jqmicrosistemas.com</a><br>*-809-849-8087<br>*-------------------------------------------------------*<br><br><br><br></div>                                            </div>
<br>--<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></blockquote></div><br></div>