ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Storing Elastix 2 Call Recordings on NFS NAS Share

    IT Discussion
    elastix elastix 2 elastix 2.4 voip pbx nas nfs linux
    3
    32
    11.9k
    Loading More Posts
    • 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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Easiest thing to do is to become the asterisk user and just make a file there. So try this...

      su - asterisk
      touch /var/spool/asterisk/monitor/mytestfile
      

      Then you can see if it is there...

      cd /var/spool/asterisk/monitor
      ls
      
      poorizadP 1 Reply Last reply Reply Quote 0
      • poorizadP
        poorizad @scottalanmiller
        last edited by

        @scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:

        cd /var/spool/asterisk/monitor

        yes its ok .
        how can i copy monitor_old to monitor now ?

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @poorizad
          last edited by

          @poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:

          @scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:

          cd /var/spool/asterisk/monitor

          yes its ok .
          how can i copy monitor_old to monitor now ?

          Okay, once all good you can just do this...

          cp -rp /var/spool/asterisk/monitor_old/* /var/spool/asterisk/monitor/
          
          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Depending on the size of the file and the speed of the network and the NAS, this might take a few seconds or a bit of time. This is a full copy of the data over the network.

            poorizadP 1 Reply Last reply Reply Quote 0
            • poorizadP
              poorizad @scottalanmiller
              last edited by

              @scottalanmiller thankyou scott. All good now. very happy 🙂
              you r awesome.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @poorizad
                last edited by

                @poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:

                @scottalanmiller thankyou scott. All good now. very happy 🙂
                you r awesome.

                Glad that it worked out and that we were able to help 🙂

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  And we got a new "how to" out of it! Hopefully more people find the instructions here to be useful in the future.

                  poorizadP 1 Reply Last reply Reply Quote 0
                  • poorizadP
                    poorizad @scottalanmiller
                    last edited by

                    @scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @poorizad
                      last edited by

                      @poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:

                      @scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.

                      Probably not the first, but hopefully Google picks it up and it is easy to find in the future. Although, I didn't find any when searching either.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @scottalanmiller
                        last edited by

                        @scottalanmiller said in Storing Elastix 2 Call Recordings on NFS NAS Share:

                        @poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:

                        @scottalanmiller yes...because i cant find any how to in search. i guess yours is first one.

                        Probably not the first, but hopefully Google picks it up and it is easy to find in the future. Although, I didn't find any when searching either.

                        Just searched on Google and we already the fourth hit for the topic!

                        poorizadP 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          I found a similar topic, but one that doesn't cover what is needed here, on another site and it was me providing the answers there, too 🙂

                          1 Reply Last reply Reply Quote 0
                          • poorizadP
                            poorizad @scottalanmiller
                            last edited by

                            @scottalanmiller thats it ! :first_place:

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Well thanks for providing us with an awesome new topic 🙂

                              poorizadP 1 Reply Last reply Reply Quote 0
                              • AlyRagabA
                                AlyRagab
                                last edited by

                                Thanks Scott for this article 🙂

                                1 Reply Last reply Reply Quote 1
                                • poorizadP
                                  poorizad @scottalanmiller
                                  last edited by

                                  @scottalanmiller hi again....i guess the nfs drive is unmount from the server, because no file record on Nas after the 2016/07/28.....nothing changed on settings.....but a few server shutdown for hardware maintenance.....how can i fix it again ?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @poorizad
                                    last edited by

                                    @poorizad said in Storing Elastix 2 Call Recordings on NFS NAS Share:

                                    @scottalanmiller hi again....i guess the nfs drive is unmount from the server, because no file record on Nas after the 2016/07/28.....nothing changed on settings.....but a few server shutdown for hardware maintenance.....how can i fix it again ?

                                    Try the mount command again. It might mount right up. If the NFS server has restarted, it would disconnect.

                                    1 Reply Last reply Reply Quote 1
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • First post
                                      Last post