[asterisk-dev] [Code Review] 2588: features: call pickup stasis refactoring

opticron reviewboard at asterisk.org
Wed Jun 5 09:02:10 CDT 2013


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



/trunk/include/asterisk/features.h
<https://reviewboard.asterisk.org/r/2588/#comment17309>

    This should be prefixed with ast_ since it's exposed. The definition, init, and cleanup will need to be adjusted accordingly.



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/2588/#comment17310>

    If this is an expected condition, remove the assert, otherwise:
    
    ast_assert(chan != NULL && target != NULL);



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/2588/#comment17311>

    ast_json_null() is non-refcounted singleton and can be passed directly into the blob creation function.



/trunk/main/features.c
<https://reviewboard.asterisk.org/r/2588/#comment17312>

    This should be an ast_register_cleanup, not an atexit (registered at the end of features_stasis_init).


- opticron


On June 3, 2013, 5:33 p.m., jrose wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2588/
> -----------------------------------------------------------
> 
> (Updated June 3, 2013, 5:33 p.m.)
> 
> 
> Review request for Asterisk Developers, kmoore, Matt Jordan, and rmudgett.
> 
> 
> Bugs: ASTERISK-21544
>     https://issues.asterisk.org/jira/browse/ASTERISK-21544
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> I verified that all the changes to bridging didn't break pickupexten and pickupfailsound since they had nothing to do with that. pickupsound is currently broken and this patch doesn't address that since Richard's https://reviewboard.asterisk.org/r/2582/ fixes that.
> 
> This patch provides a message type sent out to the channel's topic when performing the pickup. The pickup AMI event is now sent out in response to this message type.
> 
> The fields for the AMI event are still compatible with what they were before. It just adds the rest of the channel snapshot information for the Channel and TargetChannel.
> 
> I think the masquerade being performed here already isn't doing anything to inform stasis core that it's happening and there aren't any changes needed there. If I'm wrong on that, feel free to assail me with wassail.
> 
> I still need to write Testsuite tests for call pickup, so that's coming next.
> 
> 
> Diffs
> -----
> 
>   /trunk/include/asterisk/features.h 390315 
>   /trunk/main/features.c 390315 
> 
> Diff: https://reviewboard.asterisk.org/r/2588/diff/
> 
> 
> Testing
> -------
> 
> Made sure everything pickup still works or is fixed by other stuff.
> 
> 
> Thanks,
> 
> jrose
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130605/0f41037b/attachment.htm>


More information about the asterisk-dev mailing list