[Asterisk-Users] how to get remote extensions to work correctly with a zap channel?

Eric Wieling aka ManxPower eric at fnords.org
Wed May 18 06:19:02 MST 2005


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



More information about the asterisk-users mailing list