Re: [asterisk-users] figuring out what happened to a call

2018-12-05 Thread Antony Stone
On Wednesday 05 December 2018 at 13:04:57, hw wrote:

> On 12/04/2018 07:07 PM, Antony Stone wrote:
> > On Tuesday 04 December 2018 at 16:11:39, hw wrote:
> >> On 12/01/2018 05:30 PM, Marcelo Terres wrote:
> >>> Queue_log
> >> 
> >> 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?
> 
> odbc?  Seriously?

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.

> > It's a setting in extconfig.conf.
> 
> Does mysql not work?  It's mentioned there, too.

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.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] figuring out what happened to a call

2018-12-05 Thread hw

On 12/04/2018 07:07 PM, Antony Stone wrote:

On Tuesday 04 December 2018 at 16:11:39, hw wrote:


On 12/01/2018 05:30 PM, Marcelo Terres wrote:

Queue_log


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?


odbc?  Seriously?


It's a setting in extconfig.conf.


Does mysql not work?  It's mentioned there, too.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] figuring out what happened to a call

2018-12-04 Thread Antony Stone
On Tuesday 04 December 2018 at 16:11:39, hw wrote:

> On 12/01/2018 05:30 PM, Marcelo Terres wrote:
> > Queue_log
> 
> 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.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] figuring out what happened to a call

2018-12-04 Thread hw

On 12/01/2018 05:30 PM, Marcelo Terres wrote:

Queue_log


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?


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] figuring out what happened to a call

2018-12-01 Thread Marcelo Terres
Queue_log

On Sat, 1 Dec 2018, 13:03 hw  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.
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] figuring out what happened to a call

2018-12-01 Thread hw

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.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users