Sungtae Kim
2019-Apr-02 21:20 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
Hi Asterisk users, I'm one of Asterisk ARI users, and trying to designing the new ARI for application execution in Stasis(). This will be made possible for executing the applications in the Stasis() application. But, before going further, I would like to know which application needs to be considered. Because this feature will introduce new Stasis behavior, I would like to test the applications as many as possible before submitting the code. However, I can't test all of them, so I would like to make a priority and list. If you want to use your favorite application with this feature, please reply this. I will add to the list. :) Btw, I'm considering the app_amd, app_queue for myself. :) For more detail of this feature, you can see it here. http://lists.digium.com/pipermail/asterisk-dev/2019-April/077270.html Thank you. Kind regards, Sungtae _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
Joshua C. Colp
2019-Apr-02 21:41 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
On Tue, Apr 2, 2019, at 6:20 PM, Sungtae Kim wrote:> Hi Asterisk users, > > I'm one of Asterisk ARI users, and trying to designing the new ARI for > application execution in Stasis(). > > This will be made possible for executing the applications in the > Stasis() application. > > But, before going further, I would like to know which application needs > to be considered. > > Because this feature will introduce new Stasis behavior, I would like to > test the applications as many as possible before submitting the code. > However, I can't test all of them, so I would like to make a priority > and list. > > If you want to use your favorite application with this feature, please > reply this. > I will add to the list. :) > > Btw, I'm considering the app_amd, app_queue for myself. :)Can you explain why app_queue would be executed from ARI? What value does ARI bring in that regard? -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
Sungtae Kim
2019-Apr-02 22:10 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
On 4/2/19 11:41 PM, Joshua C. Colp wrote:> On Tue, Apr 2, 2019, at 6:20 PM, Sungtae Kim wrote: >> Hi Asterisk users, >> >> I'm one of Asterisk ARI users, and trying to designing the new ARI for >> application execution in Stasis(). >> >> This will be made possible for executing the applications in the >> Stasis() application. >> >> But, before going further, I would like to know which application needs >> to be considered. >> >> Because this feature will introduce new Stasis behavior, I would like to >> test the applications as many as possible before submitting the code. >> However, I can't test all of them, so I would like to make a priority >> and list. >> >> If you want to use your favorite application with this feature, please >> reply this. >> I will add to the list. :) >> >> Btw, I'm considering the app_amd, app_queue for myself. :) > Can you explain why app_queue would be executed from ARI? What value does ARI bring in that regard?Um... Because... I can? Tbh, no reason... app_queue is just my favorite module. :P>_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
Sungtae Kim
2019-Apr-02 22:25 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
Um... Because... I can? Tbh, no reason... app_queue is just my favorite module. :P On 4/2/19 11:41 PM, Joshua C. Colp wrote:> On Tue, Apr 2, 2019, at 6:20 PM, Sungtae Kim wrote: >> Hi Asterisk users, >> >> I'm one of Asterisk ARI users, and trying to designing the new ARI for >> application execution in Stasis(). >> >> This will be made possible for executing the applications in the >> Stasis() application. >> >> But, before going further, I would like to know which application needs >> to be considered. >> >> Because this feature will introduce new Stasis behavior, I would like to >> test the applications as many as possible before submitting the code. >> However, I can't test all of them, so I would like to make a priority >> and list. >> >> If you want to use your favorite application with this feature, please >> reply this. >> I will add to the list. :) >> >> Btw, I'm considering the app_amd, app_queue for myself. :) > Can you explain why app_queue would be executed from ARI? What value does ARI bring in that regard? >_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
Joshua C. Colp
2019-Apr-02 23:18 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
On Tue, Apr 2, 2019, at 8:15 PM, BJ Weschke wrote:> I get the desired use case to run app_amd from within a Stasis > application, but I’m not sure about app_queue. You have everything at > your disposal within ARI itself to replicate all of the functionality > of app_queue and beyond.Yes, there are certain applications which are logically building blocks to bigger applications. AMD is one of those which would be best if it were its own functionality within ARI, but allowing execution of the application is a good enough option. I don't think applications such as Queue, Dial, ConfBridge, Playback, Record or some others really make sense. -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
Matthew Jordan
2019-Apr-02 23:25 UTC
[asterisk-users] [asterisk-app-dev] ARI application execution feature survey
On Tue, Apr 2, 2019 at 4:18 PM Joshua C. Colp <jcolp at digium.com> wrote:> On Tue, Apr 2, 2019, at 8:15 PM, BJ Weschke wrote: > > I get the desired use case to run app_amd from within a Stasis > > application, but I’m not sure about app_queue. You have everything at > > your disposal within ARI itself to replicate all of the functionality > > of app_queue and beyond. > > Yes, there are certain applications which are logically building blocks to > bigger applications. AMD is one of those which would be best if it were its > own functionality within ARI, but allowing execution of the application is > a good enough option. I don't think applications such as Queue, Dial, > ConfBridge, Playback, Record or some others really make sense. > >Assuming the TALK_DETECTION function isn't sufficient, it's worth noting that the information that AMD uses to make its decisions are available to the parts of Asterisk that make up ARI. I wonder if it would be better to simply wrap up the existing talk detection events under some other HTTP resource rather than open up this entire concept. While I'm pretty far removed from the guts of Asterisk these days, the notion of having dialplan applications be executed from within ARI just fills me with some fear. You can certainly open up some nightmare scenarios where people invoke Stasis from within Stasis recursively, or invoke GoTo or other dialplan context affecting applications. For that matter, many of the monolithic dialplan applications have specific options that place channels into dialplan contexts that execute after their execution. I'm not even sure I can begin to wrap my head around what that will do to a channel in ARI. -- *Matthew Jordan* Digium - A Sangoma Company | Senior Vice President, Software and Services | Engineering 445 Jan Davis Drive NW - Huntsville, AL 35806 - US <https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g> direct: +1 256 428 6107 Check us out at: https://digium.com · https://sangoma.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190402/a01e7b58/attachment.html> -------------- next part -------------- _______________________________________________ asterisk-app-dev mailing list asterisk-app-dev at lists.digium.com http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev