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. Conference button

Conference button

Scheduled Pinned Locked Moved Feedback
7 Posts 2 Posters 317 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.
  • R
    R
    RekGRpth
    wrote on last edited by
    #1

    I click on extension button with active call, then I click on "Listen and Whisper" button, and FOP2 sends to asterisk:

    Action: Originate
    Channel: $my_channel
    Application: ChanSpy
    Data: $selected_extension_channel,w
    

    where, for example

    $my_channel=DAHDI/i9/55
    $selected_extension_channel=DAHDI/i9/29
    

    To organize conference by connecting user to existing call, I need follow feature in FOP2:
    If my extension button with active call, then I type number in "Dial" input, then I click on new "Conference" button, and FOP2 should send to asterisk:

    Action: Originate
    Channel: Local/$dial_number@from-internal
    Application: ChanSpy
    Data: $my_channel,B
    

    where, for example

    $my_channel=DAHDI/i9/55
    $dial_number=591600
    
    1 Reply Last reply
    0
    • R
      R
      RekGRpth
      wrote on last edited by
      #2

      hm... I have done this by proxy again 😉

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

        You are a proxy wizard 🙂

        Anyways, if you have an active call and click on the conference button and then transfer, you will be transferring the other party directly to the conference.. not sure why you are using chanspy there. (most probably I did not understand your actual requirement).

        1 Reply Last reply
        0
        • R
          R
          RekGRpth
          wrote on last edited by
          #4

          I need don't interrupt active call and join new user to active call.

          1 Reply Last reply
          0
          • R
            R
            RekGRpth
            wrote on last edited by
            #5

            Still, I need new "Conference" button, because of via proxy I change Redirect and then simple redirection doesn't work.

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

              Ah! Ok, so you are not talking about asterisk conferences (meetme,confbridge), but you want to create an "incall conference" so to speak, like the conference button on a phone, right?

              I have not tested it, and it will certainly take quite some time to create, but fop2 includes both javascript and perl hooks that you can use, including custom action buttons. I have never implemented anything with those actually, but you could create an extra command button that when clicked executes a javascript function of your own writing, probably sending a custom command to fop2_server, where you can intercept in the FOP2Callbacks.pm an create your own manager commands based on that.

              I really do not have much time lately for playing, but if I find the time, I might dedicate a little to see if something like this can be done using the hooks I mention.

              Best regards,

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

                I have created an article for implementing this custom action button you need:

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

                There are a couple of fixes that I have to make in the fop2.js file to avoid duplicate commands upon a server reload, that will be incorporated on FOP 2.25. Anyways, this will work on fop 2.24 too. I will release 2.25 in a few days.

                Best regards,

                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