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

2014-03-07 Thread Jairo
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 rnew...@digium.com:

 On Wed, Mar 5, 2014 at 1:30 PM, Jairo jairomolin...@gmail.com wrote:
  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

-- 
_
-- 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

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

2014-03-07 Thread Rusty Newton
On Fri, Mar 7, 2014 at 7:21 AM, Jairo jairomolin...@gmail.com wrote:
 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. :)

-- 
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


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

2014-03-07 Thread Jairo
Great :)

Thank you very much.

Best.


2014-03-07 18:07 GMT-03:00 Rusty Newton rnew...@digium.com:

 On Fri, Mar 7, 2014 at 7:21 AM, Jairo jairomolin...@gmail.com wrote:
  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. :)

 --
 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

-- 
_
-- 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

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

2014-03-06 Thread Rusty Newton
On Wed, Mar 5, 2014 at 1:30 PM, Jairo jairomolin...@gmail.com wrote:
 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


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

2014-03-05 Thread Jairo
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.
-- 
_
-- 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