Re: [asterisk-dev] [Code Review] 2959: pjsip: AMI commands and events

2013-11-21 Thread Mark Michelson
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/2959/#review10237 --- Ship it! branches/12/res/res_pjsip_pubsub.c

Re: [asterisk-dev] [Code Review] 2987: ARI: Don't leak information about implementation details

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/2987/#review10232 --- Ship it! branches/12/include/asterisk/stasis.h

Re: [asterisk-dev] [Code Review] 3016: app_directory: Set DIRECTORY_RESULT variable to indicate why Directory application finished

2013-11-21 Thread Jonathan Rose
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3016/ --- (Updated Nov. 21, 2013, 4:38 p.m.) Status -- This change has been

Re: [asterisk-dev] [Code Review] 2994: ari:Add application/json parameter support

2013-11-21 Thread David Lee
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/2994/ --- (Updated Nov. 21, 2013, 2:47 p.m.) Review request for Asterisk Developers

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Joshua Colp
On Nov. 21, 2013, 12:59 a.m., Paul Belanger wrote: branches/12/rest-api/api-docs/device_states.json, line 11 https://reviewboard.asterisk.org/r/3025/diff/1/?file=48553#file48553line11 Hmm, not a fan of this URL schema. At first glance, what about just /states.

Re: [asterisk-dev] [Code Review] 2947: ARI: Adding a channel to a bridge while a live recording is active blocks

2013-11-21 Thread opticron
On Nov. 21, 2013, 12:53 p.m., opticron wrote: branches/12/include/asterisk/stasis_app.h, line 180 https://reviewboard.asterisk.org/r/2947/diff/5/?file=48327#file48327line180 This should return the enum instead of int. Kevin Harwell wrote: The problem with making this an enum

Re: [asterisk-dev] [Code Review] 3024: Testsuite: Test the MixMonitor 'f' option

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3024/#review10240 --- Ship it! Ship It! - Joshua Colp On Nov. 20, 2013, 9:12

Re: [asterisk-dev] [Code Review] 2959: pjsip: AMI commands and events

2013-11-21 Thread Joshua Colp
George Joseph wrote: Just FYI... I've got a whole bunch of pjsip cli stuff waiting on this patch to be committed. Any chance of this happening this week? It'll get reviewed today and pending any other findings arising it'll go in shortly. If possible you could just throw your stuff up

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Tilghman Lesher
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3023/#review10242 --- Shouldn't something like this be a channel function from which

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread opticron
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3025/#review10254 --- branches/12/include/asterisk/stasis_app.h

Re: [asterisk-dev] [Code Review] 2947: ARI: Adding a channel to a bridge while a live recording is active blocks

2013-11-21 Thread Kevin Harwell
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/2947/ --- (Updated Nov. 21, 2013, 1:50 p.m.) Review request for Asterisk

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread David Lee
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3025/#review10257 --- branches/12/include/asterisk/stasis_app.h

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3023/#review10235 --- Ship it! Ship It! - Joshua Colp On Nov. 20, 2013, 9:12

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Mark Michelson
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3025/#review10260 --- branches/12/res/res_stasis_device_state.c

Re: [asterisk-dev] [Code Review] 3024: Testsuite: Test the MixMonitor 'f' option

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3024/#review10236 --- I don't see where the user event is actually checked...

Re: [asterisk-dev] [Code Review] 3003: ARI: Add the ability to snoop (spy/whisper) on channels

2013-11-21 Thread Joshua Colp
On Nov. 21, 2013, 8:05 p.m., Matt Jordan wrote: /branches/12/res/res_stasis_snoop.c, lines 215-228 https://reviewboard.asterisk.org/r/3003/diff/3/?file=48153#file48153line215 Going out on a limb here, but if this ever occurs, something has gone horribly wrong. We should never

Re: [asterisk-dev] [Code Review] 3003: ARI: Add the ability to snoop (spy/whisper) on channels

2013-11-21 Thread Matt Jordan
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3003/#review10253 --- /branches/12/res/res_stasis_snoop.c

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Joshua Colp
On Nov. 21, 2013, 12:59 a.m., Paul Belanger wrote: Thanks for this, I plan to spend some time over the weekend trying this out. My comments are mostly from the ARIs POV, specifically what is a device in ARI? and is that the same as an endpoint? I'd akin this more to a virtual generic

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Kevin Harwell
On Nov. 21, 2013, 6:04 p.m., Mark Michelson wrote: branches/12/res/res_stasis_device_state.c, lines 142-149 https://reviewboard.asterisk.org/r/3025/diff/1/?file=48549#file48549line142 Instead of constructing a device_state_subscription and searching by OBJ_SEARCH_OBJECT, just use

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Kevin Harwell
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3025/ --- (Updated Nov. 21, 2013, 6:25 p.m.) Review request for Asterisk

Re: [asterisk-dev] [Code Review] 2994: ari:Add application/json parameter support

2013-11-21 Thread David Lee
On Nov. 20, 2013, 6:07 p.m., Matt Jordan wrote: /branches/12/main/http.c, line 631 https://reviewboard.asterisk.org/r/2994/diff/2/?file=48312#file48312line631 Particularly since this is coming from an external source, we should probably use sscanf. You pretty much do

Re: [asterisk-dev] [Code Review] 2959: pjsip: AMI commands and events

2013-11-21 Thread George Joseph
On Thu, Nov 21, 2013 at 7:25 AM, Joshua Colp jc...@digium.com wrote: George Joseph wrote: Just FYI... I've got a whole bunch of pjsip cli stuff waiting on this patch to be committed. Any chance of this happening this week? It'll get reviewed today and pending any other findings arising

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Mark Michelson
On Nov. 21, 2013, 2:17 p.m., Joshua Colp wrote: The code itself looks fine, the only nagging question I have is why not just treat the variable as a temporary return variable in the case when you have multiple MixMonitor instances and use Set in the dialplan to set another variable

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Mark Michelson
On Nov. 21, 2013, 4:40 p.m., Tilghman Lesher wrote: Shouldn't something like this be a channel function from which you retrieve the value, instead of specifying a variable into which the name is placed? Seems like a significant regression in spitting things out to channel variables,

Re: [asterisk-dev] [Code Review] 3003: ARI: Add the ability to snoop (spy/whisper) on channels

2013-11-21 Thread Matt Jordan
On Nov. 14, 2013, 4:53 p.m., Mark Michelson wrote: /branches/12/res/res_stasis_snoop.c, line 142 https://reviewboard.asterisk.org/r/3003/diff/3/?file=48153#file48153line142 Hm, would it be more useful to publish the snoop messages on the spyee channel's topic? I would suspect

Re: [asterisk-dev] [Code Review] 3017: PickupChan: Add ability to specify channel uniqueids as well as channel names.

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3017/#review10233 --- Ship it! - Joshua Colp On Nov. 18, 2013, 9:25 p.m.,

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3023/#review10231 --- The code itself looks fine, the only nagging question I have

Re: [asterisk-dev] [Code Review] 3018: testsuite: Add tests for Say application jump behavior with SAY_DTMF_INTERRUPT enabled and disabled

2013-11-21 Thread Jonathan Rose
On Nov. 21, 2013, 6:09 p.m., opticron wrote: /asterisk/trunk/tests/apps/say_interrupt/configs/ast1/sip.conf, lines 1-12 https://reviewboard.asterisk.org/r/3018/diff/1/?file=48290#file48290line1 This entire file seems irrelevant to the the test being added and directs calls to a

Re: [asterisk-dev] [Code Review] 3019: ari: Add silence generator controls

2013-11-21 Thread David Lee
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3019/ --- (Updated Nov. 21, 2013, 9:55 a.m.) Status -- This change has been

Re: [asterisk-dev] [Code Review] 3020: Test for consistent from tag on outbound REGISTER

2013-11-21 Thread Matt Jordan
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3020/#review10244 --- Ship it! Extraneous white space and a suggestion. Nice work!

Re: [asterisk-dev] [Code Review] 2947: ARI: Adding a channel to a bridge while a live recording is active blocks

2013-11-21 Thread Kevin Harwell
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/2947/ --- (Updated Nov. 21, 2013, 2:24 p.m.) Review request for Asterisk

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread rmudgett
On Nov. 22, 2013, 12:04 a.m., Mark Michelson wrote: branches/12/res/res_stasis_device_state.c, lines 142-149 https://reviewboard.asterisk.org/r/3025/diff/1/?file=48549#file48549line142 Instead of constructing a device_state_subscription and searching by OBJ_SEARCH_OBJECT, just

Re: [asterisk-dev] [Code Review] 3015: Testsuite: CONFBRIDGE_RESULT test

2013-11-21 Thread Joshua Colp
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3015/#review10243 --- Ship it! Ship It!

Re: [asterisk-dev] [Code Review] 2996: allow uncached realtime sip peers to be queue members

2013-11-21 Thread Joshua Colp
On Nov. 7, 2013, 3:37 p.m., Joshua Colp wrote: To make sure I better understand the situation... Is it caching an old stale entry without address? Then when device state is queried it uses that old stale entry instead of requerying realtime... so it thinks it has no address when

Re: [asterisk-dev] [Code Review] 3023: Add MixMonitor() option to specify channel variable into which to store the recording filename

2013-11-21 Thread Tilghman Lesher
On Nov. 21, 2013, 4:40 p.m., Tilghman Lesher wrote: Shouldn't something like this be a channel function from which you retrieve the value, instead of specifying a variable into which the name is placed? Seems like a significant regression in spitting things out to channel variables,

Re: [asterisk-dev] [Code Review] 3018: testsuite: Add tests for Say application jump behavior with SAY_DTMF_INTERRUPT enabled and disabled

2013-11-21 Thread opticron
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3018/#review10245 ---

Re: [asterisk-dev] [Code Review] 3024: Testsuite: Test the MixMonitor 'f' option

2013-11-21 Thread Mark Michelson
On Nov. 21, 2013, 3:38 p.m., Joshua Colp wrote: I don't see where the user event is actually checked... shouldn't you have specified the requirement of a Yay event in your test-config.yaml? Nope, SimpleTestCase determines pass/fail based solely on the number of UserEvents that are

Re: [asterisk-dev] [Code Review] 3015: Testsuite: CONFBRIDGE_RESULT test

2013-11-21 Thread Mark Michelson
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3015/ --- (Updated Nov. 21, 2013, 3:40 p.m.) Review request for Asterisk

Re: [asterisk-dev] [Code Review] 3025: ARI: Implement device state API

2013-11-21 Thread Kevin Harwell
--- This is an automatically generated e-mail. To reply, visit: https://reviewboard.asterisk.org/r/3025/ --- (Updated Nov. 21, 2013, 1:12 p.m.) Review request for Asterisk

Re: [asterisk-dev] [Code Review] 2947: ARI: Adding a channel to a bridge while a live recording is active blocks

2013-11-21 Thread Kevin Harwell
On Nov. 21, 2013, 12:53 p.m., opticron wrote: branches/12/include/asterisk/stasis_app.h, line 180 https://reviewboard.asterisk.org/r/2947/diff/5/?file=48327#file48327line180 This should return the enum instead of int. The problem with making this an enum is currently it is assumed