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

    VOIP Vs VPN

    IT Discussion
    voip pbx telephony vpn security
    5
    45
    9.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.
    • IT-ADMINI
      IT-ADMIN
      last edited by

      No Mr Scott
      unfortunately if 192.168.2.x want to talk to 192.168.1.x the following will happen : 192.168.2.x hit pfsense then pfsense route into 10.10.10.x then 10.10.10.x hit 10.10.10.1 (gateway of the branch pfsense) then 10.10.10.1 forward the packet internally into 192.168.1.x
      soooooorry if i was not clear

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

        @IT-ADMIN said:

        No Mr Scott
        unfortunately if 192.168.2.x want to talk to 192.168.1.x the following will happen : 192.168.2.x hit pfsense then pfsense route into 10.10.10.x then 10.10.10.x hit 10.10.10.1 (gateway of the branch pfsense) then 10.10.10.1 forward the packet internally into 192.168.1.x
        soooooorry if i was not clear

        That's your issue. There is no connection for the voice traffic. There is no means for the SIP connections to set up your RTP connections. SIP does not carry any traffic itself, it just handles setting up the calls - which can cause a handset to ring. But once you pick up the call SIP hands the call over to RTP. But since you don't have a connection between the two sites to talk to each other, SIP has no way to tell RTP where to send the voice traffic.

        You need a VPN tunnel from one site to the other. What you have is a VPN that is firewalled in the middle. VoIP isn't going to play nicely with that, there is no means of establishing the connection.

        1 Reply Last reply Reply Quote 0
        • IT-ADMINI
          IT-ADMIN
          last edited by

          so what i understand is: i should configure pfs to forward VOIP traffic to it destination without any NATing,

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

            @IT-ADMIN said:

            so what i understand is: i should configure pfs to forward VOIP traffic to it destination without any NATing,

            That doesn't work easily. VoIP is not a "forwarding" thing because you can't easily define the ports or the end points. Have you no means of creating a direct tunnel opening the two networks? That will make things a LOT easier. Plus faster.

            If you HAVE to, yes, you can forward SIP and UDP 10,000 - 20,000 ports to your PBX and often this will work. But double NATing inside of your own network is going to be a continuous issue.

            1 Reply Last reply Reply Quote 0
            • IT-ADMINI
              IT-ADMIN
              last edited by

              i'm very appreciated really
              thanks alot for your time
              i will try my best to get that done

              see you again soon

              best regard

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

                Good luck 🙂

                By far the easiest option will be to create a direct tunnel.

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

                  @scottalanmiller said:

                  Good luck 🙂

                  By far the easiest option will be to create a direct tunnel.

                  This is the way to go for sure. I can tell you I am running 4 sites (soon to be 5) from a single PBX at my main site, so if you're able to follow Scott's advice above, it can work very, very well for you. All of my sites are in the same metro area, and each remote site is connected via site-to-site vpn back to the main site. We have QoS configured at every firewall. And we do not filter / inspect SIP traffic as that can cause you a world of hurt.

                  Lost_Signal773L 1 Reply Last reply Reply Quote 0
                  • Lost_Signal773L
                    Lost_Signal773 @NetworkNerd
                    last edited by

                    @NetworkNerd I'd like to point a few things. 1

                    1. QoS over the internet means nothing. Your carrier is not going to respect your tags unless its on a P2P or MPLS circuit.
                    2. Your carrier can't read tags on traffic if you encrypt it all together.
                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • Lost_Signal773L
                      Lost_Signal773
                      last edited by

                      Wrapping real time UDP based protocals with TCP is in general a waste of bandwidth (your going to retransmit data that will actually make the quality worse if it is processed out of order).

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

                        @Lost_Signal773 said:

                        Wrapping real time UDP based protocals with TCP is in general a waste of bandwidth (your going to retransmit data that will actually make the quality worse if it is processed out of order).

                        Yeah, not a good idea.

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

                          @Lost_Signal773 said:

                          @NetworkNerd I'd like to point a few things. 1

                          1. QoS over the internet means nothing. Your carrier is not going to respect your tags unless its on a P2P or MPLS circuit.

                          No, but QoS before it hits the Internet does the majority of what most people need. It is normally your own WAN link that is the choke point, not the open Internet. If it was, nothing we expect to work would work.

                          NetworkNerdN 1 Reply Last reply Reply Quote 1
                          • NetworkNerdN
                            NetworkNerd @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @Lost_Signal773 said:

                            @NetworkNerd I'd like to point a few things. 1

                            1. QoS over the internet means nothing. Your carrier is not going to respect your tags unless its on a P2P or MPLS circuit.

                            No, but QoS before it hits the Internet does the majority of what most people need. It is normally your own WAN link that is the choke point, not the open Internet. If it was, nothing we expect to work would work.

                            Yep - that is how I should have worded it. Sorry if that was not clear from my post.

                            1 Reply Last reply Reply Quote 0
                            • IT-ADMINI
                              IT-ADMIN
                              last edited by

                              Hi guys

                              i was unclear in my previous posts, what i have to say is :
                              when a sip client 192.168.1.10 want to talk with sip client 10.10.10.6 the following happen :
                              since we are connected via openvpn tunnel no NAT happen actually, because i run wireshark in both machine (remote vpnclient and IP PBX) and i saw that the packets carry the real IP of the sip phone not the public ip (source ip : 10.10.10.6 --- destination ip : 192.168.1.10)
                              what happened actually is routing not Nating, because there is a virtual tunnel between vpn client and vpn server and the vpn server route the packets to it destination (in this case 192.168.1.10 )
                              so the RTP traffic should be established without any issue since there is not NAT in the tunnel

                              i find the solution and now i have 2 site connected via openvpn and both location can call each other, the problem occur because i had wrong setting (in Ozeki server), before i set Discover public IP address using STUN server: stun.ekiga.net, this what created problem for me, i change it to my local IP PBX (Ozeki server) then everything work fine except sound quality, both side can hear each other but the sound was not totally clear (mixed with some noise),

                              any suggestion to improve sound quality knowing that in the main office the download speed is 4 mbs and upload speed is 0.5 mbs , and in the branch office we have download speed is 10 mbs and upload speed is 2 mbs ,
                              i think that my connection speed which decrease sound quality ????? or maybe something else ??? any suggestion ??

                              thank you all for you answers

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

                                That is a very tiny network connection. With only .5MB you will almost certainly have issues.

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

                                  What codec are you using!

                                  1 Reply Last reply Reply Quote 0
                                  • IT-ADMINI
                                    IT-ADMIN
                                    last edited by

                                    hiiiiiiiiiiiiiiiii Mr Scott, how are you doing

                                    first of all, the available audio codec that i have in my PBX system is:
                                    PCMA (8)
                                    PCMU (0)
                                    telephone-event (101)
                                    iLBC (98)
                                    G722 (9)
                                    GSM (3)
                                    SPEEX (97)
                                    SPEEX (100)
                                    SPEEX (108)
                                    L16 (103)
                                    L16 (11)
                                    L16 (10)
                                    G728 (15)
                                    G723 (4)
                                    G726-16 (104)
                                    G726-24 (105)
                                    G726-32 (106)
                                    G726-40 (107)

                                    i select only 3 : PCMA (8) + PCMU (0) + GSM(3)

                                    best regard

                                    1 Reply Last reply Reply Quote 0
                                    • IT-ADMINI
                                      IT-ADMIN
                                      last edited by

                                      i tried to select only GSM(3) since it is compatible with low bandwith but the call cannot be established, so i selected the additional 2 codec

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

                                        Try g.723 and make it preferred so that that is tried first.

                                        1 Reply Last reply Reply Quote 0
                                        • IT-ADMINI
                                          IT-ADMIN
                                          last edited by

                                          unfortunatlly i don't have this option of preference,
                                          which are the other codec that i have to select with this codec, can i select it only or other additional codec has to be selected alongside ???

                                          thanks

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

                                            You can enforce a codec by removing all others.

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