[asterisk-dev] [Code Review] 2393: Add directed pickup to features
wedhorn
reviewboard at asterisk.org
Tue Mar 26 15:41:35 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2393/
-----------------------------------------------------------
(Updated March 26, 2013, 8:41 p.m.)
Review request for Asterisk Developers.
Changes
-------
New diff with small fixup in skinny handling, fixed blobs and removed directed_pickupgroup stuff from sip as per previous comments.
Discussion regarding including context and possible ability to pickup chan in a macro addressed in previous comments.
Repository: Asterisk
Description
-------
Added ast_pickup_call_directed to features. Included some refactoring of ast_pickup_call to reuse same code.
In order to use ast_pickup_call, the chan passed in must have the exten set of the intended target. Will only pickup the target if the exten's match and the pickupgroupdirected and callgroupdirected of the chans match.
Also add ast_channel_callgroupdirected and ast_channel_pickupgroupdirected functions (and set functions) including code to set both of these in skinny and sip.
Code to actually do a directed pickup included in skinny.
Diffs (updated)
-----
/trunk/configs/skinny.conf.sample 383560
/trunk/configs/sip.conf.sample 383560
/trunk/channels/sip/include/sip.h 383560
/trunk/channels/chan_skinny.c 383560
/trunk/CHANGES 383560
/trunk/channels/chan_sip.c 383560
/trunk/include/asterisk/channel.h 383560
/trunk/include/asterisk/features.h 383560
/trunk/main/channel_internal_api.c 383560
/trunk/main/features.c 383560
Diff: https://reviewboard.asterisk.org/r/2393/diff/
Testing
-------
Directed pickup to non ringing skinny and non ringing sip device (with matching and unset groups). Returns without picking up.
Directed pickup to ringing skinny and ringing sip device, with matching groups, picks up call, with unmatching groups return without pickup.
Thanks,
wedhorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130326/7f1d9da4/attachment.htm>
More information about the asterisk-dev
mailing list