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. Bug: Tracking Freepbx DND

Bug: Tracking Freepbx DND

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 52 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.
  • A
    A
    alien8tive
    wrote on last edited by
    #1

    Hi

    FOP2 is working great! The only issue I had was when I installed it on Elastix 2.4.0, the DND was not tracked.
    I fixed the problem as per http://www.fop2.com/documentation-faq.php, but the
    config in extensions_override_fop2.conf was incorrect:

    Config in file:

    exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)

    instead of

    exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: Do not Disturb)

    Note: The , must be |

    AND

    exten => *80,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )

    instead of

    exten => *80,n,UserEvent(FOP2ASTDB|Family: fop2state|Channel: ${CHAN}|Value: )

    I do not have any issues, but I wanted to bring this to your attention.

    Regards
    Nathan

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

      Hi Nathan,

      The latest versions of FOP2 include a script that will create the correct override contexts for any of your freepbx versions, including correct syntax.

      I will update the FAQ entry as it is dated, and related to FOP 2.10 only. At that time the most used asterisk version was 1.4 where pipes were still used as delimiters. Thanks for pointing it out, as we did not update the FAQ accordingly.

      To generate the correct context you should do what it is said in the online documentation here:

      http://www.fop2.com/documentation-insta ... arball.php

      Basically, run:

      /usr/local/fop2/generate_override_contexts.pl -w

      And nothing else, everything will work correctly. I advise you to do that, as each FreePBX version has a different dnd macro.

      Thanks again for pointing out the old FAQ entry.

      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