----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3983/#review13262 -----------------------------------------------------------
Ship it! Ship It! - Mark Michelson On Sept. 8, 2014, 4:15 p.m., rmudgett wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviewboard.asterisk.org/r/3983/ > ----------------------------------------------------------- > > (Updated Sept. 8, 2014, 4:15 p.m.) > > > Review request for Asterisk Developers. > > > Bugs: AFS-113 and ASTERISK-24038 > https://issues.asterisk.org/jira/browse/AFS-113 > https://issues.asterisk.org/jira/browse/ASTERISK-24038 > > > Repository: Asterisk > > > Description > ------- > > It would be useful to get the current hold status of a channel. > > Added CHANNEL(onhold) item that returns 1 (onhold) and 0 (not-onhold) for the > hold status of a channel. > > > Diffs > ----- > > /trunk/funcs/func_channel.c 422836 > > Diff: https://reviewboard.asterisk.org/r/3983/diff/ > > > Testing > ------- > > A calls B > Issued AMI getvar action on B for CHANNEL(onhold) and got 0. > A puts B on hold > Issued AMI getvar action on B for CHANNEL(onhold) and got 1. > > Works as intended. > > > Thanks, > > rmudgett > >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
