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. FOP2 Recording Issues in Elastix 2.2

FOP2 Recording Issues in Elastix 2.2

Scheduled Pinned Locked Moved Support
31 Posts 9 Posters 304 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
    #14

    I am reviewing events and code, and I think the problem might be the channel you are monitoring. If you start recording on the channel that receives the call (leg B), the filename will have the uniqueid of that channel, but the cdr is saved with the uniqueid of the originating channel (leg A).

    Try starting a recording for an extension that is doing an outgoind call and check uniqueids, then do it when you receive a call. Do you see the difference in the later case?

    1 Reply Last reply
    0
    • L
      L
      LurkerBin
      wrote on last edited by
      #15

      You are right. The recording leg is what is causing the uniqueid to be different. The destination is clicked and recorded it no longer matches the one on cdr because what is recorded is the source uniqueid. Is there any work around on this because when you use fop2 for recording the calls, there are cases wherein you don't know who originated the call. So i might be clicking on the destination and when i click on record, it will not process the recording.

      Also, is that right about what i commented that the monitor_mix should be set to false for this script to run successfully?

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

        I am working on a fix, so fop2 sends the other leg uniqueid as a parameter to the post recording script. On my initial tests it seems to work, you should see it working on the next release. If you want to test it before release, catch me on the live help and I will provide a link to download a test version.

        Regarding monitor_mix, it does not affect the script. If you set monitor_exec asterisk IGNORES the mix option, and records unmixed and passes 3 parameters to the script.

        Best regards,

        1 Reply Last reply
        0
        • G
          G
          gavinlew
          wrote on last edited by
          #17

          Hi,

          I am also experiencing this issue, where the calls are being recorded and mixed together then not appearing in the Monitoring tab.

          -rw-r--r-- 1 asterisk asterisk 289964 Oct 9 13:47 7026_7030_134235_1349786396.140275.wav

          Im using Elastix 2.3.0 Revision 8 (according to the web interface).

          Nicholas - Did you resolve the issue you were looking into ?

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

            Yes, the issue is fixed on what it would be the next release. Just to be sure we are talking about this, I will describe the issue : using elastix and the update script provided for monitor_exec is that the recording appears depending on the call leg you start the recording in fop2. Suppose you have extension 100 talking to extension 200, and you start recording , it works when you record 100, but it does not work when you record 200. (actually , the recordings are made, but the uniqueid of the call does not match the cdr entry, and so the link is lost)

            1 Reply Last reply
            0
            • G
              G
              gavinlew
              wrote on last edited by
              #19

              Hi Nicholas,

              Yes this is correct, the issue I am experiencing.

              Am I able to obtain a copy of the next release for testing as this feature is mostly being requested in house?

              Many Thanks,

              Gavin

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

                wait. wait. I smell a "I too have this problem" when you are actually not having the same problem.

                One thing is not having the recordings populated in the recordings interface because you did not configure them, and a totally different thing is that you have SOME recordings on the Elastix recording interface (not fop2 interface) showing up when using the special purpose recordings_elastix.pl script supplied with the latest fop2 version.

                If you do not see anything in the fop2 recordings interfaces then it is not the same problem, the most probable cause is what I said above, you did not configure the monitor_exec option in fop2.cfg.

                Recordings, by default, are not enabled because they will most probably require some intervention from your part.

                Look for this line in fop2.cfg,

                ; monitor_exec=/usr/local/fop2/recording_fop2.pl
                

                remove the semicolon so it becomes active:

                monitor_exec=/usr/local/fop2/recording_fop2.pl
                

                Then restart fop2:

                service fop2 restart
                

                After that, you might start seeing recordings that you initiate via fop2 in the recordings tab. If you have "all" permissions you will see all recordings, if not you will see only your own.

                Best regards,

                1 Reply Last reply
                0
                • G
                  G
                  gavinlew
                  wrote on last edited by
                  #21

                  Hi Nicolas,

                  Thank you very much for your reply.

                  To confirm.

                  I am extension 7026 , my colleague is extension 7027

                  If I make a call from 7026 and record it - this call is shown in the Monitoring tab in Elastix.

                  If my colleague makes a call (7027) and I record it with my user 7026 (I have all permissions), then the recording is visible on the disc and the channels gets mixed together but is NOT visible under the Monitoring tab when i log in as user 7026.

                  So I believe the monitor_exec scripts are being called correctly. I am calling ;

                  monitor_exec=/usr/local/fop2/recording_elastix.pl

                  Here is my call recorded as user 7026 for user 7027 ;

                  /var/spool/asterisk/monitor
                  -rw-r--r-- 1 asterisk asterisk 844204 Oct 9 14:19 7026_7027_140622_1349787888.140752.wav

                  This call isnt displayed under the Monitoring tab.

                  --
                  Gavin

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

                    Hi Gavin,

                    This issue is the one fixed on what will be the next release. Contact me in the live help tomorrow if you want to try out the patched version, as there is no official update yet.

                    1 Reply Last reply
                    0
                    • G
                      G
                      gavinlew
                      wrote on last edited by
                      #23

                      Hi Nicolas,

                      That would be great if I could try the patched copy out - I also have you on googletalk as well , what time is good for you (I am in the UK).

                      Gavin

                      1 Reply Last reply
                      0
                      • H
                        H
                        hidalgo
                        wrote on last edited by
                        #24

                        Similar issue here (with Elastix 2.3). I can grab incoming and outgoing calls permanently within the extension -> shows up in [ Monitoring ]
                        I can grab calls within FOP2 -> doesnโ€™t show up in [ Monitoring ]
                        In both cases the *.wav files are in /var/spool/asterisk/monitor/
                        I tried with the rpm within Elastix and the manual installed version 2.26.
                        I tried all the hints here but no success.
                        Any advice?

                        Thanks

                        1 Reply Last reply
                        0
                        • M
                          M
                          mdkberry
                          wrote on last edited by
                          #25

                          I can grab calls within FOP2

                          I am on Elastix 2.3 also and cannot see how to pickup the recorded calls from within FOP2 , where is this option?

                          also I have this same problem with FOP2 and no calls showing up in Monitoring on Elastix despite changing settings, I just found this post but posted a similar request yesterday to this site.

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

                            http://download.fop2.com/recordings_elastix.pl.txt

                            That is the last incarnation of the monitor_exec script to use for elastix. Elastix rpm will use just a named file the way old ARI used (with file inspection on the hard disk). Elastix 2.3 uses now a field on the cdr table to link recordings (much more proper), so you need to use this script to set the field when the recording is done.

                            However, it works depending on the call leg you start the recording, not sure what direction, because the uniqueid stored on the cdr does not match the uniqueid of that leg. FOP 2.27 fixes that problem, but it is still in beta.

                            Best regards,

                            1 Reply Last reply
                            0
                            • G
                              G
                              gavinlew
                              wrote on last edited by
                              #27

                              Hi Nicolas,

                              Do you advise using this version? I get a 404 error if I try to download it.

                              Gavin

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

                                Hi,

                                download 2.27 beta that includes the fix and the modified script:

                                http://download.fop2.com/fop2-2.27-centos-i386.tgz
                                http://download.fop2.com/fop2-2.27-centos-x86_64.tgz

                                1 Reply Last reply
                                0
                                • G
                                  G
                                  gavinlew
                                  wrote on last edited by
                                  #29

                                  Hi Nicolas,

                                  I have updated my server to this new version, and renewed my license ๐Ÿ™‚

                                  However, the fop2 service starts but the client is unable to connect, Connecting to server, attempt .... upto 10 then errors.

                                  ./fop2_server --test

                                  Flash Operator Panel 2 - Valid License (1)

                                  Connection to manager OK!

                                  netstat -lnp | grep 4445

                                  tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 7030/fop2_server

                                  From the outside world telnet connections are possible to port 4445 on the server IP.

                                  Any ideas?

                                  Gavin

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

                                    Do you use http or https? What browser?

                                    One important change that might be an issue is that the new fop2 version will use secure web sockets instead of standard web sockets when you access it via https. You have to set the ssl certificate files in fop2.cfg, uncomment and set the appropiate certs, the same ones you use for your https web server:

                                    ; If you access fop2 via https, browsers will try to use wss (Secure 
                                    ; web sockets) and for that it requires a certificate file and key file,
                                    ; the same ones you have in your web server configuration:
                                    ;
                                    ;ssl_certificate_file=/etc/pki/tls/certs/localhost.crt
                                    ;ssl_certificate_key_file=/etc/pki/tls/private/localhost.key
                                    

                                    Now, the problem lies in that some browsers require you to accept the certificate as you have to do when you browse an https site with self signed certificates, but the wss connection does not ask for it. I think firefox needs to be pointed to https://your.server:4445 or perhaps wss://your.server:4445 in the address bar so it ask for confirmation on the certificate. I did not have to do it with chrome. Another option if this is the case is to disable websockets in /var/www/html/fop2/js/presence.js

                                    1 Reply Last reply
                                    0
                                    • G
                                      G
                                      gavinlew
                                      wrote on last edited by
                                      #31

                                      Hi Nicolas,

                                      Many thanks for the quick reply - I have disabled websockets in presence.js and FOP2 is working correctly again.

                                      Gavin

                                      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