[asterisk-dev] [Code Review] Remove AST_FLAG_ANSWERED_ELSEWHERE, duplicating the functionality of AST_CAUSE_ANSWERED_ELSEWHERE

Birger Harzenetter reviewboard at asterisk.org
Sat Jun 2 14:58:35 CDT 2012


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



trunk/channels/chan_sip.c
<https://reviewboard.asterisk.org/r/1944/#comment11909>

    Indeed.
    Removed.


- Birger


On June 2, 2012, 2:54 p.m., Birger Harzenetter wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1944/
> -----------------------------------------------------------
> 
> (Updated June 2, 2012, 2:54 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> While 'real' channels use AST_CAUSE_ANSWERED_ELSEWHERE, local channels and queues use AST_FLAG_ANSWERED_ELSEWHERE for the same purpose.
> This patch replaces all occurrences of the flag by the cause code, removing the duplicated functionality and the flag itself.
> 
> 
> Diffs
> -----
> 
>   trunk/apps/app_dial.c 367361 
>   trunk/apps/app_queue.c 367361 
>   trunk/channels/chan_local.c 367361 
>   trunk/channels/chan_sip.c 367361 
>   trunk/channels/chan_unistim.c 367361 
>   trunk/include/asterisk/channel.h 367361 
>   trunk/main/channel_internal_api.c 367361 
>   trunk/main/features.c 367361 
> 
> Diff: https://reviewboard.asterisk.org/r/1944/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Birger
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120602/3bea8dfc/attachment.htm>


More information about the asterisk-dev mailing list