<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><div><span style="font-family: tahoma,new york,times,serif;">Hi list, I am trying to solve my nat problem with openser 1.3.2 and rtpproxy 1.1, I have my openser with 2 net cards. I detail my scenario:</span><br style="font-family: tahoma,new york,times,serif;"><br style="font-family: tahoma,new york,times,serif;"><br style="font-family: tahoma,new york,times,serif;"><span style="font-family: tahoma,new york,times,serif; font-weight: bold;">(192.168.10.1) LAN-eth1- Server Openser eth0-WAN (192.168.1.64)<-> NAT <-> ADSL dyndns <-> Internet <-> ADSL <-> NAT <-> UAC
</span><br style="font-family: tahoma,new york,times,serif;"><br style="font-family: tahoma,new york,times,serif;"><span style="font-family: tahoma,new york,times,serif;">All my external clients are also behind an ADSL with address private ip and my server openser, I don't have ip it public but register a domain with dyndns and it configures it in my router adsl, I have access from out to my server through dyndns.</span><br style="font-family: tahoma,new york,times,serif;"><br style="font-family: tahoma,new york,times,serif;"><span style="font-family: tahoma,new york,times,serif;">All my external clients configure them so that they use of address proxy the dyndns domain, my external clients register but when they call to another UAC that this behind the server openser is not audio, and if a UAC that this behind the server openser calls an external client the call doesn't arrive he fails.<br><br>I have open the ports UDP 5060:5065, 10000:20000,
35000:65000 <br>TCP: 5060 <br><br>some idea of like I can solve this problem?...<br><br>best regards all list <br><br>rickygm<br></span><br>### LOG SIP ###<br><br><pre>U +1.744617 192.168.10.30:5062 -> 192.168.10.1:5060<br>SIP/2.0 200 OK <br>Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK2fc9.6c704556.0 <br>Via: SIP/2.0/UDP 192.168.0.60:5063;rport=5063;received=190.184.35.4;branch=z9hG4bK-de71d299 <br>Record-Route: <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Record-Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 102 INVITE <br>User-Agent: Grandstream GXP2020 1.1.6.16 <br>Contact: <sip:113@192.168.10.30:5062;transport=udp> <br>Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE <br>Content-Type: application/sdp <br>Supported: replaces, timer <br>Content-Length: 214 <br> <br>v=0 <br>o=113 8000 8000 IN IP4 192.168.10.30 <br>s=SIP Call <br>c=IN IP4 192.168.10.30 <br>t=0 0 <br>m=audio 5004 RTP/AVP 18 101 <br>a=sendrecv <br>a=rtpmap:18 G729/8000 <br>a=ptime:30 <br>a=rtpmap:101 telephone-event/8000 <br>a=fmtp:101 0-11 <br><br>#<br>U +0.000481 192.168.1.64:5060 -> 190.184.35.4:5063<br>SIP/2.0 200 OK <br>Via: SIP/2.0/UDP 192.168.0.60:5063;rport=5063;received=190.184.35.4;branch=z9hG4bK-de71d299 <br>Record-Route: <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Record-Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 102 INVITE
<br>User-Agent: Grandstream GXP2020 1.1.6.16 <br>Contact: <sip:113@192.168.10.30:5062;transport=udp> <br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE <br>Content-Type: application/sdp <br>Supported: replaces, timer <br>Content-Length: 232 <br>P-hint: onreply_route|force_rtp_proxy <br> <br>v=0 <br>o=113 8000 8000 IN IP4 192.168.10.30 <br>s=SIP Call <br>c=IN IP4 192.168.1.64 <br>t=0 0 <br>m=audio 35006 RTP/AVP 18 101 <br>a=sendrecv <br>a=rtpmap:18 G729/8000 <br>a=ptime:30 <br>a=rtpmap:101 telephone-event/8000 <br>a=fmtp:101 0-11 <br>a=nortpproxy:yes <br><br>#<br>U +0.219110 190.184.35.4:5063 -> 192.168.1.64:5060<br>ACK sip:113@192.168.10.30:5062;transport=udp SIP/2.0 <br>Via: SIP/2.0/UDP 192.168.0.60:5063;branch=z9hG4bK-547056da <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID:
6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 102 ACK <br>Max-Forwards: 70 <br>Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3>, <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Proxy-Authorization: Digest username="122",realm="gnuforever.homelinux.com",nonce="48f260b8529fd8e9d8f0247fa92f734a317f2da5",uri="sip:113@gnuforever.homelinux.com",algorithm=MD5,response="ec45ed24126b924160da73b8ba10e73d" <br>Contact: <sip:122@192.168.0.60:5063> <br>User-Agent: Linksys/SPA942-5.2.8 <br>Content-Length: 0 <br> <br><br>#<br>U +0.000944 192.168.10.1:5060 -> 192.168.10.30:5062<br>ACK sip:113@192.168.10.30:5062;transport=udp SIP/2.0 <br>Record-Route: <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Record-Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK2fc9.6c704556.2 <br>Via: SIP/2.0/UDP
192.168.0.60:5063;rport=5063;received=190.184.35.4;branch=z9hG4bK-547056da <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 102 ACK <br>Max-Forwards: 69 <br>Proxy-Authorization: Digest username="122",realm="gnuforever.homelinux.com",nonce="48f260b8529fd8e9d8f0247fa92f734a317f2da5",uri="sip:113@gnuforever.homelinux.com",algorithm=MD5,response="ec45ed24126b924160da73b8ba10e73d" <br>Contact: <sip:122@190.184.35.4:5063;nat=yes> <br>User-Agent: Linksys/SPA942-5.2.8 <br>Content-Length: 0 <br> <br><br>#<br>U +0.140447 192.168.1.64:5060 -> 190.184.35.4:5063<br>OPTIONS sip:190.184.35.4:5063 SIP/2.0 <br>Via: SIP/2.0/UDP 192.168.1.64:5060;branch=0 <br>From: sip:pinger@192.168.1.64;tag=f7508b75 <br>To: sip:190.184.35.4:5063 <br>Call-ID: 29b7fe71-06901b84-fa6@192.168.1.64 <br>CSeq: 1 OPTIONS <br>Content-Length:
0 <br> <br><br>#<br>U +0.164881 190.184.35.4:5063 -> 192.168.1.64:5060<br>SIP/2.0 404 Not Found <br>To: sip:190.184.35.4:5063;tag=a04ea06caeb3256i3 <br>From: sip:pinger@192.168.1.64;tag=f7508b75 <br>Call-ID: 29b7fe71-06901b84-fa6@192.168.1.64 <br>CSeq: 1 OPTIONS <br>Via: SIP/2.0/UDP 192.168.1.64:5060;branch=0 <br>Server: Linksys/SPA942-5.2.8 <br>Content-Length: 0 <br> <br><br>#<br>U +1.195009 192.168.10.28:5060 -> 192.168.10.1:5060<br><br> <br> <br> <br>#<br>U +0.639899 192.168.10.1:5060 -> 192.168.10.27:5060<br>OPTIONS sip:192.168.10.27:5060 SIP/2.0 <br>Via: SIP/2.0/UDP 192.168.10.1:5060;branch=0 <br>From: sip:pinger@192.168.1.64;tag=08508b75 <br>To: sip:192.168.10.27:5060 <br>Call-ID: 29b7fe71-16901b84-1b6@192.168.10.1 <br>CSeq: 1 OPTIONS <br>Content-Length: 0 <br> <br><br>#<br>U +0.001412 192.168.10.27:5060 -> 192.168.10.1:5060<br>SIP/2.0 200 OK <br>Via: SIP/2.0/UDP 192.168.10.1:5060;branch=0 <br>From:
sip:pinger@192.168.1.64;tag=08508b75 <br>To: sip:192.168.10.27:5060;tag=b1e56101b3b09b53 <br>Call-ID: 29b7fe71-16901b84-1b6@192.168.10.1 <br>CSeq: 1 OPTIONS <br>User-Agent: Grandstream GXV3000 1.1.3.14 <br>Contact: <sip:120@192.168.10.27:5060> <br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK <br>Supported: replaces, timer, 100rel, path <br>Content-Length: 0 <br> <br><br>#<br>U +3.393457 190.184.35.4:5063 -> 192.168.1.64:5060<br>BYE sip:113@192.168.10.30:5062;transport=udp SIP/2.0 <br>Via: SIP/2.0/UDP 192.168.0.60:5063;branch=z9hG4bK-f7539b7 <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 103 BYE <br>Max-Forwards: 70 <br>Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3>, <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3>
<br>Proxy-Authorization: Digest username="122",realm="gnuforever.homelinux.com",nonce="48f260b8529fd8e9d8f0247fa92f734a317f2da5",uri="sip:113@192.168.10.30:5062",algorithm=MD5,response="4416adbfacebc76ed9cc3f002ff958a1" <br>User-Agent: Linksys/SPA942-5.2.8 <br>Content-Length: 0 <br> <br><br>#<br>U +0.000768 192.168.10.1:5060 -> 192.168.10.30:5062<br>BYE sip:113@192.168.10.30:5062;transport=udp SIP/2.0 <br>Record-Route: <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Record-Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK3fc9.1cba8107.0 <br>Via: SIP/2.0/UDP 192.168.0.60:5063;rport=5063;received=190.184.35.4;branch=z9hG4bK-f7539b7 <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 103 BYE <br>Max-Forwards: 69
<br>Proxy-Authorization: Digest username="122",realm="gnuforever.homelinux.com",nonce="48f260b8529fd8e9d8f0247fa92f734a317f2da5",uri="sip:113@192.168.10.30:5062",algorithm=MD5,response="4416adbfacebc76ed9cc3f002ff958a1" <br>User-Agent: Linksys/SPA942-5.2.8 <br>Content-Length: 0 <br> <br><br>#<br>U +0.055972 192.168.10.30:5062 -> 192.168.10.1:5060<br>SIP/2.0 200 OK <br>Via: SIP/2.0/UDP 192.168.10.1;branch=z9hG4bK3fc9.1cba8107.0 <br>Via: SIP/2.0/UDP 192.168.0.60:5063;rport=5063;received=190.184.35.4;branch=z9hG4bK-f7539b7 <br>Record-Route: <sip:192.168.10.1;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>Record-Route: <sip:192.168.1.64;r2=on;lr=on;ftag=636fc42148cbcd9ao3> <br>From: <sip:122@gnuforever.homelinux.com>;tag=636fc42148cbcd9ao3 <br>To: <sip:113@gnuforever.homelinux.com>;tag=a5f269a554788978 <br>Call-ID: 6f8c5fed-1d1d043e@192.168.0.60 <br>CSeq: 103 BYE <br>User-Agent: Grandstream GXP2020 1.1.6.16 <br>Contact:
<sip:113@192.168.10.30:5062;transport=udp> <br>Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE,PRACK,MESSAGE <br>Supported: replaces, timer <br>Content-Length: 0 <br> <br></pre><br></div></div><br>
</body></html>