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. Don't show status on DAHDI Extensions

Don't show status on DAHDI Extensions

Scheduled Pinned Locked Moved Support
9 Posts 2 Posters 75 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.
  • R
    R
    RekGRpth
    wrote on last edited by
    #1

    I have trouble with status of extensions on DAHDI.
    I set up much extensions in elastix as DAHDI devices, such as "DAHDI/i9/19", but corresponding buttons don't show status, when I make call to or from extensions.
    However status of DAHDI trunks work well, that is, I see on trunks channels and phone numbers.

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

      Look at how the autoconfiguration is setting the device names ( run /usr/local/fop2/autoconfig-buttons-freepbx.sh ), and compare those names with active channel names when you are on a call ( asterisk -rx "core show channels" ). If the device names are different, you won' t see status, you have to use in fop2 the same device name as an active channel. If the autoconfiguration fails to guess the number, you will have to create some manual configuration fro your dahdi extensions.

      1 Reply Last reply
      0
      • R
        R
        RekGRpth
        wrote on last edited by
        #3

        autoconfiguration sets such device names:

        [DAHDI/i9/55]
        type=extension
        extension=55
        ...
        bun, when I call from 55 to 591600, the command asterisk -rx "core show channels" shows
        ...
        DAHDI/i9/55-40a3 s@macro-dialout-trun Ring Dial(DAHDI/g2/591600,300,T)
        ...
        and number -40a3 changes from call to call

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

          The session id is normal and it is removed by fop2, so the device names are the same. If they are advertised as such in AMI, then it must work... (edited) but perhaps the double slash is troublesome. Try to capture events from AMI using fop2_server in debug level 1 when you make a call with that extension and send the capture to me so I can replay it locally

          service fop2 stop
          cd /usr/local/fop2
          script capture.log
          ./fop2_server -X 1

          (do your call)

          ctrl-C
          exit

          (send me the capture.log file via private email/post)

          1 Reply Last reply
          0
          • R
            R
            RekGRpth
            wrote on last edited by
            #5

            I sent log to you, are you received it?

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

              Yes, I did. I have to check/test still.

              1 Reply Last reply
              0
              • R
                R
                RekGRpth
                wrote on last edited by
                #7

                I found, why status doesn't showed:

                when I call from SIP phone, registered in FOP2 as SIP/155 in log this string appears:

                GET CHANNEL input (SIP/155-00006e9a) - output (SIP/155)
                

                and status of button SIP/155 is shown

                but when I call from phone, registered in FOP2 as DAHDI/i9/55 in log this:

                GET CHANNEL input (DAHDI/i9/55-71ca) - output (DAHDI/I9)
                

                although must be some, like this

                GET CHANNEL input (DAHDI/i9/55-71ca) - output (DAHDI/i9/55)
                
                1 Reply Last reply
                0
                • R
                  R
                  RekGRpth
                  wrote on last edited by
                  #8

                  The problem was solved by changing "DAHDI/i9" on "SIP" via proxy between FOP2 server and asterisk :shock:

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

                    well, a working but maybe ugly solution. I will work on a fix for the next fop2 release so you can avoid using that proxy.

                    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