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. Feedback
  3. Add Custom:Device to channels monitored for a button

Add Custom:Device to channels monitored for a button

Scheduled Pinned Locked Moved Feedback
6 Posts 3 Posters 366 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.
  • D
    D
    DLNoah
    wrote on last edited by
    #1

    I've noticed that (at least on Asterisk 10, and presumably on any version post 1.6 that supports DEVICE_STATE) the AMI is sending events for when a Custom device changes state; is there any way FOP can be extended to use these events? I deleted my debug file earlier, but I can get the events again for you this evening/weekend if you want.

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

      What do you want to monitor exactly? What is your idea? Can you give an example? Manager events will also be helpful.

      Best regards,

      1 Reply Last reply
      0
      • C
        C
        cve
        wrote on last edited by
        #3

        I would like to react on this request because I have an example

        I have a configuration for some users: 1 deskphone, 1 dect phone and 1 dialplan extension for both.
        exten => 300,1,Dial(SIP/400&SIP/500)
        exten => 300,hint,SIP/400&SIP/500

        I am using DEVICE_STATE to check the status, and when 400 or 500 is making a call.
        I am showing 300 on the callee display

        Will it be possible for Flash Operator Panel to show 300 as an extension button and to report line status as a physical extension?

        Thanks in advance

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

          fop2 can monitor multiple devices for one button using the channel directive, so if you have a button for one sip device, you can extend it to monitor other devices by adding the propper channel directives:

          [SIP/100]
          type=extension
          extension=100
          context=from-internal
          label=John
          channel=SIP/200

          with the above setting , calls for both SIP/100 and SIP/200 will be shown on that button status. If you use fop2admin, you have a channel field to set in every button, you can add several channel separated with &.

          A not of warning, when a button monitors more than one channel, you cannot have ANOTHER button displaying status for those extra channels.

          Best regards,

          1 Reply Last reply
          0
          • C
            C
            cve
            wrote on last edited by
            #5

            Hi Nicolas,

            Great thanks for your prompt answer.
            I set the following button:

            [SIP/9791]
            type=extension
            extension=9700
            context=local
            label=Virtual Test
            channel=SIP/9778

            It works as expected for outgoing call, but for incoming calls it shows 2 lines, could I prevent this behavior to show only one line?

            Best regards,
            Christian

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

              If you have both channels active on inbound calls, it will show the two lines ringing as both channel are ringing. If only one rings, you will see only one line.

              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