s8y

Member

Last active 8 years ago

  1. 8 years ago
    Wed Sep 14 12:32:54 2016

    hello,
    For those who may have similar requirement this is how we got it working.

    Regards,

  2. Fri Sep 2 09:36:46 2016

    Great, this is really helpful.
    I have found /usr/src/fop2/plugins/sampleplugin/sampleplugin.pl

    How can I see output of print inside perl sub (one from the script) e.g. $Client_Post_Command_Handler{'pauserecording'}{'custompauserecording'}
    print "origen $origen destino $destino contexto $contexto\n";
    or
    print "my channel $mychannel active $activechannel bridge $bridgechannel\n";
    Line 8 line 19 of script attached in my previous post.

    Thanks,

  3. Thu Sep 1 15:47:56 2016

    hello,
    I spent some time learning perl to understand what .pl script does and managed to put together functionality I am after.
    1. Is there any manual on how to create fop2 plugin and how fop2 plugins interacts with fop2 and asterisk?
    e.g. line #10 of attached file calls function get_btn_config with 3 variables from module "main". Where do I find main module?
    2. how can I debug *.pl script. I confirmed it compiles correctly but when I try to run it from command line it doesn't display any uncommented print " \n" lines.

    3. As far as I understand only .jp and .pl files contains any moving parts. should I also look anywhere else?
    Thanks,

  4. Tue Jul 26 08:36:25 2016

    Great, that is very useful. My box is behind proxy, restricted from accessing the internet. The only plugin I was able to see was "FOP2 Manager Autoconfiguration" and browse and upload buttons. I'll try to get it web connected,reload fop2 and have another look.
    Thanks,
    update: I connected my box to the internet. it says "Not compatible with this version" next to "Pause Recording Button" plugin. Its acutaly the only plugin with that status in the list.
    I am using fop2 v2.31 and and fop2 manager v1.1.3 on asterisk 13.9.1

    Is there github repository for the plugin (need to get hold of configuration files), alternatively what version of fop2/fop2 manager should I install to be able to download the plugin?
    Thanks,

  5. Mon Jul 25 09:21:48 2016

    thanks for responding.
    Where do I find "pause recording plug-in" please? Can't find it at http://www.fop2.com/buy.php
    or anything with functionality that would match what you described?
    Thanks,

  6. Fri Jul 22 12:06:00 2016

    hello,
    We would like to use fop2 to record entire call instead of from the moment recording button is pressed.
    I believe the easiest way forward would be to use Asterisk's mixmonitor.
    The way it supposed to work:

    1. Record conversation on call bridging with new variable e.g. DeleteOnHangup=yes
    2. Give agent ability to set channel variable to DeleteOnHangup=no
    3. Delete (or not) call recording on hangup based on DeleteOnHangup value.
    4. if DeleteOnHangup=no inject file path to fop2.fop2recordings table in mysql

    I know how to get it configured on asterisk side but struggling with fop2 side.
    Can anyone please help?
    Thanks,

  7. Mon Jun 20 14:50:30 2016
    s8y joined the forum.