Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Can't Listen In

Can't Listen In

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 231 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    silas2
    wrote on last edited by
    #1

    Asterisk 1.8, fop2.
    I’ve put spyoptions=4 in appropriate button in buttons.cfg

    • permissions set to ‘all’ for the user entry in fop2.cfg ( I don’t know if this is granting the same permission twice)
    • I’ve put force_parameter_delimiter="," spy_options="4" in fop2.cfg
    • read = system,call,command,agent,user,originate
      write = system,call,command,agent,user,originate in Asterisk manager.conf,
      but sill no listen in!!!
      What else to try?
    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      As far as I know, "4" is not a valid option for chanspy. Leave the default value or leave it empty and try again.

      What are you trying to achieve?

      1 Reply Last reply
      0
      • S
        S
        silas2
        wrote on last edited by
        #3

        I'm just trying to listen in to ongoing call.
        Ok, I realise I was misreading the help, I've switched back to spy_options="bq", I'm still unable to listen in.
        Any other suggestions?

        1 Reply Last reply
        0
        • S
          S
          silas2
          wrote on last edited by
          #4

          I can hangup the call, so I guess the permissions are getting thru ok, maybe(?)

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #5

            Hi,

            AMI permissions needed to hangup calls are not the same that for performing other actions. In /etc/asterisk/manager.conf try setting "all" both in the read/write lines.

            It will help if you tell us what happens when you try to listen to a call.. does your phone ring? it does nothing at all?

            Remember also that if you set privacy for a button, it will not be possible to listen to their calls, so be sure the target extension does not have privacy set.

            Best regards,

            1 Reply Last reply
            0
            • S
              S
              silas2
              wrote on last edited by
              #6

              I haven't set any privacy options for the buttons, I guess the default is off?
              I have set the manager.conf to
              read= all
              write=all
              The phone listening in is not receiving any incoming call event. Could it be the extensions.conf/dialplan, I haven't done anything to enable that for listening in?

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #7

                Did you configure buttons by hand? How? A button misconfiguration could cause that issue too... for example, lack of correct extension and context data for the buttons.

                1 Reply Last reply
                0
                • S
                  S
                  silas2
                  wrote on last edited by
                  #8

                  It is (buttons.cfg) generated by code, but the code was written by hand so it may still be wrong!
                  They are a minimum, e.g.

                  [SIP/107]
                  type=extension
                  extension=107
                  context=TeamMember
                  label=Pauline Ford

                  And the calls are going thru ok, and they light up fop2 buttons ok, so you would think the buttons.cfg is matching the sip.conf.
                  Do I really not need a dialplan/extenstion.conf entry for the listen in?

                  1 Reply Last reply
                  0
                  • S
                    S
                    silas2
                    wrote on last edited by
                    #9

                    Thanks Nicolas, it was my fault, there was no dialplan set up incoming calls for the listening phone, whoops! It is getting an incoming/listening call now. (I'm an Asterisk newbie).

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups