Views

SIP Port Example

The Wiki of Unify contains information on clients and devices, communications systems and unified communications. - Unify GmbH & Co. KG is a Trademark Licensee of Siemens AG.

Revision as of 11:10, 2 November 2006 by Gunnar.boll (talk | contribs)
Jump to: navigation, search

SIP example:

  • "Registrar IP address or DNS name: 192.168.1.63 Port=5066" : This is the destination port
  • "SIP Port=5062" : This is the port used for sending and receiving on the phone side
  • The port numbers in this example are not necessarily useful, but demonstrate the possiblity of using asymmetric ports for source and destination (5062, 5066) or symmetric ports (if set to equal values).
  • The phone is at 192.168.1.8
  • The proxy is at 192.168.1.63

No. Time Source Destination Protocol Info 22 59.705702 192.168.1.8 192.168.1.63 SIP Request: REGISTER sip:192.168.1.63:5066;transport=udp

Frame 22 (495 bytes on wire, 495 bytes captured) Ethernet II, Src: 192.168.1.8 (00:01:e3:24:05:ca), Dst: 192.168.1.63 (00:e0:00:5e:19:c0) Internet Protocol, Src: 192.168.1.8 (192.168.1.8), Dst: 192.168.1.63 (192.168.1.63) User Datagram Protocol, Src Port: 5062 (5062), Dst Port: 5066 (5066)

   Source port: 5062 (5062)
   Destination port: 5066 (5066)
   Length: 461
   Checksum: 0x3745 [correct]

Session Initiation Protocol Request-Line: REGISTER sip:192.168.1.63:5066;transport=udp SIP/2.0

       Method: REGISTER
       Resent Packet: False

Message Header

       Max-Forwards: 70
       Content-Length: 0
       Via: SIP/2.0/UDP 192.168.1.8:5062;branch=z9hG4bK90cd10ea5
       Call-ID: 640b380ce00ee6f
       From: 49894773001 <sip:49894773001@192.168.1.63>;tag=2c324ccecfd8e16;epid=SC2405ca
       To: 49894773001 <sip:49894773001@192.168.1.63>
       CSeq: 1 REGISTER
       Contact: 49894773001 <sip:49894773001@192.168.1.8:5062;transport=udp>;expires=3605
       User-Agent: optiPoint 410_420/V6 6.0.60

No. Time Source Destination Protocol Info 23 59.709419 192.168.1.63 192.168.1.8 SIP Status: 200 OK (1 bindings)

Frame 23 (455 bytes on wire, 455 bytes captured) Ethernet II, Src: 192.168.1.63 (00:e0:00:5e:19:c0), Dst: 192.168.1.8 (00:01:e3:24:05:ca) Internet Protocol, Src: 192.168.1.63 (192.168.1.63), Dst: 192.168.1.8 (192.168.1.8) User Datagram Protocol, Src Port: 5066 (5066), Dst Port: 5062 (5062)

   Source port: 5066 (5066)
   Destination port: 5062 (5062)
   Length: 421
   Checksum: 0xd7ce [correct]

Session Initiation Protocol Status-Line: SIP/2.0 200 OK

       Status-Code: 200
       Resent Packet: False

Message Header

       Call-ID: 640b380ce00ee6f
       CSeq: 1 REGISTER
       From: 49894773001 <sip:49894773001@192.168.1.63>;tag=2c324ccecfd8e16;epid=SC2405ca
       To: 49894773001 <sip:49894773001@192.168.1.63>;tag=1d90e885136514d
       Via: SIP/2.0/UDP 192.168.1.8:5062;branch=z9hG4bK90cd10ea5
       Content-Length: 0
       Contact: 49894773001 <sip:49894773001@192.168.1.8:5062;transport=udp>;expires=3600