[asterisk-dev] [Code Review] 3551: app_agent_pool: Return to dialplan if the agent fails to ack the call.

Matt Jordan reviewboard at asterisk.org
Tue May 27 11:08:35 CDT 2014



> On May 27, 2014, 9:17 a.m., Matt Jordan wrote:
> > /branches/12/apps/app_agent_pool.c, lines 766-768
> > <https://reviewboard.asterisk.org/r/3551/diff/2/?file=58829#file58829line766>
> >
> >     Minor nitpick: update the documentation for ast_bridge_destroy to note that passing a cause of 0 is equivalent to AST_CAUSE_NORMAL_CLEARING.
> 
> rmudgett wrote:
>     That is already documented there.
>     
>      * \param cause Cause of bridge being destroyed.  (If cause <= 0 then use AST_CAUSE_NORMAL_CLEARING)
>

So it is! I missed it the first time around - thanks for point that out :-)


- Matt


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3551/#review11970
-----------------------------------------------------------


On May 22, 2014, 5:30 p.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3551/
> -----------------------------------------------------------
> 
> (Updated May 22, 2014, 5:30 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-23499
>     https://issues.asterisk.org/jira/browse/ASTERISK-23499
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Improvements to the agent pool functionality.
> 
> * AgentRequest no longer hangs up the caller if the agent fails to connect with the caller.  It now continues in the dialplan.
> 
> * AgentRequest returns AGENT_STATUS set to NOT_CONNECTED if the agent failed to connect with the call.  Most likely because the agent did not acknowledge the call in time or got disconnected.
> 
> * The agent alerting play file configured by the agent.conf custom_beep option can now be disabled by setting the option to an empty string.  The agent is effectively alerted to a call presence when MOH stops.
> 
> * Fixed bridge reference leak when the agent connects with a caller.
> 
> 
> Diffs
> -----
> 
>   /branches/12/apps/app_agent_pool.c 414470 
>   /branches/12/CHANGES 414470 
> 
> Diff: https://reviewboard.asterisk.org/r/3551/diff/
> 
> 
> Testing
> -------
> 
> Initiated an AgentRequest where the agent did the following:
> * Did nothing and got automatically logged off.  Before the caller would be hungup.  Now the caller returns to the dialplan with AGENT_STATUS set to NOT_CONNECTED.
> * Hungup.  Before the caller would be hungup.  Now the caller returns to the dialplan with AGENT_STATUS set to NOT_CONNECTED.
> * Acks the call with the wrong digit.  Before the caller would be hungup.  Now the caller returns to the dialplan with AGENT_STATUS set to NOT_CONNECTED.
> * Acks the call correctly.  Before the conversation bridge would be leaked and remain in the stasis cache for "bridge show all" to display.  Now it doesn't.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140527/c336778d/attachment.html>


More information about the asterisk-dev mailing list