I have implemented a SIP User agent listening on 148.147.206.192:5060. And used express talk SipPhone ( listening on 148.147.206.192:5070 ) to initiate SIP session. The issue I am facing here is My SIP UA sends BYE message and waits for 200 OK. But 200 OK is coming on port other than 5060. Please refer to call flow below.
Is it expected behaviour ? Is there a way to force SIP client to send 200 OK for BYE on desired port number ? UDP Packet Sent to 148.147.206.192:5060 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> INVITE sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> SIP/2.0 Via: SIP/2.0/UDP 148.147.206.192:5070;rport;branch=z9hG4bK151952 To: <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192>> From: "Alice" <sip:2...@148.147.206.192 <sip%3a2...@148.147.206.192> >;tag=600 Call-ID: 1261542560-1952-la085...@148.147.206.192 CSeq: 891 INVITE Max-Forwards: 20 User-Agent: NCH Software Express Talk 4.02 Contact: <sip:2...@148.147.206.192:5070> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO, REFER, NOTIFY Supported: replaces Content-Type: application/sdp Content-Length: 338 v=0 o=NCHSoftware-Talk 1261542553 1261542560 IN IP4 148.147.206.192 s=Express Talk Call c=IN IP4 148.147.206.192 t=0 0 m=audio 8000 RTP/AVP 0 8 96 3 13 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:96 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:13 CN/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv ---------------------------------------------------------------- 10:27:27 UDP Packet Received from 148.147.206.192:45312<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SIP/2.0 200 OK From: "Alice" <sip:2...@148.147.206.192 <sip%3a2...@148.147.206.192> >;tag=600 To: "VMPro" <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> >;tag=-4202e26d4b31a337-6c9e8040_T148.147.206.192 Call-ID: 1261542560-1952-la085...@148.147.206.192 CSeq: 891 INVITE Via: SIP/2.0/UDP 148.147.206.192:5070 ;branch=z9hG4bK151952;rport=148.147.206.192 Allow: INVITE,ACK,BYE,CANCEL,SUBSCRIBE,NOTIFY,REFER,INFO,UPDATE User-Agent: VMPro Contact: <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192>;transport=udp> Content-Type: application/sdp Content-Length: 204 v=0 o=sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> 1 2 IN IP4 148.147.206.192 s=sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> c=IN IP4 148.147.206.192 t=0 0 m=audio 3374 RTP/AVP 0 101 a=rtpmap:101 telephone-event/8000 a=rtpmap:0 PCMU/8000 ---------------------------------------------------------------- 10:27:27 UDP Packet Sent to 148.147.206.192:5060>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ACK sip:3...@148.147.206.192 <sip%3a...@148.147.206.192>;transport=udp SIP/2.0 Via: SIP/2.0/UDP 148.147.206.192:5070;rport;branch=z9hG4bK161952 To: "VMPro" <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> >;tag=-4202e26d4b31a337-6c9e8040_T148.147.206.192 From: "Alice" <sip:2...@148.147.206.192 <sip%3a2...@148.147.206.192> >;tag=600 Call-ID: 1261542560-1952-la085...@148.147.206.192 CSeq: 891 ACK Max-Forwards: 20 User-Agent: NCH Software Express Talk 4.02 Content-Length: 0 ---------------------------------------------------------------- 10:28:50 4877ms Rtp >>> 148.147.206.192:3374 0 seq=40725 ts=1211576542 ssrc= 778769992 160 bytes 10:28:50 4898ms Rtp >>> 148.147.206.192:3374 0 seq=40726 ts=1211576702 ssrc= 778769992 160 bytes 10:28:50 4920ms Rtp >>> 148.147.206.192:3374 0 seq=40727 ts=1211576862 ssrc= 778769992 160 bytes 10:28:50 4930ms Rtp >>> 148.147.206.192:3374 0 seq=40728 ts=1211577022 ssrc= 778769992 160 bytes 10:28:50 4952ms Rtp >>> 148.147.206.192:3374 0 seq=40729 ts=1211577182 ssrc= 778769992 160 bytes 10:28:50 4974ms Rtp >>> 148.147.206.192:3374 0 seq=40730 ts=1211577342 ssrc= 778769992 160 bytes 10:28:50 4995ms Rtp >>> 148.147.206.192:3374 0 seq=40731 ts=1211577502 ssrc= 778769992 160 bytes 10:28:50 5016ms Rtp >>> 148.147.206.192:3374 0 seq=40732 ts=1211577662 ssrc= 778769992 160 bytes 10:28:50 5038ms Rtp >>> 148.147.206.192:3374 0 seq=40733 ts=1211577822 ssrc= 778769992 160 bytes 10:28:50 5059ms Rtp >>> 148.147.206.192:3374 0 seq=40734 ts=1211577982 ssrc= 778769992 160 bytes 10:28:50 5070ms Rtp >>> 148.147.206.192:3374 0 seq=40735 ts=1211578142 ssrc= 778769992 160 bytes 10:28:50 5092ms Rtp >>> 148.147.206.192:3374 0 seq=40736 ts=1211578302 ssrc= 778769992 160 bytes 10:28:50 5113ms Rtp >>> 148.147.206.192:3374 0 seq=40737 ts=1211578462 ssrc= 778769992 160 bytes 10:28:50 5135ms Rtp >>> 148.147.206.192:3374 0 seq=40738 ts=1211578622 ssrc= 778769992 160 bytes 10:28:50 5136ms Rtp <<< 148.147.206.192:3374 0 seq=57063 ts=1211285225 ssrc=1211095625 160 bytes 10:28:50 UDP Packet Received from 148.147.206.192:45313<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< BYE sip:2...@148.147.206.192:5070 SIP/2.0 From: "Alice" <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> >;tag=-4202e26d4b31a337-6c9e8040_T148.147.206.192 To: <sip:2...@148.147.206.192 <sip%3a2...@148.147.206.192>>;tag=600 Call-ID: 1261542560-1952-la085...@148.147.206.192 CSeq: 2 BYE Max-Forwards: 70 Via: SIP/2.0/UDP 148.147.206.192:5060 ;branch=z9hG4bK434e828_483118284d904dd7-6c9d43fa_B Supported: replaces User-Agent: VMPro Content-Length: 0 ---------------------------------------------------------------- 10:28:50 UDP Packet Sent to 148.147.206.192:45313>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SIP/2.0 200 OK Via: SIP/2.0/UDP 148.147.206.192:5060 ;branch=z9hG4bK434e828_483118284d904dd7-6c9d43fa_B To: <sip:2...@148.147.206.192 <sip%3a2...@148.147.206.192>>;tag=600 From: "Alice" <sip:3...@148.147.206.192 <sip%3a...@148.147.206.192> >;tag=-4202e26d4b31a337-6c9e8040_T148.147.206.192 Call-ID: 1261542560-1952-la085...@148.147.206.192 CSeq: 2 BYE User-Agent: NCH Software Express Talk 4.02 Content-Length: 0 Thanks in advance Monika _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors