Hello,
I am using an x-lite softphone to register with my SIP domain,
(a) Without an outbound proxy - Registration is successful and takes about 3 seconds (b) With an outbound proxy - Registration is successful but takes nearly 15 seconds I briefly describe below the sequence of SIP messages while using the outbound proxy
Register softphone -> proxy Register proxy -> SIP server Register softphone -> proxy 407 Proxy authentication reqd. SIP server -> proxy Register softphone -> proxy 407 Proxy authentication reqd. proxy -> softphone Register softphone -> proxy (With Digest response) Register proxy -> SIP server (With Digest response) 200 OK Sip server -> proxy Register softphone -> proxy (With Digest response)
I am attaching a log with wireshark captures that show SIP messages exchanged between the SIP server,SIP proxy and the x-lite softphone. The log shows several messages being duplicated (REGISTER, 200 OK)
1) Why does the softphone continue to send REGISTER messages after receiving a 200 OK response ? (almost 15 repetitions of REGISTER after receiving 200 OK)
2) What is the reason for the delay in registration times with/without the proxy ?
Thanks and Regards, Vikram.
No. Time Source Destination Protocol Info 1 0.000000 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 1 (611 bytes on wire, 611 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 1 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
3 0.839564 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 3 (722 bytes on wire, 722 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK31c8.d11a2c71.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 1 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 4 0.952097 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 4 (555 bytes on wire, 555 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 1 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK31c8.d11a2c71.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100052 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605203001203402405205305" Content-Length: 0
No. Time Source Destination Protocol Info 5 1.404504 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 5 (722 bytes on wire, 722 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK31c8.d11a2c71.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 1 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 6 1.517292 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 6 (555 bytes on wire, 555 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 1 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK31c8.d11a2c71.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100053 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605303001203402405305305" Content-Length: 0
No. Time Source Destination Protocol Info 7 1.522829 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 7 (611 bytes on wire, 611 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 1 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 8 2.522300 ab.cde.fgh.ijk(proxy) ab.cde.fgh.ijx(xlite) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 8 (492 bytes on wire, 492 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)) User Datagram Protocol, Src Port: sip (5060), Dst Port: 33374 (33374) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 1 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100052 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605203001203402405205305" Content-Length: 0
No. Time Source Destination Protocol Info 9 2.730896 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 9 (801 bytes on wire, 801 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 2 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605203001203402405205305",uri="sip:lm.nop.qrs.tu(server)",response="2c0d7d2f3b4cc218792ebef30e0eb2e6",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 10 2.796109 ab.cde.fgh.ijk(proxy) ab.cde.fgh.ijx(xlite) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 10 (492 bytes on wire, 492 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)) User Datagram Protocol, Src Port: sip (5060), Dst Port: 33374 (33374) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 1 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-c252300b156adb6c-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100052 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605203001203402405205305" Content-Length: 0
No. Time Source Destination Protocol Info 11 3.308767 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 11 (801 bytes on wire, 801 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 2 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605203001203402405205305",uri="sip:lm.nop.qrs.tu(server)",response="2c0d7d2f3b4cc218792ebef30e0eb2e6",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 12 4.099907 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 12 (912 bytes on wire, 912 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK01c8.2e6fe072.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 2 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605203001203402405205305",uri="sip:lm.nop.qrs.tu(server)",response="2c0d7d2f3b4cc218792ebef30e0eb2e6",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 13 4.216914 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 13 (555 bytes on wire, 555 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 2 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK01c8.2e6fe072.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100055 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605503001203402405505305" Content-Length: 0
No. Time Source Destination Protocol Info 14 4.324392 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 14 (801 bytes on wire, 801 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 2 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605203001203402405205305",uri="sip:lm.nop.qrs.tu(server)",response="2c0d7d2f3b4cc218792ebef30e0eb2e6",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 15 4.704708 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 15 (912 bytes on wire, 912 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK01c8.2e6fe072.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 2 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605203001203402405205305",uri="sip:lm.nop.qrs.tu(server)",response="2c0d7d2f3b4cc218792ebef30e0eb2e6",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 16 4.822244 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 16 (555 bytes on wire, 555 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 2 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK01c8.2e6fe072.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100056 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605603001203402405605305" Content-Length: 0
No. Time Source Destination Protocol Info 17 5.710292 ab.cde.fgh.ijk(proxy) ab.cde.fgh.ijx(xlite) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 17 (492 bytes on wire, 492 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)) User Datagram Protocol, Src Port: sip (5060), Dst Port: 33374 (33374) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 2 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100055 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605503001203402405505305" Content-Length: 0
No. Time Source Destination Protocol Info 18 5.724689 ab.cde.fgh.ijk(proxy) ab.cde.fgh.ijx(xlite) SIP Status: 407 Proxy Authentication Required (0 bindings)
Frame 18 (492 bytes on wire, 492 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)) User Datagram Protocol, Src Port: sip (5060), Dst Port: 33374 (33374) Session Initiation Protocol Status-Line: SIP/2.0 407 Proxy Authentication Required Message Header CSeq: 2 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-4248775550708257-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100055 Proxy-Authenticate: DIGEST realm="VoipSwitch", nonce="126513605503001203402405505305" Content-Length: 0
No. Time Source Destination Protocol Info 19 5.832474 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 19 (801 bytes on wire, 801 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 3 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 21 7.455368 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 21 (912 bytes on wire, 912 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK11c8.7f536395.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 3 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 22 7.457267 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 22 (801 bytes on wire, 801 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 3 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 23 7.574533 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 200 OK (1 bindings)
Frame 23 (539 bytes on wire, 539 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 200 OK Message Header CSeq: 3 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK11c8.7f536395.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100059 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d;expires=60 Expires: 60 Content-Length: 0
No. Time Source Destination Protocol Info 24 8.355247 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 24 (912 bytes on wire, 912 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK11c8.7f536395.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 3 REGISTER Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
No. Time Source Destination Protocol Info 25 8.472891 lm.nop.qrs.tu(server) ab.cde.fgh.ijk(proxy) SIP Status: 200 OK (1 bindings)
Frame 25 (539 bytes on wire, 539 bytes captured) Ethernet II, Src: Unispher_40:b5:39 (00:90:1a:40:b5:39), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Status-Line: SIP/2.0 200 OK Message Header CSeq: 3 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bK11c8.7f536395.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030241100000 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d;expires=60 Expires: 60 Content-Length: 0
No. Time Source Destination Protocol Info 26 9.310268 ab.cde.fgh.ijk(proxy) ab.cde.fgh.ijx(xlite) SIP Status: 200 OK (1 bindings)
Frame 26 (476 bytes on wire, 476 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)) User Datagram Protocol, Src Port: sip (5060), Dst Port: 33374 (33374) Session Initiation Protocol Status-Line: SIP/2.0 200 OK Message Header CSeq: 3 REGISTER Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-316786162159173a-1---d8754z-;rport=33374 From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. To: "1234"sip:1234@lm.nop.qrs.tu(server);tag=030240100059 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d;expires=60 Expires: 60 Content-Length: 0
No. Time Source Destination Protocol Info 29 10.939788 ab.cde.fgh.ijx(xlite) ab.cde.fgh.ijk(proxy) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 29 (796 bytes on wire, 796 bytes captured) Ethernet II, Src: 1a:1b:1c:1d:1e:1f (1a:1b:1c:1d:1e:1f), Dst: Supermic_bd:b9:bc (00:30:48:bd:b9:bc) Internet Protocol, Src: ab.cde.fgh.ijx(xlite) (ab.cde.fgh.ijx(xlite)), Dst: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)) User Datagram Protocol, Src Port: 33374 (33374), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;branch=z9hG4bK-d8754z-075267174a75f03a-1---d8754z-;rport Max-Forwards: 70 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d;expires=0 To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 4 REGISTER Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0
No. Time Source Destination Protocol Info 30 11.097051 ab.cde.fgh.ijk(proxy) lm.nop.qrs.tu(server) SIP Request: REGISTER sip:lm.nop.qrs.tu(server)
Frame 30 (907 bytes on wire, 907 bytes captured) Ethernet II, Src: Supermic_bd:b9:bc (00:30:48:bd:b9:bc), Dst: Unispher_40:b5:39 (00:90:1a:40:b5:39) Internet Protocol, Src: ab.cde.fgh.ijk(proxy) (ab.cde.fgh.ijk(proxy)), Dst: lm.nop.qrs.tu(server) (lm.nop.qrs.tu(server)) User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060) Session Initiation Protocol Request-Line: REGISTER sip:lm.nop.qrs.tu(server) SIP/2.0 Message Header Via: SIP/2.0/UDP ab.cde.fgh.ijk(proxy);branch=z9hG4bKe0c8.73270ff2.0 Via: SIP/2.0/UDP ab.cde.fgh.ijx(xlite):50648;received=ab.cde.fgh.ijx(xlite);branch=z9hG4bK-d8754z-075267174a75f03a-1---d8754z-;rport=33374 Max-Forwards: 69 Contact: sip:1234@ab.cde.fgh.ijx(xlite):50648;rinstance=0f34c912798e872d;expires=0 To: "1234"sip:1234@lm.nop.qrs.tu(server) From: "1234"sip:1234@lm.nop.qrs.tu(server);tag=cb57d146 Call-ID: Zjg5MTdhZjMyYTZlMzlmZTA2NjY4MDBhMjNhYjkyMDU. CSeq: 4 REGISTER Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Proxy-Authorization: Digest username="1234",realm="VoipSwitch",nonce="126513605503001203402405505305",uri="sip:lm.nop.qrs.tu(server)",response="014a8ffc9e6cc551acc86b22f2c26c11",algorithm=MD5 User-Agent: X-Lite release 1104o stamp 56125 Content-Length: 0 P-hint: outbound
Please, don't send the same mail to two maillists at the same time.
Hello,
Here is some more information from wireshark,
"No.","Time","Source","Destination","Protocol","Info" "1","0.000000","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "2","0.000012","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "5","0.818876","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "6","0.818886","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "7","0.824475","SIP_server","SIP_proxy","SIP","Status: 200 OK (1 bindings)" "15","2.635788","SIP_proxy","x_lite_softphone","SIP","Status: 200 OK (1 bindings)"
Looking at the timestamps for these SIP messages - It takes the proxy 0.8s to relay REGISTER request to SIP server - It takes the proxy 1.8s to relay 200 OK to the softphone
These time durations appear to be very long. What are the expected time durations for these relay times? What might be causing relay times to be so large ?
Thanks in advance.
Regards, Vikram.
Hello,
I am using an x-lite softphone to register with my SIP domain,
(a) Without an outbound proxy - Registration is successful and takes about 3 seconds (b) With an outbound proxy - Registration is successful but takes nearly 15 seconds I briefly describe below the sequence of SIP messages while using the outbound proxy
Register softphone -> proxy Register proxy -> SIP server Register softphone -> proxy 407 Proxy authentication reqd. SIP server -> proxy Register softphone -> proxy 407 Proxy authentication reqd. proxy -> softphone Register softphone -> proxy (With Digest response) Register proxy -> SIP server (With Digest response) 200 OK Sip server -> proxy Register softphone -> proxy (With Digest response)
I am attaching a log with wireshark captures that show SIP messages exchanged between the SIP server,SIP proxy and the x-lite softphone. The log shows several messages being duplicated (REGISTER, 200 OK)
- Why does the softphone continue to send REGISTER messages after
receiving a 200 OK response ? (almost 15 repetitions of REGISTER after receiving 200 OK)
- What is the reason for the delay in registration times with/without
the proxy ?
Thanks and Regards, Vikram.
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Hello,
what version are you using? Do you have big traffic on it?
Usual delays are coming from: - slow dns - slow database - lot of debugging with non-asynchronous syslog - bad config file
You can use benchmark module to get executing time of parts in configuration file. If you can share config, some people here on mailing list may have some hints about the cause.
Cheers, Daniel
On 2/3/10 1:14 AM, vragukumar@signalogic.com wrote:
Hello,
Here is some more information from wireshark,
"No.","Time","Source","Destination","Protocol","Info" "1","0.000000","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "2","0.000012","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "5","0.818876","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "6","0.818886","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "7","0.824475","SIP_server","SIP_proxy","SIP","Status: 200 OK (1 bindings)" "15","2.635788","SIP_proxy","x_lite_softphone","SIP","Status: 200 OK (1 bindings)"
Looking at the timestamps for these SIP messages
- It takes the proxy 0.8s to relay REGISTER request to SIP server
- It takes the proxy 1.8s to relay 200 OK to the softphone
These time durations appear to be very long. What are the expected time durations for these relay times? What might be causing relay times to be so large ?
Thanks in advance.
Regards, Vikram.
Hello,
I am using an x-lite softphone to register with my SIP domain,
(a) Without an outbound proxy - Registration is successful and takes about 3 seconds (b) With an outbound proxy - Registration is successful but takes nearly 15 seconds I briefly describe below the sequence of SIP messages while using the outbound proxy
Register softphone -> proxy Register proxy -> SIP server Register softphone -> proxy 407 Proxy authentication reqd. SIP server -> proxy Register softphone -> proxy 407 Proxy authentication reqd. proxy -> softphone Register softphone -> proxy (With Digest response) Register proxy -> SIP server (With Digest response) 200 OK Sip server -> proxy Register softphone -> proxy (With Digest response)
I am attaching a log with wireshark captures that show SIP messages exchanged between the SIP server,SIP proxy and the x-lite softphone. The log shows several messages being duplicated (REGISTER, 200 OK)
- Why does the softphone continue to send REGISTER messages after
receiving a 200 OK response ? (almost 15 repetitions of REGISTER after receiving 200 OK)
- What is the reason for the delay in registration times with/without
the proxy ?
Thanks and Regards, Vikram.
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Daniel,
Thank you for your response.
Daniel-Constantin Mierla wrote:
Hello,
what version are you using? Do you have big traffic on it?
I am using version 1.5, and there isn't much traffic.
Usual delays are coming from:
- lot of debugging with non-asynchronous syslog
This was a very useful tip. Turns out that HD access times were very poor
hdparm -t /dev/hda output Timing buffered disk reads: 12 MB in 3.48 seconds = 3.45 MB/sec
I tested registration times after setting debug=0 in the kamailio.cfg file, and registrations were much quicker. I plan on working around this issue by switching to AHCI mode from IDE mode.
Once again, Thank you very much. Vikram.
On 2/3/10 1:14 AM, vragukumar@signalogic.com wrote:
Hello,
Here is some more information from wireshark,
"No.","Time","Source","Destination","Protocol","Info" "1","0.000000","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "2","0.000012","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "5","0.818876","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "6","0.818886","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "7","0.824475","SIP_server","SIP_proxy","SIP","Status: 200 OK (1 bindings)" "15","2.635788","SIP_proxy","x_lite_softphone","SIP","Status: 200 OK (1 bindings)"
Looking at the timestamps for these SIP messages
- It takes the proxy 0.8s to relay REGISTER request to SIP server
- It takes the proxy 1.8s to relay 200 OK to the softphone
These time durations appear to be very long. What are the expected time durations for these relay times? What might be causing relay times to be so large ?
Thanks in advance.
Regards, Vikram.
Hello,
I am using an x-lite softphone to register with my SIP domain,
(a) Without an outbound proxy - Registration is successful and takes about 3 seconds (b) With an outbound proxy - Registration is successful but takes nearly 15 seconds I briefly describe below the sequence of SIP messages while using the outbound proxy
Register softphone -> proxy Register proxy -> SIP server Register softphone -> proxy 407 Proxy authentication reqd. SIP server -> proxy Register softphone -> proxy 407 Proxy authentication reqd. proxy -> softphone Register softphone -> proxy (With Digest response) Register proxy -> SIP server (With Digest response) 200 OK Sip server -> proxy Register softphone -> proxy (With Digest response)
I am attaching a log with wireshark captures that show SIP messages exchanged between the SIP server,SIP proxy and the x-lite softphone. The log shows several messages being duplicated (REGISTER, 200 OK)
- Why does the softphone continue to send REGISTER messages after
receiving a 200 OK response ? (almost 15 repetitions of REGISTER after receiving 200 OK)
- What is the reason for the delay in registration times with/without
the proxy ?
Thanks and Regards, Vikram.
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Hello,
I was able to fix the problem, by enabling AHCI in the BIOS and rebuilding initrd with the ahci driver. Instructions in link below
http://serverfault.com/questions/68793/enabling-ahci-in-rhel5-post-install
Current hdparm -t /dev/sda output Timing buffered disk reads: 182 MB in 3.02 seconds = 60.29 MB/sec
Thanks for all the help. Vikram.
Vikram Ragukumar wrote:
Daniel,
Thank you for your response.
Daniel-Constantin Mierla wrote:
Hello,
what version are you using? Do you have big traffic on it?
I am using version 1.5, and there isn't much traffic.
Usual delays are coming from:
- lot of debugging with non-asynchronous syslog
This was a very useful tip. Turns out that HD access times were very poor
hdparm -t /dev/hda output Timing buffered disk reads: 12 MB in 3.48 seconds = 3.45 MB/sec
I tested registration times after setting debug=0 in the kamailio.cfg file, and registrations were much quicker. I plan on working around this issue by switching to AHCI mode from IDE mode.
Once again, Thank you very much. Vikram.
On 2/3/10 1:14 AM, vragukumar@signalogic.com wrote:
Hello,
Here is some more information from wireshark,
"No.","Time","Source","Destination","Protocol","Info" "1","0.000000","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "2","0.000012","x_lite_softphone","SIP_proxy","SIP","Request: REGISTER sip:SIP_server" "5","0.818876","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "6","0.818886","SIP_proxy","SIP_server","SIP","Request: REGISTER sip:SIP_server" "7","0.824475","SIP_server","SIP_proxy","SIP","Status: 200 OK (1 bindings)" "15","2.635788","SIP_proxy","x_lite_softphone","SIP","Status: 200 OK (1 bindings)"
Looking at the timestamps for these SIP messages
- It takes the proxy 0.8s to relay REGISTER request to SIP server
- It takes the proxy 1.8s to relay 200 OK to the softphone
These time durations appear to be very long. What are the expected time durations for these relay times? What might be causing relay times to be so large ?
Thanks in advance.
Regards, Vikram.
Hello,
I am using an x-lite softphone to register with my SIP domain,
(a) Without an outbound proxy - Registration is successful and takes about 3 seconds (b) With an outbound proxy - Registration is successful but takes nearly 15 seconds I briefly describe below the sequence of SIP messages while using the outbound proxy
Register softphone -> proxy Register proxy -> SIP server Register softphone -> proxy 407 Proxy authentication reqd. SIP server -> proxy Register softphone -> proxy 407 Proxy authentication reqd. proxy -> softphone Register softphone -> proxy (With Digest response) Register proxy -> SIP server (With Digest response) 200 OK Sip server -> proxy Register softphone -> proxy (With Digest response)
I am attaching a log with wireshark captures that show SIP messages exchanged between the SIP server,SIP proxy and the x-lite softphone. The log shows several messages being duplicated (REGISTER, 200 OK)
- Why does the softphone continue to send REGISTER messages after
receiving a 200 OK response ? (almost 15 repetitions of REGISTER after receiving 200 OK)
- What is the reason for the delay in registration times with/without
the proxy ?
Thanks and Regards, Vikram.
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users