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. New alert plugin in 2.31.06

New alert plugin in 2.31.06

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 74 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.
  • M
    M
    mkeuter
    wrote on last edited by
    #1

    Can you please give a real world example for the new alert plugin from 2.31.06?
    I tried this:

     same => n,UserEvent(FOP2CUST,Family: alert,Urgent test for you!^info&10)
    

    But the syntax is possibly not correct.

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

      You have to specify the channel to target de alert. If you want to make it global use the channel name GLOBAL_ALERT otherwise SIP/whatever

      Something like

      UserEvent(ALERT,Family: alert,Channel: SIP/100,Value: Urgent test for you~error~10)

      1 Reply Last reply
      0
      • M
        M
        mkeuter
        wrote on last edited by
        #3

        Thanks for the clarification.

        I tried it, but still nothing appears in the FOP2 webclient, except the normal popup for an incoming call.

        -- Executing [21@internal-phones:2] UserEvent("SIP/16_yeal-00000047", "ALERT,Family: alert,Channel: SIP/21_snom,Value: Urgent test for you~error~10") in new stack

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

          This works, providing the alert plugin is enabled for the user, the channel is correct ([SIP/xxx] header in FOP2 autobuttons configuration ouput):

          exten => 2222,n,UserEvent(Alert,Channel: SIP/111,Family: alert,Value: hello world~error~10)

          It is possible that you will have to conver the channel to upper case, try setting it to SIP/21_SNOM in the user event and see if it makes a difference. IF you want to broadcast to all connected users, try the pseudo channel GLOBAL_ALERT.

          Best regards,

          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