How to Add ZapBarge to FOP2

  1. 12 years ago

    So far FOP2 is doing more than we could imagine in a single tool.

    We need to incorporate the ZapBarge feature into FOP2. FOP2 already has the ability to record a call, listens, and whipser. To complete the feature set, we need the ability to barge or jump into a call. Based on the documentation, this should be possible: http://www.fop2.com/documentation-configuration-1.php

    The documentation states this:

    spy_options(2.20)
    Options to send to chan_spy when doing a Listen action. This global setting is overriden by the individual button spyoptions directive if set (in the button config). Asterisk 1.6.1 or higher has the option "d" that lets you switch spying modes using the keypad:
    4 = spy mode
    5 = whisper mode
    6 = barge mode

    Here is my question. The documentation says this is part of the fop2.conf parameters. I have reviewed the documentation and cannot find where the fop2.conf is located or where it is suppose to go. If I could fine a sample fop2.conf, I can try to edit and play with the feature.

    If you can provide any tips on how to achive the call barge with FOP2, it would be greatly appreciated.

    - Ton

  2. admin

    11 Apr 2012 Administrator

    Hi,

    One thing is ZapBarge, and a different thing is ChanSpy with the barge option. The later works on any channel technology but the barge option is only available in recent asterisk versions (1.8 or 10, it is not available in 1.6 or older).

    The fop2.cfg file is located in /usr/local/fop2/fop2.cfg (if you installed from tarball), or in /etc/asterisk/fop2/fop2.cfg if you installed from Marketplace/RPM.

    If you use a recent asterisk, change the whisper options to be "B" instead of "w".Then the whisper action button will be actually a barge button.

    If you want to use the zapbarge application, then you can create a custom button and proper actions, but that is much much more involved, for inspiration you can read this article, that implements a pseudo conference button using chanspy barge option:

    http://www.fop2.com/blog/creating-a-cus ... ion-button

  3. Based on your suggestions, i will work with the ChanSpy option with the barge. So I will make whisper_options ="w" to "B".

    I do have a question.

    currently my spy_options="bq"

    based on the documentation, it states if I use "d", I can change spying mode using the keypad.

    If I enable that feature, can a user change from spymode, to barge mode, but just hitting 6 on their keypad?

    - Ton

  4. admin

    11 Apr 2012 Administrator

    Based on your suggestions, i will work with the ChanSpy option with the barge. So I will make whisper_options ="w" to "B".

    I do have a question.

    currently my spy_options="bq"

    based on the documentation, it states if I use "d", I can change spying mode using the keypad.

    If I enable that feature, can a user change from spymode, to barge mode, but just hitting 6 on their keypad?

    yes!

  5. Hey Nicolas,

    i have tried to barge and no luck.

    I have tried the following spy_options settings

    spy_options="d"
    spy_options="bqd"
    spy_options="bq"

    No matter if I joined with the listen or whisper button from the FOP2 panel, I was not able to change the mode with the keypad.

    Every time I change the spy_options settings, I rebooted the test PBX server.

    I also changed the "whisper_options" from w and b, still got the same results.

    If you can give me any advice or guidance, it would be greatly appreciated.

    - Ton

  6. Ok, I got it to work.

    I went ahead and set the Chanspy to d using the Fop2Admin Buttons page, and it worked. I was able to switch modes by using the keypad, and it worked.

    - Ton

or Sign Up to reply!