Figuring Out What Happened To A Call

Home » Asterisk Users » Figuring Out What Happened To A Call
Asterisk Users 5 Comments

Hi,

how can I figure out what happens to inbound calls?

The inbound calls I’m particularly interested in make phones that are members of a queue ring; when the call isn’t picked up, another phone is dialed and when the call still isn’t picked up, asterisk hangs up.

I want to know the following:

+ Who’s calling?

+ What did the caller dial?

+ Is an inbound call being picked up or not?

+ Which phone picks it up?

+ Which of the phones that could be rung for the call are busy so that
they can not be used to pick up the call?

+ How long has a call been going on for (for both the ones that were
picked up and the ones that weren’t)?

I could only figure out who is calling and might be able to figure out what the caller dialed. There seems to be no way to tell how a call is being dealt with, though.

5 thoughts on - Figuring Out What Happened To A Call

  • Thanks!

    That’s not really it; however, how do I make it so that asterisk writes this information right away into a mariadb database instead of into a file so that I could actually use it?

  • Send your queue_log entries to odbc?

    It’s a setting in extconfig.conf.

    Antony.


    A few words to be cautious of between American and English:
    – momentarily
    – suspenders
    – chips
    – pants
    – jelly
    – pavement
    – vest
    – pint (and gallon)
    – pissed

    Please reply to the list;
    please *don’t* CC me.

  • Yes, it’s the preferred method of talking to databases from Asterisk.

    If you want to use the MySQL-specific driver / connector, you can still use that for some things, but Voicemail in a database can only be done via ODBC, for example.

    By all means try it – if it’s mentioned, it’ll probably work, but ODBC is the more generic and better-supported way of using databases with Asterisk.

    Antony.


    The first fifty percent of an engineering project takes ninety percent of the time, and the remaining fifty percent takes another ninety percent of the time.

    Please reply to the list;
    please *don’t* CC me.