<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Folks,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I am writing up the ARI chapter at this time, and I've been keeping my eyes on this whole 'automatic dialplan' discussion, because I have to figure out how to document something that is quite literally being developed/decided as I'm writing it, and seems to be to be something important to document correctly.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Although I appreciate that there may be a few details still to sort out, what I'm writing is not a comprehensive bible on how to develop complex apps with ARI, but rather a small introduction to ARI, with some useful best practices.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">So, I would like to ask for feedback on the following points:</div><div class="gmail_default" style="font-size:small"><span style="font-family:verdana,sans-serif"></span></div><ul><li><span style="font-family:verdana,sans-serif"><span class="gmail_default" style="font-size:small"></span>First and most importantly: Will this be shipping as part of Asterisk 16 in, say, four to six months? (roughly when the book will hit the ... er ... "shelves" ...).</span></li><li><span style="font-family:verdana,sans-serif">Is the concept of mapping [app<span class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">name</span>] in ari.conf to <span class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">[stasis-appname] </span>dialpla<span class="gmail_default" style="font-size:small">n sufficiently likely to survive any tweaks to the finished product? (i.e. can I write about that?) (I hope so because that sounds like a simple and logical way to handle all this automatic-dialplan magic.</span></span></li></ul><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I can hold off for a week or two more, but I am expected to submit the final draft by the end of February, so ... no pressure!</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Thanks for any and all thoughts.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Jim</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 25, 2019 at 11:50 AM Seán C. McCord <<a href="mailto:ulexus@gmail.com">ulexus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Nice! Thanks, looking at it now.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 25, 2019 at 10:22 AM Ben Ford <<a href="mailto:bford@digium.com" target="_blank">bford@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hey all,<div><br></div><div>Just a quick update - this functionality is now up for review on Gerrit, and can be found <a href="https://gerrit.asterisk.org/#/c/asterisk/+/10882/" target="_blank">here</a>.</div><div><br></div><div>More eyes on it would be helpful!</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_1392160838056821032gmail-m_732094175169551352gmail_attr">On Thu, Dec 20, 2018 at 1:40 PM Seán C. McCord <<a href="mailto:ulexus@gmail.com" target="_blank">ulexus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As Josh says, all calls would go to the app; the (completely<br>
non-user-facing and non-user-editable) context would be roughly<br>
equivalent to having fallthrough enabled and extension 's' going to<br>
the Stasis App. You should not be able to assign an existing real<br>
context to an ARI app. That would lead to confusion, which is one of<br>
the reasons why I like the idea of having deterministic context names.<br>
<br>
As to the channel-in-bridge on ARI app transfer, I would fully expect<br>
that channel to stay in whatever bridge it may be. Bridges are<br>
logical link points between ARI apps anyway, and they can be<br>
manipulated by multiple ARI apps at any given time anyway (this<br>
assertion is from memory... it is possible I am mistaken here). Now,<br>
as to whether the ARI app should automatically gain a subscription to<br>
member bridges, that's a good question. I would lean toward not doing<br>
so, but I do not have a strong argument beyond simplicity.<br>
<br>
<br>
On Thu, Dec 20, 2018 at 1:25 PM Joshua C. Colp <<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>> wrote:<br>
><br>
> On Thu, Dec 20, 2018, at 2:14 PM, Corey Farrell wrote:<br>
> > How will the ARI/dialplan integration handle specific extensions? For<br>
> > example if I have a stasis app which registers itself to dialplan as<br>
> > 'somecontext', how does this integration decide which extensions are<br>
> > handled by the app? Does that app get calls for all extensions or only<br>
> > specific extensions? Do we create a new type of ARI app which would<br>
> > respond to PBX switch callbacks where all calls go to the stasis router<br>
> > app which then accepts or rejects calls based on the ARI apps own<br>
> > extension list? For example if we have a context:<br>
> ><br>
> > [from-outside]<br>
> > exten => 7002052000,1,Stasis(myapp)<br>
> > exten => 7002052001,1,Stasis(myapp)<br>
> > How do you envision replicating having these two extensions handled but<br>
> > all other extensions being invalid?<br>
><br>
> The context would send all calls to that application (except for the h extension). That application would then be able to move that channel to another application according to its own routing logic if it wanted.<br>
><br>
> --<br>
> Joshua C. Colp<br>
> Digium - A Sangoma Company | Senior Software Developer<br>
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
> Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
<br>
<br>
<br>
-- <br>
Seán C. McCord<br>
<a href="mailto:ulexus@gmail.com" target="_blank">ulexus@gmail.com</a><br>
CyCore Systems<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1392160838056821032gmail-m_732094175169551352gmail_signature"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><span style="font-family:arial,helvetica,sans-serif"><b>Benjamin Ford</b></span><br></div><div dir="ltr" style="font-size:12.8px"><div style="font-size:12.8px"><font size="1" face="arial, helvetica, sans-serif">Digium - A Sangoma Company | Software Engineer</font></div><div style="font-size:12.8px"><font size="1" face="arial, helvetica, sans-serif"><a href="https://maps.google.com/?q=445+Jan+Davis+Drive+NW+-+Huntsville,+AL+35806+-+US&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">445 Jan Davis Drive NW - Huntsville, AL 35806 - US</a></font></div><div style="font-size:12.8px"><font size="1" face="arial, helvetica, sans-serif">Check us out at: <a href="https://digium.com/" style="color:rgb(17,85,204)" target="_blank">https://digium.com</a> · <a href="https://sangoma.com/" style="color:rgb(17,85,204)" target="_blank">https://sangoma.com</a></font></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><img width="96" height="53"><br></div></div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1392160838056821032gmail_signature">Seán C. McCord<div><a href="mailto:ulexus@gmail.com" target="_blank">ulexus@gmail.com</a><br><div>CyCore Systems</div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div>