<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 20, 2017 at 8:51 AM, Marin Odrljin <span dir="ltr"><<a href="mailto:marin@maxcom.hr" target="_blank">marin@maxcom.hr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="HR"><div class="gmail-m_240515897113277888WordSection1"><p class="MsoNormal">Hi everybody,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have already asked this question on 'asterisk-app-dev' list and on community site <a href="https://community.asterisk.org/t/get-aoc-information-via-ari/72532" target="_blank">https://community.asterisk.<wbr>org/t/get-aoc-information-via-<wbr>ari/72532</a> but unfortunatelly there was no any reply in last few weeks, so my last chance is to hope that anyone from this list could know anything about AOC. Sorry if someone of you have already seen it there and I'm too boring with it.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">On some of our ISDN trunks at the end of the outbound calls, we are getting pricing info from the carrier. I would like to read it with ARI. From the AOC documentation (<a href="https://wiki.asterisk.org/wiki/display/AST/Advice+of+Charge" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Advice+of+<wbr>Charge</a>) it seems like it is possible to get it only via AMI only or am I wrong? Does anyone has an idea if it could be read somehow else except AMI, e.g. channel variables which can be passed to or read via ARI? If I already use ARI, I wouldn’t like to connect to AMI as well just because of getting AOC.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">If that's not possible, what would be the best way to implement it?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">Thanks for any suggestion.<span class="gmail-HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="gmail-HOEnZb"><font color="#888888"><p class="MsoNormal"><span lang="EN-US">Marin<u></u><u></u></span></p></font></span></div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Have you tried the subscribe to all events[1] option in ARI? If not give that a try and see if the event(s) show up.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Events+REST+API">https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Events+REST+API</a><br></pre></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre style="padding:2px;border:1px solid rgb(114,99,77);background-color:rgb(238,238,238);color:rgb(0,0,0);overflow:auto">Kevin Harwell
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></pre></div></div>
</div></div>