Jon Gabrielson
2005-May-17 20:49 UTC
[Asterisk-Users] how to get remote extensions to work correctly with a zap channel?
I am trying to get remote extensions to work correctly with agents. I have ackcall=yes and have agents logged in to extension 101 using agentcallbacklogin with extension 101 defined as: exten => 101,1,Dial(Zap/3/18165551234,20,tTA(custom/presspoundtoanswer)) This setup works great on local and/or voip channels, but on zap channels, the zap channel answers immediately as soon as it goes off hook and the announcement gets played long before the agent gets a chance to answer their phone. Is there a way to either delay the announcement until the agent picks up or to keep repeating the message until the agent presses a button? Or is there possibly a better way of doing this? Thanks, Jon.
Jason Walker
2005-May-17 21:37 UTC
[Asterisk-Users] how to get remote extensions to work correctlywith a zap channel?
I have set up AddQueueMember and RemoveQueueMember commands within my dial plan for SIP agents. When an agent dials into a specific SIP extension, their caller ID num is passed and they are presented with "Agent Logged In". When calls get routed from the ZAP channel into the SIP client, their "physical" SIP phone rings allowing them to answer. I have MOH playing during this timeframe. I am not sure if that helps you out - but perhaps an alternative to what you are doing...? Do you have commands after the dialplan "queue" is executed? I am trying to determine the SIP client that receives the call (is this in a variable???) so I can do a screen pop to the agent (CTI type functionality). Have you any success with this? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jon Gabrielson Sent: Tuesday, May 17, 2005 8:50 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] how to get remote extensions to work correctlywith a zap channel? I am trying to get remote extensions to work correctly with agents. I have ackcall=yes and have agents logged in to extension 101 using agentcallbacklogin with extension 101 defined as: exten => 101,1,Dial(Zap/3/18165551234,20,tTA(custom/presspoundtoanswer)) This setup works great on local and/or voip channels, but on zap channels, the zap channel answers immediately as soon as it goes off hook and the announcement gets played long before the agent gets a chance to answer their phone. Is there a way to either delay the announcement until the agent picks up or to keep repeating the message until the agent presses a button? Or is there possibly a better way of doing this? Thanks, Jon. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 5/16/2005
Eric Wieling aka ManxPower
2005-May-18 06:19 UTC
[Asterisk-Users] how to get remote extensions to work correctly with a zap channel?
Jon Gabrielson wrote:> I am trying to get remote extensions to work correctly with > agents. I have ackcall=yes and have agents logged in to > extension 101 using agentcallbacklogin with extension 101 defined as: > > exten => 101,1,Dial(Zap/3/18165551234,20,tTA(custom/presspoundtoanswer)) > > This setup works great on local and/or voip channels, but on zap > channels, the zap channel answers immediately as soon as it goes off hook > and the announcement gets played long before the agent gets a chance > to answer their phone. > > Is there a way to either delay the announcement until the agent picks up > or to keep repeating the message until the agent presses a button? > Or is there possibly a better way of doing this?Incorrect! Only ANALOG zap channels are considered answered as soon as the digits are finished dialing. There is a 'c" option to help with this, but it's not well documented. Dial(Zap/3c/5551212). -- Always do right. This will gratify some people and astonish the rest. Mark Twain