search for: ast_pbx_keepalive

Displaying 2 results from an estimated 2 matches for "ast_pbx_keepalive".

2008 Dec 05
2
async agi question
Hi, I am developing asterisk support for our application using the Async AGI and Asterisk-Java. One thing I haven't been able to implement is how to stop playing a sound. Something similar to StopIO for Dialogic GlobalCall or DivaStopSending for Eicon. Is there any way to achieve this today which I have missed? Or could someone give me hints on how I could implement this in the res_agi.c The
2006 Jun 26
1
struggling with the "g" flag
...er(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 (peer->_softhangup) { /* Agent must have hung up */ ast_log(LOG_WARN...