Listen Not Working

Hello,
I'm using Elastix 2.4
I've added fop2 to it, and purchased a license
I'm trying to listen to a conversation,
I button on the extensions which is during a conversation that I want to listen to
I click on the button listen
I get an incoming call,
I pick it up,
And nothing.. silence.

Any suggestions?

Thank you.

Comments

  • Is the call bridged to another call? FOP2 does not actually perform the spying, it just launches chanspy with the options set in fop2.cfg as spy_options. By default it has "bq", that means spy only BRIDGED calls and be QUITE (no beep at the start). So, check those options, remove the "b" if you do not want it (for example, a call listening voicemail is not bridged, any call that is tied to an application and not another channel/device is not bridged). If your change any options you will need to reload fop2 for the change to take effect:

    service fop2 reload

    If after that you still here silence, then it is most probably an asterisk feature/bug/misconfiguration.
  • For some reason the fop2 is different in my asterisk
    no idea why,
    the file "fog.cfg" was in /etc/asterisk/fop2
    and there is no "spy_options" sections there.. it's looks like this:
    ; 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
    spy_options="bq"
    

    And I was trying to listen on an outgoing call, which was made through the sip trunk
    I can always just remove the fop2 if you think that would be a better idea and just re-install it again, I can even install it manually if that would be better.
    I'm just worried for the license now that I've already activated it
  • Hi,

    Location of fop2.cfg file depends if it was installed from tarball or from .rpm. Not sure what are you quoting, but you do have spy_options over there. You can remove the "b" from it and try again.

    Reinstalling fop2 won't make any good, you have to just fix the config on your system or your system per se. As I said before, fop2 launches/fires a command in asterisk that in turn fires the chanspy application to snoop on the call. Once the command is fired, fop2 does *nothing else*, asterisk takes control: your phone rings, when you answer the application starts. If sound comes garbled, low, non existant or whatever, it is asterisk/chanspy, not fop2.

    You said that your phone rings and hear silence, try this: answer the phone and keep it hearing the silence, while you run this command:

    asterisk -rx "core show channels concise"

    Look at the output, find *your* channel, and see what is it running.. you can post it here, but be careful to not disclose potential private information. If you see that your device SIP/something has Chanspy running with parameters SIP/somethingelse and seems correct, but you still hear no sound. then it is not a fop2 problem that you have to fix, but your asterisk.

    Best regards,
Sign In or Register to comment.