Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Disclaimer: I don't know the first thing about FileMaker. But, if it's like any other programming language (which from what I know, I'm not sure that's true) then let's look at the options on how we'd accomplish this generically with other programming languages...</p> <p>If you just want the results of your call, the CDRs (call detail records), you can configure Asterisk to output custom CDRs in <code>cdr_custom.conf</code> (check it out if you'd generated the sample configurations)</p> <p>Here's an example <code>cdr_custom.conf</code>:</p> <pre><code>[mappings] Simple.csv =&gt; ${CSV_QUOTE(${EPOCH})},${CSV_QUOTE(${CDR(src)})},${CSV_QUOTE(${CDR(dst)})} </code></pre> <p>It will drop a file typically in <code>/var/log/asterisk/</code> if you haven't changed it otherwise in your configuration.</p> <p>Then, either restart asterisk, or more gracefully just reload the cdr module:</p> <pre><code>asterisk*CLI&gt; cdr show status asterisk*CLI&gt; module reload cdr_custom.so </code></pre> <p>Using the resulting file, parse the CSV and format it in a friendly fashion for Filemaker / "your language of choice".</p> <p>If you're looking for real-time information about calls, it does get more complicated. Probably for just reporting purposes, you can use <a href="https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=4817239" rel="nofollow">the Asterisk AMI (Asterisk Manager Interface)</a>. (Canonical wiki page linked)</p> <p>This is a TCP IP application, open a socket to it, and you're good to go. There's also the <a href="https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=4817256" rel="nofollow">AJAM interface (Asynchronous Javascript Asterisk Manger)</a>. Which you can make HTTP calls to.</p> <p>Lastly, if you want to do further processing during the routing of the call via the dialplan, you'd want to use AGI (Asterisk Gateway Interface) which is called from the dialplan, and is all over STDIO. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload