240 likes | 576 Views
SIP IOT program. 2008 Mar 13 th ~ 14 th. Panasonic Communications Co.,Ltd Office Network Company Network SE Team. 【SIP IOT】SIP Interoperability Testing. ■ Background :
E N D
SIP IOT program 2008 Mar 13th~14th Panasonic Communications Co.,Ltd Office Network Company Network SE Team
【SIP IOT】SIP Interoperability Testing ■ Background : SIP is different from ISDN or other telephone network interface.There is no Type Approval Organization. In most cases the Providers does not give us their specification. There are some specifications like RFC3261 but they are “Request For Comment”. The literature is ambiguous and manufactures take it with their own interpretation.(This is the reason that people say SIP has a dialect.) ■ Purpose of this testing : To check TDE/TDA is perfectly match to the provider or not.To check the restrictions. ■ Purpose of this training : Learning the test items (call procedures).Learning the checking points.
【SIP IOT procedure】 Open SIP account • Provider choice!Find out a good partner (provider).Getting 2 accounts for interoperability testing. • Account is usable?PCC check the account and reply to Sales Company with TDE/TDA config.(Actually it takes about 3 days now.) • Start SIP IOT!Sales Company start SIP IOT.Sales Company send the report and captured data. • AnalysisPCC analyses the SIP IOT result and reply to Sales Company FT is available or not. • Start FT!Sales Company start Field Trial for 10 working days.Inquiring to the dealer and customer the usability. • Final Decision!When you have a confident, start sales! 1-day check by PCC SIP Interoperability Testing PCC checks the data Field Trial at the end user. Approve ? Please feed back the report to PCC Blue: PCC, Purple: Sales Company
PSTN ISP/ITSP 【Testing Envirment】 Mobile Telecom SLT FAX Router Router L2 Switch L2 Switch Equipments List 2 DSL Lines : DSL line x2 + 2 accounts TDE : TDE with 2 PTs SIP phone : PCC recommend Snom300 or 320 Router x2 : It depends on provider.If there is no recommendation from the provider then PCC recommend Cisco1800 or Cisco800 for Router 2 too. L2 Switch x2 : Port mirroring function is mandatory PCC recommend HP1800 PC x2 : Wireshark should be installed FAX : G3 Wireshark Wireshark SIP Phone FAX
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
SBC (Nat Off) method * SBC: Session Border Controller Media Server Proxy Server 217.10.68.75 217.10.79.23 Proxy Server 217.10.79.23 TDE (MPR) 192.168.2.9 TDE (DSP) 192.168.2.10 Media Server 217.10.68.75 SBC DSL modem 61.199.255.PCC Router Router L2 Switch L2 Switch TDE Wireshark 192.168.2.9 192.168.2.10 SIP Phone
SBC (Nat Off) method: outgoing call NAT Table (NAPT Enable) Inside local Inside global Outside global Timeout 192.168.2.9:35060 61.199.255.PCC:32844 217.10.79.23:5060 300s 192.168.2.10:12128 61.199.255.PCC:33436 217.10.68.75:59876 300s Media Server SIP Server TDE NAT Router WAN side MPR : 192.168.2.9 DSP : 192.168.2.10 LAN side Global IP : 61.199.255.PCC 217.10.79.23 217.10.68.75 INVITE Request 61.199.255.PCC:32844 -> 217.10.79.23:5060 INVITE Request 192.168.2.9:35060 -> 217.10.79.23:5060 NAPT 180 Ringing Response 192.168.2.9:35060 <- 217.10.79.23::5060 180 Ringing Response 61.199.255.PCC:32844 <- 217.10.79.23:5060 200 OK Response 192.168.2.9:35060 <- 217.10.79.23:5060 200 OK Response 61.199.255.PCC:32844 <- 217.10.79.23:5060 RTP 61.199.255.PCC:12128 <- 217.10.68.75:59876 RTP 192.168.2.10:12128 -> 217.10.68.75:59876 RTP 61.199.255.PCC:33436 -> 217.10.68.75:59876 NAPT RTP 61.199.255.PCC:33436 <- 217.10.68.75:59876 RTP 192.168.2.10:12128 <- 217.10.68.75:59876 SBC BYE Request 61.199.255.PCC:32844 <- 8217.10.79.23:5060 BYE Request 192.168.2.9:35060 <- 217.10.79.23:5060
SBC (Nat Off) method: incoming call NAT Table (NAPT Enable) Inside local Inside global Outside global Timeout 192.168.2.9:35060 61.199.255.PCC:32844 217.10.79.23:5060 300s 192.168.2.10:12130 61.199.255.PCC:33099 217.10.68.75:47620 300s Media Server SIP Server TDE NAT Router MPR : 192.168.2.9 DSP : 192.168.2.10 WAN side LAN side Global IP : 61.199.255.PCC 217.10.79.23 217.10.68.75 Register Request 61.199.255.PCC:32844 -> 217.10.79.23:5060 Register Request 192.168.2.9:35060 -> 217.10.79.23:5060 NAPT 200 OK Response 192.168.2.9:35060 <- 217.10.79.23:5060 200 OK Response 61.199.255.PCC:32844 <- 217.10.79.23:5060 Keep Alive(Blank UDP) 192.168.2.9:35060 -> 217.10.79.23:5060 Keep Alive (Blank UDP) 61.199.255.PCC:32844 -> 217.10.79.23:5060 Default interval time is 20s SBC INVITE Request 192.168.2.9:35060 <- 217.10.79.23:5060 INVITE Request 61.199.255.PCC:32844 <- 217.10.79.23:5060 200 OK Response 192.168.2.9:35060 -> 217.10.79.23:5060 200 OK Response 61.199.255.PCC:32844 -> 217.10.79.23:5060 RTP 192.168.2.10:12130 -> 217.10.68.75:47620 RTP 61.199.255.PCC:33099 -> 217.10.68.75:47620 NAPT RTP 61.199.255.PCC:33099 <- 217.10.68.75:47620 RTP 192.168.2.10:12130 <- 217.10.68.75:47620
STUN method 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.PCC Router Router L2 Switch L2 Switch TDE Wireshark 192.168.2.9 192.168.2.10 217.10.68.75 SIP Phone
STUN method: Registration NAT Table (NAPT Enable) Inside local Inside global Outside global Timeout 192.168.2.9:33478 61.199.255.PCC:33791 217.10.79.2:10000 300s 192.168.2.9:35060 61.199.255.PCC:33472 217.10.79.23:5060 300s SIP Server STUN Server NAT Router TDE MPR : 192.168.2.9 DSP : 192.168.2.10 WAN side LAN side Global IP : 61.199.255.PCC 217.10.79.23 217.10.79.2 STUN Binding Request 192.168.2.9:33478 -> 217.10.79.2:10000 STUN Binding Request 61.199.255.PCC:33791 -> 217.10.79.2:10000 STUN Binding Response 192.168.2.9:33478 <- 217.10.79.2:10000 STUN Binding Response 61.199.255.PCC:33791 <- 217.10.79.2:10000 Attribute: MAPPED-ADDRESS Port: 33791 (Port No. is not used.) IP: 61.199.255.PCC Attribute: MAPPED-ADDRESS Port: 33791 (Port No. is not used.) IP: 61.199.255.PCC Register Request 61.199.255.PCC:33472 -> 217.10.79.23:5060 Register Request 192.168.2.9:35060 -> 217.10.79.23:5060 NAPT Via: SIP/2.0/UDP 61.199.255.PCC:35060;branch=z9hG4bK00001010;rport Contact: sip:8671225@61.199.255.PCC:35060 200 OK Response 192.168.2.9:35060 <- 217.10.79.23::5060 200 OK Response 61.199.255.PCC:33472 <- 217.10.79.23:5060 Contact: <sip:8671225@61.199.255.PCC:35060>;expires=3600
STUN method: outgoing call NAT Table (NAPT Enable) Inside local Inside global Outside global Timeout 192.168.2.9:35060 61.199.255.PCC:35060 any or Server IP ---------- 192.168.2.10:16000 61.199.255.PCC:16000 any ---------- 192.168.2.9:35060 61.199.255.PCC:33472 217.10.79.23:5060 300s Port forward SIP : 35060 RTP : ~16063 (Max) NAPT SIP Server SNOM phone TDE NAT Router WAN side MPR : 192.168.2.9 DSP : 192.168.2.10 LAN side Global IP : 61.199.255.PCC 217.10.79.23 218.116.146.6 INVITE Request 61.199.255.PCC:33472 -> 217.10.79.23:5060 INVITE Request 192.168.2.9:35060 -> 217.10.79.23:5060 NAPT 180 Ringing Response 192.168.2.9:35060 <- 217.10.79.23::5060 180 Ringing Response 61.199.255.PCC:33472 <- 217.10.79.23:5060 200 OK Response 192.168.2.9:35060 <- 217.10.79.23:5060 200 OK Response 61.199.255.PCC:33472 <- 217.10.79.23:5060 RTP 192.168.2.10:16000 <- 218.116.146.6:54920 RTP 61.199.255.PCC:16000 <- 218.116.146.6:54920 Port Forward by Router RTP 192.168.2.10:16000 -> 218.116.146.6:54920 RTP 61.199.255.PCC:16000 -> 218.116.146.6:54920 BYE Request 61.199.255.PCC:35060 -> 217.10.79.23:5060 BYE Request 192.168.2.9:35060 -> 217.10.79.23:5060 Port Forward by Router
STUN method: incoming call NAT Table (NAPT Enable) Inside local Inside global Outside global Timeout 192.168.2.9:35060 61.199.255.PCC:35060 any ---------- 192.168.2.10:16000 61.199.255.PCC:16000 any ---------- Port forward SIP : 35060 RTP : ~16063 (Max) SIP Server SNOM phone NAT Router TDE WAN side MPR : 192.168.2.9 DSP : 192.168.2.10 LAN side Global IP : 61.199.255.PCC 217.10.79.23 218.116.146.6 INVITE Request 61.199.255.PCC:35060 <- 217.10.79.23:5060 INVITE Request 192.168.2.9:35060 <- 217.10.79.23:5060 Port Forward by Router 180 Ringing Response 192.168.2.9:35060 -> 217.10.79.23:5060 180 Ringing Response 61.199.255.PCC:35060 -> 217.10.79.23:5060 200 OK Response 192.168.2.9:35060 -> 217.10.79.23:5060 200 OK Response 61.199.255.PCC:35060 -> 217.10.79.23:5060 RTP 192.168.2.10:16000 -> 218.116.146.6:55134 RTP 61.199.255.PCC:16000 -> 218.116.146.6:55134 RTP 192.168.2.10:16000 -> 218.116.146.6:55134 RTP 61.199.255.PCC:16000 -> 218.116.146.6:55134 Port Forward by Router BYE Request 61.199.255.PCC:35060 -> 217.10.79.23:5060 BYE Request 192.168.2.9:35060 -> 217.10.79.23:5060 Port Forward by Router
Session (IP address) change ITSP 10.20.11.14 TDE 192.168.100.101 ITSP 10.20.11.31