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. SIP.conf/fop2 users, how do you tie them up?

SIP.conf/fop2 users, how do you tie them up?

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 76 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.
  • S
    S
    silas2
    wrote on last edited by
    #1

    I'm sure this is staring me in the face, but I don't quite understand the relationship between the user list in fop2.cfg and Sip.conf user list/sip registrations , how do you tie them together?(they are presumably the same thing(?))

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

      Hi,

      The user list in fop2.cfg is for defining extensions that you can use to log into fop2 itself.

      The user must be the extension number if you want to be able to perform actions in fop2. You can use anything else too, strings, invented numbers, but in those cases you won't be able to perform actions.

      There is no direct relation to sip.conf, that is up to your own asterisk configuration. The relation for fop2 is between the user number and the extension setting in a button configuration also in fop2.cfg

      Example

      fop2.cfg

      user=100:1234:all
      buttonfile=buttons.cfg
      

      buttons.cfg

      [SIP/john]
      type=extension
      extension=100
      context=from-internal
      

      So, as you can see, there is a relation between the user and the button. But no relation at all with your sip.conf

      1 Reply Last reply
      0
      • S
        S
        silas2
        wrote on last edited by
        #3

        If know I must be exposing a fundamental misunderstanding, but if asterisk has all these sip calls getting 'bridged' between the registered sip phones and the outside world, doesn't fop2 somehow 'sit' on top of that to flash the lines which are active, etc, etc?

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

          I do not understand your question. You define buttons in fop2 as in the example above, it is not a fop2 user but a fop2 button.

          The button definition requires the device to monitor between brackets, that is the "bond" that you are looking for with your asterisk sip.conf file.. but it is not only with that, as you can have other button types, like conferences, queues, etc..

          1 Reply Last reply
          0
          • S
            S
            silas2
            wrote on last edited by
            #5

            Is it that the buttons bind to channels, which take the form SIP/username (=sip.conf username??)
            (link to relevant documentation would be welcome if I'm overlooking the obvious)

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

              I do not understand what is your doubt:

              http://www.fop2.com/documentation-confi ... uttons.php

              In Asterisk you have device names, fop2 monitors those device names.. The device name depends on the channel driver. That is outside the scope of fop2 itself, is an asterisk thingy... so, sip channels in asterisk are named:

              SIP/xxxxx

              In sip.conf you can define a peer like

              [100]

              And the device name when in use in asterisk will be

              SIP/100

              In fop2.cfg you must use the device/channel name. Example:

              SIP/100
              IAX2/mary
              DHADI/2

              The documentation is in the link I posted above, or you can see it also in the buttons.cfg.sample included with fop2

              1 Reply Last reply
              0
              • S
                S
                silas2
                wrote on last edited by
                #7

                Thanks, that was it.

                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