Displaying 1 result from an estimated 1 matches for "opt_go_on".
2006 Jun 26
1
struggling with the "g" flag
...] is called by the queue command to a member added by
addqueuemember(Local/99@AgentQ)
why don't I get to the NoOp if the agent hangs up during the
announcement message (to the agent) ?
I see in the app_dial.c program that the "g" flag is tested thus:
if ((ast_test_flag(peerflags, OPT_GO_ON)) && (!chan->_softhangup) &&
(res != AST_PBX_KEEPALIVE))
res = 0;
So this would indicate that if all three of these conditions are met
then res would be set to 0, and things would behave how I want.
In chan_agent.c, the following line is where the agent has hung up
if (pee...