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. Feedback
  3. SCCP Extensions

SCCP Extensions

Scheduled Pinned Locked Moved Feedback
6 Posts 3 Posters 104 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.
  • C
    C
    ChrisM
    wrote on last edited by
    #1

    Getting SCCP extensions (chan_sccp) to appear and be usable.

    1 Reply Last reply
    0
    • C
      C
      ChrisM
      wrote on last edited by
      #2

      Anyone have any luck getting SCCP extensions to appear? I have tried adding them manually to the buttons.cfg, and by modifying the autoconfig-buttons-freepbx.sh to parse the extensions from sccp.conf, but can't get them to appear.

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

        Hi,

        If you can give me ssh access to your machine or some machine with SCCP I can try to find out if it would be possible to make them appear and work. You can send me a private message or contact me via the live help.

        Best regards,

        1 Reply Last reply
        0
        • T
          T
          Thomas
          wrote on last edited by
          #4

          Did anything ever come of this Nicolás?

          1 Reply Last reply
          0
          • T
            T
            Thomas
            wrote on last edited by
            #5

            You could build the buttons from the "Table devices in database asterisk" the tech feild will = custom and dial will = SCCP/EXTNUMBER

            1 Reply Last reply
            0
            • T
              T
              Thomas
              wrote on last edited by
              #6

              This will work as long as your using the context from-internal

              # SCCP EXTENSIONS
              
              mysql -ENB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "select concat('SCCP/',extension) as channel,extension,name as label,concat(s1.id,'@default') as mailbox,'from-internal' as context,concat('*',s1.id,'@default') as extenvoicemail from users as u left join devices as s1 on u.extension=s1.id and s1.tech='custom' left join devices as s2 on u.extension=s2.id where s2.dial LIKE 'SCCP/%' order by extension" | sed '/\*\*/d' | sed 's/: /=/g' | while read LINEA
              do
              echo $LINEA | sed 's/channel=\(.*\)/\n[\1]\ntype=extension/g'
              done
              
              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