Summary:ASTERISK-04309: Agent support ignores [featuremap] settings in features.conf
Reporter:gdhgdh (gdhgdh)Labels:
Date Opened:2005-06-01 03:10:17Date Closed:2005-07-20 19:28:56
Versions:Frequency of
Environment:Attachments:( 0) agentdisco.patch
Description:Very simply, * disconnects instead of waiting for '*2' for atxfer.

exten => 10,1,AgentCallbackLogin(|${CALLERIDNUM}@internal)
exten => 51,1,Dial(SIP/1301,20,t)
exten => 52,1,Dial(Agent/1600,20,t)

exten => _13XX,1,Dial(SIP/${EXTEN},20,Tt)

qax*CLI> show agents
1600         (Smith.Suzanne) available at '1301@internal' (musiconhold is

qax*CLI> show features
Feature                   Default Current
-------                   ------- -------
Pickup                    *8      *8
Blind Transfer            #       #1
Attended Transfer                 *2
One Touch Monitor                 *1
Disconnect Call           *       *0

If I dial 51, the phone rings and atxfer works by *2
If I dial 52, the phone rings but hangs up the instant I press '*'
Comments:By: Clod Patry (junky) 2005-06-01 07:15:48

Please specify the CVS Date, when reporting a problem.

By: gdhgdh (gdhgdh) 2005-06-01 07:46:55

Doh. Originally 2005/04/13 but I have just confirmed the same behaviour with CVS checkout of 10 minutes ago (2005/06/01)

By: Brian West (bkw918) 2005-06-01 10:19:06

Tada.. you found something that isn't so trivial to fix.  You'll also note that during the ringing time during a regular dial it will fail to honor the hangup and still use * no matter what you have selected.


By: Olle Johansson (oej) 2005-07-18 06:34:07

Still a problem? Not trivial or impossible to fix? Any updates?


By: Clod Patry (junky) 2005-07-18 11:52:14

This isn't related to that line:
Disconnect Call * *0

By: twisted (twisted) 2005-07-18 12:23:05

junky, no.  app_queue looks for * to disconnect a call.  This is why * automatically disconnects.  The problem here is that we haven't made the ability to specify a hangup sequence for queues.  As of right now, this is a configuration issue, unless someone wants to provide a patch to allow a configurable hangup key/sequence for app_queue.

By: twisted (twisted) 2005-07-18 12:25:19

oh wait - you're dialing the agent directly - chan_agent has the same feature - it looks for a AST_FRAME_DTMF of * to disconnect.  same basic problem, however, as app_queue.

By: Russell Bryant (russell) 2005-07-18 13:30:16

As a start, here is a patch to configure (or disable) the disconnect key used in chan_agent.

By: Russell Bryant (russell) 2005-07-18 14:38:23

... however, I just noticed bug ASTERISK-3624 which is for this same feature.

By: Michael Jerris (mikej) 2005-07-20 19:28:56

closed in favor of duplicate in 3708.. if the patch hear is applicable, please post to that bug.