Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Voip conecta mas não sai audio

    Scheduled Pinned Locked Moved Portuguese
    29 Posts 3 Posters 2.7k Views
    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.
    • M
      mcury Rebel Alliance @rafamello
      last edited by

      @rafamello Hey, check if this can help you:
      https://docs.netgate.com/pfsense/en/latest/nat/configuring-nat-for-voip-phones.html

      dead on arrival, nowhere to be found.

      1 Reply Last reply Reply Quote 0
      • DaddyGoD
        DaddyGo @rafamello
        last edited by

        @rafamello

        hi,

        Super ✋
        @rafamello "I can only call again after about 20 seconds"

        I say my past experience:

        This can happen with many cloud-based VOIP services
        Although 20 sec seems a bit much.
        This value is usually between 3 and 6s.

        What is the ping of the SIP server? (in ms)

        Netgate:
        A keep-alive or re-registration on the phone set for 20-30 seconds or so can also help, and is often a better solution.

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        1 Reply Last reply Reply Quote 0
        • R
          rafamello
          last edited by

          I've done everything, it works when the consultation, with every call that ends, I have to wait about 30 seconds for more.

          The link procedures have all been tested with various combinations.

          DaddyGoD 1 Reply Last reply Reply Quote 0
          • DaddyGoD
            DaddyGo @rafamello
            last edited by DaddyGo

            @rafamello

            what SIP error code does the device show if you make a call immediately?

            https://en.wikipedia.org/wiki/List_of_SIP_response_codes

            ++++edit:
            what you describe above may occur when the connection to the SIP provider remains active:

            -this can be a device setting
            -and a number of features can be configured, such as in the SIP provider's customer service management interface (web or other)

            Cats bury it so they can't see it!
            (You know what I mean if you have a cat)

            1 Reply Last reply Reply Quote 0
            • R
              rafamello
              last edited by

              Hello, follow or log a successful call and a negative one.

              Change the IPBX IP to 45.0.0.1 and my IP to 177.0.0.1

              15:40:53.436869 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 1075: (tos 0x0, ttl 127, id 27749, offset 0, flags [none], proto UDP (17), length 1061)
              177.0.0.1.19584 > 45.0.0.1.5060: [udp sum ok] SIP, length: 1033
              INVITE sip:99999999@45.0.0.1 SIP/2.0
              Via: SIP/2.0/UDP 177.0.0.1:19584;rport;branch=z9hG4bKPjed1eb068f5b24c64803e5ec59ca80037
              Max-Forwards: 70
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1
              Contact: sip:900@177.0.0.1:19584;ob
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17610 INVITE
              Route: sip:45.0.0.1;lr
              Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
              Supported: replaces, 100rel, timer, norefersub
              Session-Expires: 1800
              Min-SE: 90
              User-Agent: Ramal360/3.19.31
              Content-Type: application/sdp
              Content-Length: 373

              v=0
              o=- 3803298075 3803298075 IN IP4 177.0.0.1
              s=pjmedia
              b=AS:84
              t=0 0
              a=X-nat:0
              m=audio 16016 RTP/AVP 18 8 0 101
              c=IN IP4 177.0.0.1
              b=TIAS:64000
              a=rtcp:16017 IN IP4 177.0.0.1
              a=sendrecv
              a=rtpmap:18 G729/8000
              a=rtpmap:8 PCMA/8000
              a=rtpmap:0 PCMU/8000
              a=rtpmap:101 telephone-event/8000
              a=fmtp:101 0-16
              a=ssrc:744434968 cname:2975012e6cb414c1
              

              15:40:53.439313 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 618: (tos 0x0, ttl 61, id 43066, offset 0, flags [none], proto UDP (17), length 604)
              45.0.0.1.5060 > 177.0.0.1.19584: [udp sum ok] SIP, length: 576
              SIP/2.0 401 Unauthorized
              Via: SIP/2.0/UDP 177.0.0.1:19584;branch=z9hG4bKPjed1eb068f5b24c64803e5ec59ca80037;received=177.0.0.1;rport=19584
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1;tag=as607d465d
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17610 INVITE
              Server: FPBX-2.11.0(11.25.0)
              Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
              Supported: replaces, timer
              WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="535d06a3"
              Content-Length: 0

              15:40:53.440595 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 422: (tos 0x0, ttl 127, id 27750, offset 0, flags [none], proto UDP (17), length 408)
              177.0.0.1.19584 > 45.0.0.1.5060: [udp sum ok] SIP, length: 380
              ACK sip:99999999@45.0.0.1 SIP/2.0
              Via: SIP/2.0/UDP 177.0.0.1:19584;rport;branch=z9hG4bKPjed1eb068f5b24c64803e5ec59ca80037
              Max-Forwards: 70
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1;tag=as607d465d
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17610 ACK
              Route: sip:45.0.0.1;lr
              Content-Length: 0

              15:40:53.440601 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 1243: (tos 0x0, ttl 127, id 27751, offset 0, flags [none], proto UDP (17), length 1229)
              177.0.0.1.19584 > 45.0.0.1.5060: [udp sum ok] SIP, length: 1201
              INVITE sip:99999999@45.0.0.1 SIP/2.0
              Via: SIP/2.0/UDP 177.0.0.1:19584;rport;branch=z9hG4bKPj4ec3ce657d284d0ba880647ff8332577
              Max-Forwards: 70
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1
              Contact: sip:900@177.0.0.1:19584;ob
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17611 INVITE
              Route: sip:45.0.0.1;lr
              Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
              Supported: replaces, 100rel, timer, norefersub
              Session-Expires: 1800
              Min-SE: 90
              User-Agent: Ramal360/3.19.31
              Authorization: Digest username="900", realm="asterisk", nonce="535d06a3", uri="sip:99999999@45.0.0.1", response="7b8a9d21e01e020418a840341c50697e", algorithm=MD5
              Content-Type: application/sdp
              Content-Length: 373

              v=0
              o=- 3803298075 3803298075 IN IP4 177.0.0.1
              s=pjmedia
              b=AS:84
              t=0 0
              a=X-nat:0
              m=audio 16016 RTP/AVP 18 8 0 101
              c=IN IP4 177.0.0.1
              b=TIAS:64000
              a=rtcp:16017 IN IP4 177.0.0.1
              a=sendrecv
              a=rtpmap:18 G729/8000
              a=rtpmap:8 PCMA/8000
              a=rtpmap:0 PCMU/8000
              a=rtpmap:101 telephone-event/8000
              a=fmtp:101 0-16
              a=ssrc:744434968 cname:2975012e6cb414c1
              

              15:40:53.444607 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 602: (tos 0x0, ttl 61, id 43069, offset 0, flags [none], proto UDP (17), length 588)
              45.0.0.1.5060 > 177.0.0.1.19584: [udp sum ok] SIP, length: 560
              SIP/2.0 100 Trying
              Via: SIP/2.0/UDP 177.0.0.1:19584;branch=z9hG4bKPj4ec3ce657d284d0ba880647ff8332577;received=177.0.0.1;rport=19584
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17611 INVITE
              Server: FPBX-2.11.0(11.25.0)
              Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
              Supported: replaces, timer
              Session-Expires: 1800;refresher=uas
              Contact: sip:99999999@45.0.0.1:5060
              Content-Length: 0

              15:40:56.331538 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 618: (tos 0x0, ttl 61, id 43683, offset 0, flags [none], proto UDP (17), length 604)
              45.0.0.1.5060 > 177.0.0.1.19584: [udp sum ok] SIP, length: 576
              SIP/2.0 180 Ringing
              Via: SIP/2.0/UDP 177.0.0.1:19584;branch=z9hG4bKPj4ec3ce657d284d0ba880647ff8332577;received=177.0.0.1;rport=19584
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1;tag=as3b0b44f4
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17611 INVITE
              Server: FPBX-2.11.0(11.25.0)
              Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
              Supported: replaces, timer
              Session-Expires: 1800;refresher=uas
              Contact: sip:99999999@45.0.0.1:5060
              Content-Length: 0

              15:40:56.331861 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 981: (tos 0x0, ttl 61, id 43684, offset 0, flags [none], proto UDP (17), length 967)
              45.0.0.1.5060 > 177.0.0.1.19584: [udp sum ok] SIP, length: 939
              SIP/2.0 183 Session Progress
              Via: SIP/2.0/UDP 177.0.0.1:19584;branch=z9hG4bKPj4ec3ce657d284d0ba880647ff8332577;received=177.0.0.1;rport=19584
              From: sip:900@45.0.0.1;tag=0300608676c84545857f24c991f1a09d
              To: sip:99999999@45.0.0.1;tag=as3b0b44f4
              Call-ID: 89d4a888bbe845c48f9c38c86b5cde1b
              CSeq: 17611 INVITE
              Server: FPBX-2.11.0(11.25.0)
              Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
              Supported: replaces, timer
              Session-Expires: 1800;refresher=uas
              Contact: sip:99999999@45.0.0.1:5060
              Content-Type: application/sdp
              Require: timer
              Content-Length: 305

              v=0
              o=root 682649846 682649846 IN IP4 45.0.0.1
              s=Asterisk PBX 11.25.0
              c=IN IP4 45.0.0.1
              t=0 0
              m=audio 22358 RTP/AVP 8 18 0 101
              a=rtpmap:8 PCMA/8000
              a=rtpmap:18 G729/8000
              a=fmtp:18 annexb=no
              a=rtpmap:0 PCMU/8000
              a=rtpmap:101 telephone-event/8000
              a=fmtp:101 0-16
              a=ptime:20
              a=sendrecv
              

              15:40:56.336305 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 102: (tos 0x0, ttl 127, id 27752, offset 0, flags [none], proto UDP (17), length 88)
              177.0.0.1.16017 > 45.0.0.1.22359: [udp sum ok] UDP, length 60
              15:40:56.336312 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 102: (tos 0x0, ttl 127, id 27753, offset 0, flags [none], proto UDP (17), length 88)
              177.0.0.1.16017 > 45.0.0.1.22359: [udp sum ok] UDP, length 60
              15:40:56.351117 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27754, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.371028 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27755, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.390949 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27756, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.411564 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27757, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.431888 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27758, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.452212 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27759, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.472557 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27760, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.492847 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27761, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.511938 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43807, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.513186 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27762, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.531999 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43817, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.533643 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27763, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.552608 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43831, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.553809 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27764, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.574305 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27765, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.574576 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43840, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.593058 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43844, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.594513 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27766, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.613249 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43846, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.614773 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27767, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.633593 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43852, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.635073 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27768, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.654052 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43869, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.655400 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27769, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.665680 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27770, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.674204 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43876, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.685952 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27771, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.690654 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43881, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.691140 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 122: (tos 0x0, ttl 127, id 27772, offset 0, flags [none], proto UDP (17), length 108)
              177.0.0.1.16017 > 45.0.0.1.22359: [udp sum ok] UDP, length 80
              15:40:56.706197 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27773, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.709633 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43900, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.726493 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27774, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.729801 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43906, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.746784 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27775, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.750217 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43908, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.767122 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27776, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.770403 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43925, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.787479 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27777, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.790754 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43932, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.807739 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27778, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.811101 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43947, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.828074 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27779, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.831420 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43952, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.848374 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27780, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.851740 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43958, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.868710 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27781, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.871957 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43967, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.889041 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27782, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.892305 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43970, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.909355 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27783, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.912310 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43975, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.929666 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27784, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.932617 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 43994, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.949974 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27785, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.952922 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44011, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.969852 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27786, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.973224 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44031, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:56.990649 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27787, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:56.993388 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44049, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.010954 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27788, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.013757 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44061, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.031242 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27789, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.033956 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44076, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.051546 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27790, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.054336 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44088, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.069402 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44097, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.071887 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27791, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.089811 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44100, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.092192 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27792, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.109788 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44111, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.112539 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27793, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.130057 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44127, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.132810 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27794, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.151645 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44132, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.153256 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27795, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.170967 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44142, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.173476 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27796, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.190808 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44146, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.193802 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27797, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.211343 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44166, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.214057 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27798, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.231649 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44176, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.234511 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27799, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.251827 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44182, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.254734 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27800, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.271870 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44201, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.275049 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27801, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.292786 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44212, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172
              15:40:57.295332 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27802, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.305510 0c:e8:5c:68:5c:fd > a4:c6:4f:1c:4b:a4, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 127, id 27803, offset 0, flags [none], proto UDP (17), length 200)
              177.0.0.1.16016 > 45.0.0.1.22358: [udp sum ok] UDP, length 172
              15:40:57.312629 a4:c6:4f:1c:4b:a4 > 0c:e8:5c:68:5c:fd, ethertype IPv4 (0x0800), length 214: (tos 0x0, ttl 61, id 44229, offset 0, flags [DF], proto UDP (17), length 200)
              45.0.0.1.22358 > 177.0.0.1.16016: [udp sum ok] UDP, length 172

              1 Reply Last reply Reply Quote 0
              • R
                rafamello
                last edited by

                the support of the caputadora operator a connection and it was like this:

                33366fda-13a2-4cbc-a375-35acf86754fb.jpg

                1 Reply Last reply Reply Quote 0
                • M
                  mcury Rebel Alliance
                  last edited by mcury

                  Rafa, observando a sua captura, deu a entender que a primeira conexão, a que funcionou, a porta de destino era apenas a 5060.
                  Na captura abaixo, eu pude observar diversas portas de destino, e pelo que pesquisei, o SIP não utiliza portas altas.
                  Eu realmente não sei se o problema é esse pois nunca configurei uma rede assim, mas acho que pode ser alguma coisa com o NAT conforme descrito anteriormente no site que sugeri.

                  Tenta configurar um NAT estático na VLAN de origem para fora, para que a porta de origem não seja reescrita.
                  Seria mais ou menos assim:

                  Disable source port rewriting

                  By default pfSense® software rewrites the source port on all outbound traffic. This is necessary for proper NAT in some circumstances such as having multiple SIP phones behind a single public IP registering to a single external PBX. With a minority of providers, rewriting the source port of RTP can cause one way audio. In that case, setup manual outbound NAT and Static Port on all UDP traffic potentially with the exclusion of UDP 5060.

                  Imagem de um exemplo:
                  92c1ebcc-03ef-43b9-9474-5de339363c1d-image.png
                  ca68d3f7-0e69-49fa-aad8-ca81950e7a40-image.png

                  Na imagem acima, o IP 192.168.255.250 sai com NAT estático, não tendo sua porta de origem randomizada, ou sofrendo PAT (port address translation).

                  Caso isso não funcione, tem uma outra observação que você pode tentar, que é instalar o aplicativo abaixo, ele está lá na parte de programas para instalar no pfsense:

                  Use the siproxd package

                  The Siproxd package is used only for deployments with local phones and a remote PBX where rewriting the source port breaks the ability to connect because the service will not work with rewritten source ports. In this very specific circumstance the siproxd package enables multiple phones to connect to a single outside server with a static source port of 5060.

                  Do not use this package if the PBX is local. Only use it if the upstream PBX strictly requires all phones to have a source port of 5060.

                  As informações foram tiradas do tutorial lá no site do pfsense: https://docs.netgate.com/pfsense/en/latest/nat/configuring-nat-for-voip-phones.html

                  Avisa ai se tiver sucesso

                  dead on arrival, nowhere to be found.

                  R 1 Reply Last reply Reply Quote 1
                  • R
                    rafamello @mcury
                    last edited by

                    @mcury
                    Tudo certo?

                    Já tinha a regra criada, o que fiz foi retirar a range de portas que a "OPERADORA" para utilizar ... ficou assim :
                    Screenshot_1.png

                    Funcionando certinho, mas tem uma questão que não impede o funcionamento mas não condiz com o pensamento de portabilidade de usar em qualquer lugar.

                    Screenshot_4.png

                    Só Funciona se o IP da internet local estiver marcado ali e o Permitir reescrever IP estiver marcado.

                    Alguma dica?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mcury Rebel Alliance @rafamello
                      last edited by

                      @rafamello Desculpe, não entendi o que você quis dizer com: "Funcionando certinho, mas tem uma questão que não impede o funcionamento mas não condiz com o pensamento de portabilidade de usar em qualquer lugar."

                      Os usuários estão utilizando de outras subnets?
                      Ou você teria mais de um IP público?

                      dead on arrival, nowhere to be found.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rafamello @mcury
                        last edited by

                        @mcury, eu tirei as portas nas configurações do NAT como na imagem anterior, funcionou... Só que tem essa opção de deixar o IP Externo configurado no app, se eu tirar ele, não funciona.

                        Deveria funcionar sem nada marcado ali, tipo... se o usuário sair da empresa vai funcionar na internet que ele está automaticamente.

                        M DaddyGoD 2 Replies Last reply Reply Quote 0
                        • M
                          mcury Rebel Alliance @rafamello
                          last edited by

                          @rafamello Entendi, bem, a configuração do NAT seria para redes que estão atrás do pfsense.
                          Quando o usuário está na rua, ele não estará atrás do pfsense, ele estará se conectando diretamente ao IPBX através do 3g ou de uma rede wifi qualquer, sem relação nenhuma com a sua empresa.

                          Como eu não conheço esse aplicativo, e tenho pouca experiência com VOIP, eu recomendaria uma conexão VPN, mas de repente existam outras opções que eu desconheço, vale a pena pesquisar melhor.

                          Eu faria da seguinte maneira:

                          Configure uma VPN no pfsense, acho que a Openvpn seria melhor que o IPsec nesse caso, pela maior facilidade de configurar o celular dos clientes.

                          Eu configuraria um SPLIT tunnel, ou seja, quando o cliente se conecta a VPN, você roteia as conexões para o IPBX pelo túnel, as outras conexões do cliente não utilizariam a VPN assim não usando a banda de internet da empresa.
                          Crie regras de NAT conforme descrito anteriormente, com NAT estático de saída para os usuários da VPN.

                          Dessa forma, quando o cliente precisar usar o VOIP, ele precisa se conectar a VPN da empresa.
                          Ele não vai precisar alterar o IP público no APP, pois ele estará usando o IP da WAN da empresa.

                          dead on arrival, nowhere to be found.

                          1 Reply Last reply Reply Quote 0
                          • DaddyGoD
                            DaddyGo @rafamello
                            last edited by

                            @rafamello

                            até agora você não disse que existe um uso em duas etapas
                            (rede corporativa / é acesso pessoal à internet Wi-Fi, 4G, etc.)

                            que tipo de dispositivos são esses?
                            você diz que eles são portáteis ... ?!

                            nós os usamos em uma versão portátil
                            https://www.zoiper.com/

                            uma solução perfeita se você precisar de um recurso de telefone comercial e se quiser usar uma conta SIP em casa
                            (ao mesmo tempo)

                            Cats bury it so they can't see it!
                            (You know what I mean if you have a cat)

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              mcury Rebel Alliance @DaddyGo
                              last edited by

                              @DaddyGo Muito legal esse zoiper, já li a parte de Help lá, tutorial para tudo que é cliente =)

                              dead on arrival, nowhere to be found.

                              DaddyGoD 1 Reply Last reply Reply Quote 0
                              • DaddyGoD
                                DaddyGo @mcury
                                last edited by

                                @mcury

                                esta é uma super aplicação que estamos a usar há muito tempo
                                Com um código QR, o provedor de serviços pode fornecer ao cliente configurações instantâneas

                                c43e8625-9480-4d7a-9f3c-0a901a52591a-image.png
                                1f872518-0c68-483d-b29b-4d9be8a1e592-image.png

                                Cats bury it so they can't see it!
                                (You know what I mean if you have a cat)

                                1 Reply Last reply Reply Quote 1
                                • R
                                  rafamello
                                  last edited by

                                  Boa tarde pessoal.

                                  Desculpe a demora, mas estava envolvido em outros projetos as vezes é bom deixar uma coisa de lado pois a cabeça pensa melhor.

                                  Consegui solucionar o problema, era um simples detalhe:

                                  ![alt text](Sem título.jpg image url)

                                  Onde está marcado de vermelho eu estava colocando as portas que a operadora nos passou, deixei em branco funcionou na hora.

                                  Agora liga instantaneamente após cada ligação, antes demorava uns 30 segundos ou nem ligava.

                                  Agradeço atenção de vocês, muito obrigado.. Todo problema é um aprendizado.

                                  DaddyGoD 1 Reply Last reply Reply Quote 1
                                  • DaddyGoD
                                    DaddyGo @rafamello
                                    last edited by

                                    @rafamello

                                    Boas notícias.

                                    Cats bury it so they can't see it!
                                    (You know what I mean if you have a cat)

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.