<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="user-content-block" style="margin: 0px; padding: 0px;
overflow: auto hidden; color: rgb(51, 51, 51); font-family: Arial,
sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">
<p style="margin: 0px; padding: 0px;">Hi, Asterisk team,</p>
<p style="margin: 10px 0px 0px; padding: 0px;">I'm thinking about
adding the new feature for the Asterisk.<br>
It's "Adding Resource item for subscription".</p>
<p style="margin: 10px 0px 0px; padding: 0px;">Purpose:<br>
Currently, the ARI subscription supports 3 types of
subscriptions.<br>
Channels, Bridges, Endpoints.<br>
It's a good enough to see and check to what/how/where the
channels is going.</p>
<p style="margin: 10px 0px 0px; padding: 0px;">But using the ARI,
it's not an easy to check the resource(module)s. Simply, the ARI
does not support module's notification message sending and
receiving.</p>
<p style="margin: 10px 0px 0px; padding: 0px;">I would like to add
the 1 more subscription type which is "Resources".<br>
This feature is designed for sending/receiving the module's
notification messages.</p>
<p style="margin: 10px 0px 0px; padding: 0px;">AS-IS</p>
<div class="preformatted panel" style="margin: 9px 0px; padding:
0px; border: 1px solid rgb(204, 204, 204); background: rgb(245,
245, 245); font-size: 12px; line-height: 1.33333; font-family:
monospace; border-radius: 3px;">
<div class="preformattedContent panelContent" style="margin:
0px; padding: 9px 12px;">
<pre style="margin: 0px; padding: 0px; max-height: 30em; overflow: auto; white-space: pre; overflow-wrap: normal; word-break: normal;">asterisk*CLI> ari show app pchero_voip
Name: pchero_voip
Debug: No
Subscription Model: Global Resource Subscription
Subscriptions: 3
Channels:
__AST_CHANNEL_ALL_TOPIC (1)
Bridges:
__AST_BRIDGE_ALL_TOPIC (1)
Endpoints:
__AST_ENDPOINT_ALL_TOPIC (1)
</pre>
</div>
</div>
<p style="margin: 10px 0px 0px; padding: 0px;">TO-BE</p>
<div class="preformatted panel" style="margin: 9px 0px; padding:
0px; border: 1px solid rgb(204, 204, 204); background: rgb(245,
245, 245); font-size: 12px; line-height: 1.33333; font-family:
monospace; border-radius: 3px;">
<div class="preformattedContent panelContent" style="margin:
0px; padding: 9px 12px;">
<pre style="margin: 0px; padding: 0px; max-height: 30em; overflow: auto; white-space: pre; overflow-wrap: normal; word-break: normal;">asterisk*CLI> ari show app pchero_voip
Name: pchero_voip
Debug: No
Subscription Model: Global Resource Subscription
Subscriptions: 4
Channels:
__AST_CHANNEL_ALL_TOPIC (1)
Bridges:
__AST_BRIDGE_ALL_TOPIC (1)
Endpoints:
__AST_ENDPOINT_ALL_TOPIC (1)
Resources:
__AST_RESOURCE_ALL_TOPIC (1)
</pre>
</div>
</div>
<p style="margin: 10px 0px 0px; padding: 0px;">Resources:<br>
Resources items would be the name of each modules. By
subscribing the modules, it will receive the each modules's
event/notification ARI messages.</p>
<p style="margin: 10px 0px 0px; padding: 0px;">For example, if the
ARI application subscribing the app_queue resource, the
application will be received below ARI events.<br>
QueueCallerJoin, QueueCallerAbandon, ...</p>
<p style="margin: 10px 0px 0px; padding: 0px;">So, is this feature
would be worth for the Asterisk?</p>
<p style="margin: 10px 0px 0px; padding: 0px;">I've some feedback
regarding this, there was some talk related with this issue
before</p>
<p style="margin: 10px 0px 0px; padding: 0px;"><a class="moz-txt-link-freetext" href="http://lists.digium.com/pipermail/asterisk-dev/2018-December/077128.html">http://lists.digium.com/pipermail/asterisk-dev/2018-December/077128.html</a></p>
<p style="margin: 10px 0px 0px; padding: 0px;">But couldn't find
it further and I have another idea about that.</p>
<p style="margin: 10px 0px 0px; padding: 0px;">So, that's why I'm
sending this mail.<br>
</p>
<p style="margin: 10px 0px 0px; padding: 0px;">If it's not a bad
idea, I would like to start it.<span> </span><img
class="emoticon"
src="https://issues.asterisk.org/jira/images/icons/emoticons/smile.gif"
alt="" style="margin: 0px; padding: 0px; border: 0px;"
height="16" border="0" align="absmiddle" width="16"></p>
<p style="margin: 10px 0px 0px; padding: 0px;">Thank you, and
happy new year. :)</p>
<p style="margin: 10px 0px 0px; padding: 0px;">Kind regards,<br>
Sungtae<br>
</p>
</div>
<br>
</body>
</html>