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. DAHDI Trunk Status not showing

DAHDI Trunk Status not showing

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 84 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.
  • P
    P
    Pete123
    wrote on last edited by
    #1

    Hi,

    I'm using FreePBX 2.11 and FOP2 + the FreePBX Admin Module, but what ever I do I just can't get my DAHDI trunk status to show up - it never changes from the normal green status with no info.

    I have tried many different combinations of the trunk number and name in the trunks channel box in the admin module, but all to no effect.

    Doing a Core show channels gives: DAHDI/1-1

    Please could someone advise the exact syntax of what I should put in the channels box?

    Thanks very much,

    Peter.

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

      you should set up a channel range like 1-10, the easiest way to check what fop2 will see is to run the script

      /usr/local/fop2/autoconfig-buttons-freepbx.sh

      Inspect the output for your trunk buttons, what do you see as the channel in brackets and also the channel headers?

      1 Reply Last reply
      0
      • P
        P
        Pete123
        wrote on last edited by
        #3

        Hi,

        Thanks very much for your reply and sorry that I have not replied sooner.

        I ran the script and go the output below relating to DAHDI

        Thanks,

        Peter.

        [DAHDI/g0]
        type=trunk
        label=DAHDI/g0
        queuecontext=from-internal
        privacy=none
        email=splitme-1-1
        channel=DAHDI/i1
        channel=ZAP/1
        rtmp=0

        [DAHDI/1]
        type=trunk
        label=DAHDI
        channel=DAHDI/1-1
        channel=DAHDI/1-2
        channel=DAHDI/1-3

        1 Reply Last reply
        0
        • P
          P
          Pete123
          wrote on last edited by
          #4

          Hi,

          Thanks for the reply and sorry for not replying sooner.

          Running the script produces output relating to DAHDI below:

          Kind Regards,

          Peter.

          [DAHDI/g0]
          type=trunk
          label=DAHDI/g0
          queuecontext=from-internal
          privacy=none
          email=splitme-1-1
          channel=DAHDI/i1
          channel=ZAP/1
          rtmp=0

          [DAHDI/1]
          type=trunk
          label=DAHDI
          channel=DAHDI/1-1
          channel=DAHDI/1-2
          channel=DAHDI/1-3

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

            Maybe your DAHDI channels are prefixed with an "i" for interface. The latest autoconfig scripts already include that name, if you have an older autoconfig script, you can modify it and add the line that outputs DAHDI/ix:

            Edit the autoconfig-buttons-freepbx.sh script and look for something similar to this:

            do
            echo "channel=DAHDI/$ZAPNUM"
            echo "channel=ZAP/$ZAPNUM"
            done
            

            and change it to this:

            do
            echo "channel=DAHDI/$ZAPNUM"
            echo "channel=DAHDI/i$ZAPNUM"
            echo "channel=ZAP/$ZAPNUM"
            done
            

            Finally restart fop2.

            1 Reply Last reply
            0
            • P
              P
              Pete123
              wrote on last edited by
              #6

              Thanks very much that's fixed it !

              My autoconfig-buttons-freepbx.sh script only had:

              do
              echo "channel=DAHDI/i$ZAPNUM"
              echo "channel=ZAP/$ZAPNUM"
              done[/color:1uwnpldu]

              So I actually added:

              echo "channel=DAHDI/$ZAPNUM"
              [/color:1uwnpldu]

              And that seems to have fixed it!

              Thanks so much for your help.

              Kind Regards,

              Peter.

              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