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 extensions doesn't show status

DAHDI extensions doesn't show status

Scheduled Pinned Locked Moved Support
10 Posts 2 Posters 95 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.
  • L
    L
    loalvares
    wrote on last edited by
    #1

    Hello all,

    I've 5 DAHDI extensions and 2 DAHDI trunks at openvox A800.
    When I call to external number, the trunks button was red, show "used" and show the destination number correctly. But the caller extension (DAHDI extension), for example, DAHDI/1 doesn't show any status, it continues green and available.
    I'm using frePBX based system.

    What configurations should I've to do, to show the status of DAHDI extensions ?

    In my concept only getting the line tone by DAHDI extensions, the FOP2 should show as used, right?

    thanks a lot.

    Best regards,

    Leandro.

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

      Hello,

      I have seen FreePBX installations where DAHDI extensions are saved in the database as ZAP. The fop2admin module will inherit what it is saved on the FreePBX tables for those extensions. I am sure your problem has to do with that, you will have to update the tables so those extensions are saved with the DAHDI device instead of ZAP. Or you can manually edit just the fop2buttons table, as I really do not know if you can break things on freepbx if you alter the devices table by hand doing that change.

      Best regards,

      1 Reply Last reply
      0
      • L
        L
        loalvares
        wrote on last edited by
        #3

        Thanks to reply.

        What about this topic:
        View Post 158,
        I understood it must work as you said me....
        This modification can be did by script modification? like autoconfig-buttons-freepbx.sh ?

        I've openned a new topic at freepbx forum too. Maybe someone help me, and this modification should be a new fix to newer versions.. 😄
        http://www.freepbx.org/forum/freepbx/ti ... nnel-issue

        Thanks a lot.

        best regards,

        Leandro.

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

          Hi Leandro,

          What I said was in regard of the fop2admin freepbx module. If you do not use the module, you have to tweak the autoconfig-buttons-freepbx.sh script by hand, and change zap to dahdi where appropiate.

          1 Reply Last reply
          0
          • L
            L
            loalvares
            wrote on last edited by
            #5

            I'm sorry,

            I think I didn't understand....
            Using the fop2admin freepbx, it will look at database, and bring the extensions using the database values (ZAP extensions), because the freePBX uses the database. So I need to uninstall the fop2admin freepbx module and install using the tar file? Using this, the FOP2 will show the buttons using the autoconfig-buttons-freepbx.sh script, because this script is called when one operator access fop2admin. Am I right?

            Thanks a lot by your help.

            Best regards,

            Leandro

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

              I recommend you to use the fop2admin module. To fix the issue, edit by hand the fop2buttons table and change ZAP for DAHDI where appropiate.

              With no fop2admin module there is no database at all, and you might need to tweak the autoconfig script by hand too, it is much better to use the module, and it is also easier to update the mysql table.

              The problem I describe is because FreePBX lists the device as ZAP/X in the devices table instead of DAHDI, and fop2 "inherits" that value.

              Best regards,

              1 Reply Last reply
              0
              • L
                L
                loalvares
                wrote on last edited by
                #7

                It's working.... but, at fop2 it doesn't be red when someone "get a tone" (in analogic phone). I'm getting a red button only when I call to some place.
                Is it possible?
                I got DAHDI channels working at fop2 doing:

                update fop2buttons set device="DAHDI/5" where fop2buttons.id=11;

                thanks a lot admin.

                Best regards

                Leandro

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

                  It's working.... but, at fop2 it doesn't be red when someone "get a tone" (in analogic phone). I'm getting a red button only when I call to some place.
                  Is it possible?

                  Glad you have it working... FOP2 will display the button red when Asterisk signals it as being UP, or when a Bridge/Link event is detected. If you do not get it when you get the tone, it is asterisk does is not signaling as UP via the manager.. I do not remember if there is a setting to signal the channel as up as soon as you get the tone. It's been a couple of years since I configured and FXS interface.

                  1 Reply Last reply
                  0
                  • L
                    L
                    loalvares
                    wrote on last edited by
                    #9

                    Really sorry to delay....

                    the asterisk will detect when a Bridge/Link event is detected.But when I reload the config by FreePBX, the configurations turns back to ZAP/xx.

                    regards,

                    Leandro

                    1 Reply Last reply
                    0
                    • L
                      L
                      loalvares
                      wrote on last edited by
                      #10

                      I've got this working perfectly.

                      First I've created the extensions as DAHDI/<number_of_channel>, for example: DAHDI/3. I was creating this as ZAP/3, so it was writing at MySQL as ZAP/3.... make sence...
                      I still had the DAHDI/g0 created as OUT_1 at extensions_additional.conf. How I'm using the freePbx module, I got at freepbx ==> tools ==> Fop2 Buttons:
                      Zap/Dahdi Channels (Eg: 1-24): 1-2, because I've two interfaces to PSTN.

                      Now the fop2 is working perfectly and the status is showing how it should.

                      Thanks a lot.

                      I hope this post help someone in the future. 😄

                      regards,
                      Leandro

                      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