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. Can I add additional 'call' action to an extension?

Can I add additional 'call' action to an extension?

Scheduled Pinned Locked Moved Support
4 Posts 2 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.
  • D
    D
    DLNoah
    wrote on last edited by
    #1

    We're running Asterisk Open Source 11 + FOP2, with an extension pattern of XXX. We have several extensions that have a "special" extension (1XXX) that will call the user's cell phone instead of the office phone. Information about the extension (including the cell phone number that gets dialed when a user dials 1XXX) is stored in a database, and FOP2's buttons.cfg is being dynamically generated via bash script using that database.

    I see there currently exists a "call" button that will call a given extension when selected. Is there a relatively simple way I can add "call cell phone", either as an action button on top or as a "context menu" item within the menu that pops up when you click on a button's status indicator?

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

      You can add the "external" setting in the button configuration. That will enable the transfer to mobile button (Available in fop2 since version 2.24 or so).

      [SIP/100]
      type=extension
      extension=100
      label=John
      **external=1XXX@from-internal
      **
      where from-internal is the context where 1xxx is located in your dialplan. There is no need to put the actual mobile phone number, you can very well use your current dialplan for it.

      1 Reply Last reply
      0
      • D
        D
        DLNoah
        wrote on last edited by
        #3

        Thanks, don't know why I didn't catch that from the documentation.

        The one thing that I'm running into at the moment is, I can get a "transfer to mobile" button, but there doesn't seem to be a "dial mobile" option? I tried adding dialexternal permissions for my users, but no "dial mobile" button is available. Similarly, I don't see a "dial mobile" when using a user with "all" permissions. Is there some other way to originate a new call to the user's mobile number that I'm not seeing?

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

          There is no dial to mobile button, only the transfer one. It would be possible to create a custom action button with that option, but it requires some programming. Here is an article describing on how to add a custom action button:

          http://www.fop2.com/blog/creating-a-cus ... ion-button

          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