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. Cannot make call from FOP2

Cannot make call from FOP2

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 494 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.
  • J
    J
    jimmydotnet
    wrote on last edited by
    #1

    I login as 101...then whenever i try to dial an extension using the dial button..(i choose destination extension then i click dial button)..but fop2 calling itself(ext 101)

    I also cant transfer call to any extension...i try accepting a call and then choose the destination ext then click the transfer button but fop2 terminate all calls

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

      One possible reason is insufficient permissions in /etc/asterisk/manager.conf,

      Try adding "all" both to read/write and reload asterisk, then try again. The actual permission required is "originate" for asterisk versions greater than 1.4, but in trixbox distros the manager permissions are broken so you should better use "all" if you want a fully functional fop2.

      Best regards,

      1 Reply Last reply
      0
      • J
        J
        jimmydotnet
        wrote on last edited by
        #3

        thanks for reply,
        Im using bare back asterisk 1.6 installation and asterisk GUI 2.0.
        Ive done adding the 'all' permission but the problem still the same...still it dialling itself

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

          Ok, I understand now.

          When you originate a call, your phone will ring first, once you pickup, it will ring the other leg. That is normal and expected behavior.

          If you pickup your phone and nothing happens, it is because the destination button has an incorrect or incomplete extension and context setting. Be sure buttons have the proper extension=xxx and context=yyy, you should be able to ring that extension by matching that xxx extension in the asterisk dialplan yyy context, if not, the call or transfer will fail.

          1 Reply Last reply
          0
          • J
            J
            jimmydotnet
            wrote on last edited by
            #5

            so u mean in buttons.cfg :
            i need to configure extension=xxx and context=yyy

            while in extension.conf :
            i need to configure my dialplan to match extension=xxx and context=yyy
            but which one should i configure ?

            one more thing im not sure how to write the yyy

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

              I do not know your dialplan, so I cannot tell you what to write. In the asterisk dialplan you have a context where you can reach your extensions via their extension numbers. In FreePBX you can reach them from the context "from-internal". In a vanilla asterisk install is up to you, I cannot tell you what your contexts are, suppose you have in extensions.conf something like

              [default]
              exten => 100,1,Dial(SIP/100)
              exten => 100,n,Hangup
              
              exten => 101,1,Dial(SIP/101)
              exten => 101,n,Hangup
              

              So you can reach extensions 100 and 101 from context "default". In that case, in your buttons.cfg file for fop2 you must use:

              [SIP/100]
              type=extension
              label=John
              extension=100
              context=default
              
              [SIP/101]
              type=extension
              label=Mary
              extension=101
              context=default
              
              

              If you omit or put an invalid extension@context for your buttons, you won't be able to transfer or originate calls...

              1 Reply Last reply
              0
              • J
                J
                jimmydotnet
                wrote on last edited by
                #7

                how would i configure a simple SIP extension in a dialplan so that i can test it using soft phone and also fop2 ?

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

                  Hi Jimmy,

                  I posted a fully working sample before, both extensions.conf for your simple dialplan in asterisk, and the buttons.cfg for fop2 that matches 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