Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 11, CEL and ConfBridge recordings


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jairomolinajr at gmail...
Guest





PostPosted: Wed Mar 05, 2014 2:31 pm    Post subject: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings Reply with quote

Dear friends,

Need to know filenames of conference recordings in Asterisk 11.



Besides directory scanning the recordings could use CEL:


Filter MySQL rows with eventtype equal CHAN_START and channame like ConfBridgeRecorder and then get the eventtime field and convert to timestamp to complete filename(s).


Would you suggest any other approaches?


Thanks.
Back to top
rnewton at digium.com
Guest





PostPosted: Thu Mar 06, 2014 7:29 pm    Post subject: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings Reply with quote

On Wed, Mar 5, 2014 at 1:30 PM, Jairo <jairomolinajr@gmail.com> wrote:
Quote:
Dear friends,

Need to know filenames of conference recordings in Asterisk 11.

Besides directory scanning the recordings could use CEL:

Filter MySQL rows with eventtype equal CHAN_START and channame like
ConfBridgeRecorder and then get the eventtime field and convert to timestamp
to complete filename(s).

Would you suggest any other approaches?

You might set the record file path yourself through the CONFBRIDGE
function, for example, in dialplan:

...stuff up here to build a unique file name into MyCustomFileName...
exten => 1,n,Set(CONFBRIDGE(user,record_file)=${MyCustomFileName}.wav)

Then of course you now know the file name so you could do whatever you
wanted with it afterwards.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE

--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jairomolinajr at gmail...
Guest





PostPosted: Fri Mar 07, 2014 8:22 am    Post subject: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings Reply with quote

Thank you very much Rusty.

It really works. Even if ${MyCustomFileName} gets a different value when the second participant enters the conference, the filename remains the name defined when the first participant enters (because he started the conference).


Another thing, if I need to know the time a conference ended should I use CEL or is there another better approach?


Best.



2014-03-06 21:28 GMT-03:00 Rusty Newton <rnewton@digium.com (rnewton@digium.com)>:
Quote:
On Wed, Mar 5, 2014 at 1:30 PM, Jairo <jairomolinajr@gmail.com (jairomolinajr@gmail.com)> wrote:
Quote:
Dear friends,

Need to know filenames of conference recordings in Asterisk 11.

Besides directory scanning the recordings could use CEL:

Filter MySQL rows with eventtype equal CHAN_START and channame like
ConfBridgeRecorder and then get the eventtime field and convert to timestamp
to complete filename(s).

Would you suggest any other approaches?



You might set the record file path yourself through the CONFBRIDGE
function, for example, in dialplan:

...stuff up here to build a unique file name into MyCustomFileName...
exten => 1,n,Set(CONFBRIDGE(user,record_file)=${MyCustomFileName}.wav)

Then of course you now know the file name so you could do whatever you
wanted with it afterwards.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE

--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: [url=tel:%2B1%20256%20428%206200]+1 256 428 6200[/url]

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rnewton at digium.com
Guest





PostPosted: Fri Mar 07, 2014 4:07 pm    Post subject: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings Reply with quote

On Fri, Mar 7, 2014 at 7:21 AM, Jairo <jairomolinajr@gmail.com> wrote:
Quote:
Thank you very much Rusty.

It really works. Even if ${MyCustomFileName} gets a different value when the
second participant enters the conference, the filename remains the name
defined when the first participant enters (because he started the
conference).

Another thing, if I need to know the time a conference ended should I use
CEL or is there another better approach?

If you can get it from CEL, there is that, otherwise you can track
when you receive the AMI event ConfbridgeEnd

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_ConfbridgeEnd

That is all I got from poking around the docs. Smile

--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jairomolinajr at gmail...
Guest





PostPosted: Fri Mar 07, 2014 7:29 pm    Post subject: [asterisk-users] Asterisk 11, CEL and ConfBridge recordings Reply with quote

Great Smile

Thank you very much.


Best.



2014-03-07 18:07 GMT-03:00 Rusty Newton <rnewton@digium.com (rnewton@digium.com)>:
Quote:
On Fri, Mar 7, 2014 at 7:21 AM, Jairo <jairomolinajr@gmail.com (jairomolinajr@gmail.com)> wrote:
Quote:
Thank you very much Rusty.

It really works. Even if ${MyCustomFileName} gets a different value when the
second participant enters the conference, the filename remains the name
defined when the first participant enters (because he started the
conference).

Another thing, if I need to know the time a conference ended should I use
CEL or is there another better approach?


If you can get it from CEL, there is that, otherwise you can track
when you receive the AMI event ConfbridgeEnd

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_ConfbridgeEnd

That is all I got from poking around the docs. Smile

--
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: [url=tel:%2B1%20256%20428%206200]+1 256 428 6200[/url]

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services