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. Lost individual entries in the Trunk display

Lost individual entries in the Trunk display

Scheduled Pinned Locked Moved Support
8 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.
  • G
    G
    grahamwright1
    wrote on last edited by
    #1

    Hi,

    A complete newbie here and to FOP2 but very impressed with what I've seen so far.

    I just installed the current (not beta) release on a Centos 5 32-bit platform running the current PIAF, and I was originally seeing individual calls showing up in the Trunks display as expected. At some point in my adjusting parameters, the individual ZAP entries have gone and do not display. At this point I have a Trunks section, the two trunks in it (ZAP and voipstreet) but I never see any entries under each trunk with normal activity.

    Can anyone suggest some areas for me to look at, as it initially worked and has only stopped working during my "fine-tuning" the configuration 🙂

    Thanks,
    Graham

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

      What kind of fine tuning was made? Editing .cfg files or using the FreePBX module?

      1 Reply Last reply
      0
      • G
        G
        grahamwright1
        wrote on last edited by
        #3

        What kind of fine tuning was made? Editing .cfg files or using the FreePBX module?

        Using FreePBX module - are there any configuration files I can send?

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

          You can send the output from /usr/local/fop2/autoconfig-buttons-freepbx.sh script, just the trunk buttons. Regarding zap, you need to specify channel numbers manually in the fop2 buttons page in the module. If not there will be no zap monitoring at all.

          1 Reply Last reply
          0
          • G
            G
            grahamwright1
            wrote on last edited by
            #5

            You can send the output from /usr/local/fop2/autoconfig-buttons-freepbx.sh script, just the trunk buttons. Regarding zap, you need to specify channel numbers manually in the fop2 buttons page in the module. If not there will be no zap monitoring at all.

            Could you explain what I need to do "manually in the fop2 buttons page in the module" in a little more detail please?

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

              In the fop2admin module, inside the "fop2 buttons" page, you have a list of extensions, and then the list of trunks.

              In the trunk list, next to the zap/dahdi trunks, you have an extra field:

              Zap/Dahdi Channels (Eg: 1-24)

              Where you have to list your trunk channels, like it says in the same button label: 1-24

              1 Reply Last reply
              0
              • G
                G
                grahamwright1
                wrote on last edited by
                #7

                In the trunk list, next to the zap/dahdi trunks, you have an extra field:

                Zap/Dahdi Channels (Eg: 1-24)

                Where you have to list your trunk channels, like it says in the same button label: 1-24

                SO this is the block of code with the ZAP section:

                        if($key=="core") {
                            echo "<td><input type=text name='email_".$datarray['devid']."' value='".$datarray['email']."'></td>";
                            echo "<td><input type=text name='group_".$datarray['devid']."' value='".$datarray['group']."'></td>";
                            echo "<td><input type=text name='queuechannel_".$datarray['devid']."' value='".$datarray['queuechannel']."'></td>";
                            echo "<td><input type=text name='originatechannel_".$datarray['devid']."' value='".$datarray['originatechannel']."'></td>";
                        } else if($key=="trunks" and (eregi("dahdi",$datarray['privacy']) or eregi("zap",$datarray['privacy']))) {
                            echo "<td colspan=2>";
                            echo _("Zap/Dahdi Channels (Eg: 1-24)");
                            echo "</td><td><input type=text name='email_".$datarray['devid']."' value='".$datarray['email']."'></td>";
                            echo "<td colspan=1>&nbsp;</td><td>&nbsp;</td>";
                
                        } else {
                            echo "<td colspan=4>&nbsp;</td><td>&nbsp;</td>";
                        }
                        echo "</tr>";
                    }
                

                I have a T1 with 23 channels so is it just adding:

                            echo _("Zap/Dahdi Channels 1-24)");
                

                or is it adding

                            echo _("Zap/Dahdi Channels 1)");
                            echo _("Zap/Dahdi Channels 2)");
                            echo _("Zap/Dahdi Channels 3)");
                            echo _("Zap/Dahdi Channels 4)");
                            echo _("Zap/Dahdi Channels 5)");
                

                and so on down to 23?

                Thanks,
                Graham

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

                  Hmm.. maybe I did not express myself clearly. You do not need to tweak or change any code. Just open the fop2 buttons page and write 1-23 in the extra field. So, leave that .php page untouched, and go to the fop2 buttons menu under the tools tab in freepbx and add 1-23 in the input box, then save and apply.

                  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