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. Is FOP2 Compatible with VoipNow ?

Is FOP2 Compatible with VoipNow ?

Scheduled Pinned Locked Moved Support
22 Posts 3 Posters 140 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.
  • N
    N
    nicolas
    wrote on last edited by
    #2

    Hello,

    FOP2 is not fully compatible with Asterisk 1.2. It works, but not fully (for example, queue buttons do not work well). Anyways, it does show status, etc. You will have to do the manual install as you did and it should work. I remember the * for the device name when dealing with FOP1 development. I believe (but I did not test it) that FOP2 will work ok with those channel names.

    What was the problem after you copied the html directory? Were you presented with the login box? Were you able to login? Did you see the buttons as configured in the buttonfile ?

    Anyways, my advice would be to upgrade to Asterisk 1.4 as I will not support 1.2. I rather devote time to make features works on asterisk 1.6 and not in 1.2... The manager protocol in 1.2 required a lot of fake events and tweaks.

    Best regards,

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

      Sorry VoipNow 2.0 is running asterisk 1.6

      sorry all I get is when I go to the website name/fop2

      Forbidden

      You don't have permission to access /fop2/ on this server.

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

        Hi,

        That error is from apache. I cannot tell you exactly how to fix it... verify your apache access and error log files. Maybe you are specifying an incorrect path, or there is some directive restricting access to that directory. Maybe you do not have a proper index file (as configured in apache)... if the later, you can try to browse: http://your.url/fop2/index.html and see if that works.

        Best regards,

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

          Nice !!! I was missing index.html

          I got it to work but noticed that if I use an extension like 0003*122 to login then I loose all of the menu options even if I have the extension login set to all. But when I use just 122 it works fine. This is not good because I will not be able to use this in multi tenant environment. Since the same extension number could be on multiple accounts.

          We are making great progress let me know what you think. I also noticed that your client does not work in IE8 I had to use Firefox to make it work in EI8 it sits on connecting to server attempt: 1 and never does anything.

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

            For multi tennat setup you have to use panel contexts and login with the extension number only.

            http://www.fop2.com/documentation-confi ... OP2Context

            And the client DOES work with IE8. Not sure why you are having troubles...

            Best regards,

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

              I am running in multi tennant mode. You did not answer the question. Why are all the action buttons not showing up on the top.

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

                Yes I answered the question, but maybe I was not clear.

                You have to use multi tenant setup on FOP2 as described in the documentation I pointed. In fop2.cfg something like:

                [0003]
                user=600:1111:all
                buttonfile=tenant-0003.cfg
                
                [0004]
                user=600:2222:all
                buttonfile=tenant-0004.cfg
                

                And then the button file tenant-0003.cfg

                [SIP/0003*600]
                type=extension
                extension=600
                context=CHANGE_TO_APPROPIATE_CONTEXT
                label=M. Test name
                mailbox=0003*600default
                extenvoicemail=*0003*600@from-internal
                

                And the button file tenant-0004.cfg

                [SIP/0004*600]
                type=extension
                extension=600
                context=CHANGE_TO_APPROPIATE_CONTEXT
                label=John Doe
                mailbox=0004*600default
                extenvoicemail=*0004*600@from-internal
                

                Finally, you load the fop2 page specifying the context/tenant you want to see:

                http://your.url/fop2?context=0003

                When you do that, you will login with the extension number for your tenant, for example 600, and the password for the 600 user in that particular context (1111). If you set in the url context=0004 then the password for user 600 will be 2222.

                That is the correct way. As 003600 is not an extension but part of a device name. You are not dialing 003600 from your phone right?

                You have to configure buttons with extensions numbers that can be dialed, and their proper context for your tenant. (PLEASE CHECK THAT in your asterisk dialplan as you copied a config with "from-internal" context, but I do not think that you will use that same context for different tenants). The device name for the button seems correct. (Again, you must probably use a distinct context per tenant)

                If you are not logging in with an extension number that has also a button defined with that same extension number, then you are not going to see the action buttons, because YOU WONT BE ABLE to perform actions at all as there won't be a known originating device for the actions to be performed.

                The extension you use to login is matched with an extension on the button list, and from there it takes the device to use... so if you originate a call, fop2 know WHAT device to use to originate that call.

                Best regards,

                1 Reply Last reply
                0
                • J
                  J
                  jrecho
                  wrote on last edited by
                  #9

                  Nicolás

                  I installed it on the newest VoipNow 2.0.3 running asterisk 1.6.1.4
                  And it comes up but I am having the following problems
                  I can not dial,listen,whisper, transfer the only button that works is record everything elst deos nothing when I click on it.
                  I am also not able to get the trunks to show up.

                  I am using Linksys SPA962 phones to originate the calls on trixbox they work fine and I have all of your features but on this asterisk no luck 😢

                  Can you help ?

                  Thanks

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

                    Hi,

                    In asterisk 1.6 you have to grant the "originate" permission to the asterisk manager user.

                    1 Reply Last reply
                    0
                    • J
                      J
                      jrecho
                      wrote on last edited by
                      #11

                      Can you please tell me how to do that. I am not that good with Linux

                      1 Reply Last reply
                      0
                      • J
                        J
                        jrecho
                        wrote on last edited by
                        #12

                        Hi Nicolas first thank you for all your help Ias I told you I opened a ticket with VoipNow and here it their response

                        Hello,

                        The peers are kept in the mysql database and are handled by kamailio not asterisk, so it will not work.

                        Best regards,
                        Razvan Lixandru – Unix/Linux Support Engineer
                        (IT/TS) Technical Support
                        Rack-Soft SRL

                        1 Reply Last reply
                        0
                        • E
                          E
                          ezytel
                          wrote on last edited by
                          #13

                          Hi guys,

                          I'm running VoipNow in an HA array and already have FOP2 working on the system, except for the MySQL requirements like the dialpad etc.

                          In order to activate these features, I contacted 4PSA, and their response floored me! They said ...

                          "If you perform any of these changes to the VoipNow server, we will no longer be able to support it, sorry."

                          What an arrogant and astonishing response! These are MY servers, and I've paid them nearly $2000USD in recent months to buy unlimited licenses etc, and to then be told that installing FOP2 would see them refuse me support in future is outrageous.

                          So, the point of all this is to ask if it's possible to install FOP2 on a cPanel server running CentOS 5, and have it monitor my VoipNow servers as extra servers?

                          Here's hoping this is possible.

                          Kerry

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

                            I do not know if every voipnow version uses kamailio or not. But to make things clear, currently FOP2 works with Asterisk via the AMI. It does not interact with kamailio or any other proxy or voip software than Asterisk itself.

                            With jrecho we were able to monitor activity, but he was not able to perform actions. And there is no solution to that as in that voipnow setup Asterisk does not know about the devices.. FOP2 says: originate a call from SIP/XXXX*YYYY (that is listed in the asterisk's sip peers list), but Asterisk responds that there is no such peer/device.

                            I will NOT add kamailio or specific product support like the one required by voipnow. If you are happy with monitoring, then it might work well, but do not expect actions to work at all. FOP2 can be run on a separate server running cpanel or whatever, and monitor external asterisk boxes. But you will have to configure the buttons manually.

                            If voipnow provides a way to originate calls using the Asterisk Manager, and they document exactly how to do that, then I might consider adding support for it, or maybe I do not have to touch anything but just configure the buttons correctly.

                            I am sorry, but FOP2 is a $40 product advertised to work with Asterisk. It is not a $999 product advertised to work with Kamailio.

                            On the bright side, I wrote automatic configuration scripts for freepbx, thirdlane, and some others Asterisk GUI's that I do not remember their names. And I will be writing a FreePBX module to configure users and permissions for FOP2. And I am updating FOP2 so it can be integrated and used as an Agent console for Asternic Call Center Stats or any other Asterisk software. It is an experimental API but it works, so developers will be able to integrate it with their products.

                            Best regards,

                            1 Reply Last reply
                            0
                            • J
                              J
                              jrecho
                              wrote on last edited by
                              #15

                              Thanks or the answer but I am sorry I am more confused. We got it installed and I can see what each extension is doing but Nicolas and I could not get any action to work.

                              We have plenty of servers available can you please tell me hoe you got actions to work ???.

                              Thanks again

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

                                I am sorry, I cannot tell you how to make actions work with that. 4psa might be able to tell you, not me.

                                As per your post, they say is that it is NOT possible. They said that, not me. It is not that voipnow is broken, but that they are not using plain Asterisk but a hybrid Kamailio and Asterisk config.

                                If voipnow tells you how to originate a call or redirect a call using AMI, then copy that reply/documentation here in the forums and I will see how to configure fop2 buttons to work. If they say that it is impossible to do that using AMI, then fop2 will never work for performing actions on that setup. It is not a question on device names, it is a question on what software is driving/controlling the calls. In your setup is kamailio, not Asterisk. As to why Asterisk lists peers globally, display AMI events but cannot originate a call or list individual peers, it is again a matter of 4psa/voipnow and not fop2.

                                AMI = Asterisk Manager Interface

                                Best regards,

                                1 Reply Last reply
                                0
                                • E
                                  E
                                  ezytel
                                  wrote on last edited by
                                  #17

                                  Hi Nicolás,

                                  I'll take the time to ask the guys at 4PSA about the Asterisk/AMI issue, and will post their response. It would certainly be good if we could get this happening. And your willingness to consider acommodating us is greatly appreciated.

                                  And you're right about the make-up of VoipNow. It is indeed a hybrid of Kamailio and Asterisk, and somehow, the guys at 4PSA have a very powerful system that works very, very well. But for all its power, it has some serious restrictions, and sadly, this is one of them.

                                  Oh well, swings and roundabouts, as they say ...

                                  Kerry

                                  1 Reply Last reply
                                  0
                                  • J
                                    J
                                    jrecho
                                    wrote on last edited by
                                    #18

                                    I got the answer now all we need is for Nicolas to tell us how to make this work

                                    The AMI requests to VoipNow have to be done trough voipnowcallapid on port 1234, not directly to asterisk.

                                    An originate action should look like this for a local call:

                                    Channel: SIP/0003002
                                    Context: from-internal
                                    Exten: 0024
                                    001
                                    Priority: 1
                                    Callerid: whetever<1234567>
                                    Timeout: 25000
                                    Async: 1
                                    ActionID: 8d40accfbdc287025398

                                    The caller is 0003002 and the callee is 0024001.

                                    For an external call it should look like this:

                                    Channel: SIP/0003*002
                                    Context: from-internal
                                    Exten: 08040
                                    Priority: 1
                                    Callerid: whetever<1234567>
                                    Timeout: 25000
                                    Async: 1
                                    ActionID: 8d40accfbdc287025398

                                    1 Reply Last reply
                                    0
                                    • J
                                      J
                                      jrecho
                                      wrote on last edited by
                                      #19

                                      I did do what they said
                                      The user name is admin and the password is whatever you set the admin password to in it is setup in the interface in Unified Communications -> System Preferences -> CallAPI.

                                      [root@as3 fop2]# /usr/local/fop2/fop2_server --test
                                      Flash Operator Panel 2 - No valid license found. Demo Mode
                                      Connection to manager OK!

                                      but now I see nothing no events to actions

                                      1 Reply Last reply
                                      0
                                      • J
                                        J
                                        jrecho
                                        wrote on last edited by
                                        #20

                                        Actions only works once and after they are ignored until I restart the service fop2. Can you please help.

                                        Thank you for everything. And congrats on the Award you deserve it.

                                        1 Reply Last reply
                                        0
                                        • J
                                          J
                                          jrecho
                                          wrote on last edited by
                                          #21

                                          Did anyone figure how to make it work ??

                                          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