Re: [SR-Users] NAT problem

2019-09-17 Thread Arnout Van Den Kieboom
Hi, Firewall (PFsense) does port forwarding: inbound publicIP:5060 --> private ip (192.168.150.119) inbound PublicIP:1 to 2 -> private ip (192.168.150.119) The public ip is set in the config file (kamailio.cfg) and RTP proxy is started with rtpproxy -A "private ip" -F -l "local ip"

Re: [SR-Users] NAT problem

2019-09-17 Thread Daniel-Constantin Mierla
Hello, might be just a typing mistake, but: rtpproxy -A "private ip" -F -l "local ip" -m 1 -M 2 -s udp:*:7722 -d INFO says that -A is private ip, it should be public IP. Then, towards asterisk, is it everything on a private network, or does it go again through some FW with public ip

Re: [SR-Users] NAT problem

2019-09-17 Thread Daniel Tryba
On Mon, Sep 16, 2019 at 02:06:43PM +0200, Arnout Van Den Kieboom wrote: > > If you need more info, feel free to ask! > Start looking at the SDP contents involved. What are the rtp endpoints in the them in the scenarios you are having problems with (the ipadress in the c= line and the ports in

Re: [SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-17 Thread Daniel-Constantin Mierla
Hello, I am not sure what do you mean with: """ I have noticed that if Kamailio is IPv4-only and it "sees" IPv6-addresses(Contact, Via headers??) it will try to resolve the IPv6-address as a DNS name! """ If it just that on the specific deployment Kamailio has to bind on IPv4 and run as an IPv4

Re: [SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-17 Thread Anthony Alba
Hi Daniel, In this test environment kamailio (SIP control plane) is IPv4 only; rtpengine is configured on IPv4/IPv6 interfaces. When the INVITE+SDP came in, it seems to to try to resolve the address [2001:...] as a DNS name. To recap, this was trying an IPv4-control plane with dual-stack

Re: [SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-17 Thread Sergey Safarov
In this scenario used IPv6-toI-IPv4 network gateway This gateway like NAT equipment and translate IPv4 address to IPv6 space. And NAT IPv6 address to IPv4 address. Think this case may be handled by nathelper fix_nated_sdp call.

Re: [SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-17 Thread Anthony Alba
...just a bit more clarification: I was testing NAT64/DNS64, the iOS device would use a IPv4 control plane due to NAT64, however it would put IPv6 in the SDP so rtpengine was configured to be dual stack. On Tue, Sep 17, 2019 at 8:49 PM Daniel-Constantin Mierla wrote: > > Hello, > > I am not sure

Re: [SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-17 Thread Daniel-Constantin Mierla
Hello, it is not supposed to do any DNS on IPv6 addresses, maybe only if you disabled IPv6 support. Do you have the debug messages for such case? Also, what global parameters did you set related to iPv6? Cheers, Daniel September 17, 2019 3:30 PM, "Anthony Alba" wrote: > Hi Daniel, > > In