160 likes | 172 Views
NAT Traversal. 2008 Feb 25 th. Panasonic Communications Co.,Ltd Office Network Company Network SE Team. Account info. Management site: It is used for checking the charge or choosing the phone services. CLIP: Calling Line Identification Presentation
E N D
NAT Traversal 2008 Feb 25th Panasonic Communications Co.,Ltd Office Network Company Network SE Team
Account info Management site: It is used for checking the charge or choosing the phone services. CLIP: Calling Line Identification Presentation CLIR: Calling Line Identification Restriction Star code is a special code which provider support. In case of Bellshare (German provider) *67 is used for CLIR. When you call *67+area code + phone number then it become a CLIR call. There are other way to stop Caller ID sending if provider support. Logging into the provider web site (using 05) and CLIP off. (Some provider permit user to change some setting on their management site.) VAD:Voice Activity Detection If it work correctly then voice packet traffic become reduced so it is good. But it rarely cause a trouble. Bad voice quality or call cut off. STUN / SBC. Please refer the “Programming Manual for SIP”.
SIP Service Provider SIP Server STUN Server *NAT Traversal type SBC* Method STUN Method Fixed Global IP address Method SIP Service Provider SIP Service Provider SIP Server SIP Server SBC NAT Router Local Area Network TDE *NAT: Network Address Translation *SBC: Session Boarder Controller
Nat Off (SBC method) * SBC: Session Border Controller Media Server Proxy Server SBC 217.10.68.75 217.10.79.23 Proxy Server 217.10.79.23 TDE 192.168.2.9 TDE 192.168.2.10 Media Server 217.10.68.75 DSL modem 61.199.255.184 Router Router L2 Switch L2 Switch TDE Wireshark 192.168.2.9 192.168.2.10 SIP Phone
Nat Off (SBC method): outgoing call LAN side WAN side Router 61.199.255.184 TDE 192.168.2.9 TDE 192.168.2.10 Router 61.199.255.184 Router 61.199.255.184 Proxy Server 217.10.79.23 Media Server 217.10.68.75 NAPT ② ① ③ ④ NAPT ⑤
Nat Off (SBC method): incoming call WAN side LAN side Media Server 217.10.68.75 Proxy Server 217.10.79.23 Router 61.199.255.184 TDE 192.168.2.9 TDE 192.168.2.10 Router 61.199.255.184 Router 61.199.255.184 NAPT ② ① NAPT ③ ④
STUN STUN Server Proxy Server 217.10.79.23 SNOM phone 217.10.68.75 Proxy Server 217.10.79.23 TDE 192.168.2.9 TDE 218.116.146.6 DSL modem 61.199.255.184 Router Router L2 Switch L2 Switch TDE Wireshark 192.168.2.9 192.168.2.10 217.10.68.75 SIP Phone
STUN: outgoing call WAN side LAN side TDE 192.168.2.9 TDE 192.168.2.10 Router 61.199.255.184 Proxy Server 217.10.79.23 SNOM phone 218.116.146.6 Router 61.199.255.184 Router 61.199.255.184 ① ② ④ ③
STUN: incoming call WAN side LAN side Proxy Server 217.10.79.23 Router 61.199.255.184 SNOM phone 218.116.146.6 Proxy Server 217.10.79.23 TDE 192.168.2.9 TDE 192.168.2.10 Router61.199.255.184 ② ① ③ ④
SBC / STUN TDE Router Server SBC REGISTER IP 192.168.2.101:35060 61.199.255.184: 32844 192.168.2.101:35060 192.168.2.101:35060 SIP TDE Router Server STUN REGISTER IP 192.168.2.101:35060 61.199.255.184 :32844 SIP 61.199.255.184: 35060 61.199.255.184 :35060
SBC / STUN <SBC> <STUN> INVITE sip:00818054040673@panasonic.com SIP/2.0 Via: SIP/2.0/UDP 192.168.2.101:35060;branch=z9hG4bK00007d74;rport Max-Forwards: 70 To: sip:2001@panasonic.com From: sip:1001@panasonic.com;tag=28482 Call-ID: 00003236-7af6805e40e310009ce90080f0300a86@192.168.2.101 CSeq: 1 INVITE Contact: sip:1001@192.168.2.101:35060 Supported: timer,100rel Session-Expires: 180 Allow: INVITE,ACK,CANCEL,BYE,PRACK,REGISTER,UPDATE Content-Type: application/sdp User-Agent: V1.000i Content-Length: 270 v=0 o=- 1 1 IN IP4 192.168.2.102 s=- c=IN IP4 192.168.2.102 t=0 0 m=audio 12000 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000/1 a=rtpmap:0 PCMU/8000/1 a=rtpmap:18 G729/8000/1 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=ptime:20 a=rtcp:12001 ■IP-Address: Local IP address ■RTP Port: 12000~ ■Signaling IP address is different from SDP IP address INVITE sip:00818054040673@panasonic.com SIP/2.0 Via: SIP/2.0/UDP 10.16.1.10:35060;branch=z9hG4bK00007d74;rport Max-Forwards: 70 To: sip:2001@panasonic.com From: sip:1001@panasonic.com;tag=28482 Call-ID: 00003236-7af6805e40e310009ce90080f0300a86@10.16.1.10 CSeq: 1 INVITE Contact: sip:1001@10.16.1.10:35060 Supported: timer,100rel Session-Expires: 180 Allow: INVITE,ACK,CANCEL,BYE,PRACK,REGISTER,UPDATE Content-Type: application/sdp User-Agent: V1.000i Content-Length: 270 v=0 o=- 1 1 IN IP4 10.16.1.10 s=- c=IN IP4 10.16.1.10 t=0 0 m=audio 16000 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000/1 a=rtpmap:0 PCMU/8000/1 a=rtpmap:18 G729/8000/1 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=ptime:20 a=rtcp:16001 ■IP-Address: Global IP address (10.16.1.10) ■RTP port: 16000~ ■*ポート番号は変更しない
Session (IP address) change ITSP 10.20.11.14 TDE 192.168.100.101 ITSP 10.20.11.31