Access conversation archive

General discussions about Asterisk.

Moderators: Moderator, Support

Access conversation archive

Postby vugar » Fri Oct 11, 2013 3:32 am

Hi.

I am new in Asterisk and VoIP technologies. I want to know, can Asterisk save audio/video conversation archive in its database? If it possible, can it access to this archive?
For example, i want to listen audio conversation between users A and B which was 3 days ago. Is it possible?

Best regards.
vugar
Newsterisk
 
Posts: 25
Joined: Fri Oct 11, 2013 3:23 am

Re: Access conversation archive

Postby david55 » Fri Oct 11, 2013 4:28 am

Asterisk can save audio convreraations in the local filesytem. Look for applications and parameters with "monitor" in their name.

Please ask further support questions on a forum with Support in its name.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Access conversation archive

Postby ambiorixg12 » Fri Oct 11, 2013 9:03 am

One way to do this is using PHP, MixMonitor() and Asterisk the CDR connected to MYSQL.

exten => _9.,1,Answer
exten => _9.,2,set(calltime=${UNIQUEID})
exten =>_9.,3,Set(CDR(userfield)=${calltime})
exten =>_9.,4,MixMonitor(/var/www/cdr/recording/${calltime}.wav)

the name of the recording file is save in the Asterisk CDR userfield, then in PHP create an script for show the ASTERISK CDR and a add link to the userfiled value for play or download the file.
ambiorixg12
Astmaster
 
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic

Re: Access conversation archive

Postby vugar » Fri Oct 11, 2013 10:08 am

Asterisk can save only audio? Can it save video?
vugar
Newsterisk
 
Posts: 25
Joined: Fri Oct 11, 2013 3:23 am

Re: Access conversation archive

Postby david55 » Fri Oct 11, 2013 11:54 am

I've never investigated it. Video use is relatively rare and I rather suspect that most video users are not the sort of user normally subject to such monitoring.

I'm pretty sure that there is no support for capturing video media streams, but I couldn't say so with absolute certainty.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Access conversation archive

Postby vugar » Mon Oct 14, 2013 2:25 am

ambiorixg12 wrote:One way to do this is using PHP, MixMonitor() and Asterisk the CDR connected to MYSQL.

exten => _9.,1,Answer
exten => _9.,2,set(calltime=${UNIQUEID})
exten =>_9.,3,Set(CDR(userfield)=${calltime})
exten =>_9.,4,MixMonitor(/var/www/cdr/recording/${calltime}.wav)

the name of the recording file is save in the Asterisk CDR userfield, then in PHP create an script for show the ASTERISK CDR and a add link to the userfiled value for play or download the file.


In which configuration file i must this changes do?

I want only saving files to filesystem. No any, php, any mysql.
vugar
Newsterisk
 
Posts: 25
Joined: Fri Oct 11, 2013 3:23 am

Re: Access conversation archive

Postby david55 » Mon Oct 14, 2013 4:06 am

extensions.conf. If that is not obvious, you haven't done enough background reading to tackle your requirement, yet.

What is being suggested here is one way of connecting the name of the recording with details of the call, in this case the accounting record.

You are going to have to use something other than Asterisk to actually retrieve the recordings.

I think you need a better understanding of Asterisk configuration before you can make effective use of a peer support forum to go much further.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 1 guest

cron