On Tue, Jun 3, 2008 at 12:10 PM, Jo?o C?sar <jpcesar at gmail.com> wrote: > > When running wireshark with filter udp.dstport = 5060 i dont see the BYE > frame. I only see: > > source dest prot info > 10.0.1.19 10.0.1.30 SIP/SPD Request: INVITE sip:3200 at 10.0.1.30, > with session description > 10.0.1.30 10.0.1.19 SIP Status: 180 Ringing > 10.0.1.30 10.0.1.19 SIP Status: 200 OK, with session > description > 10.0.1.19 10.0.1.30 SIP Request: ACK sip:10.0.1.30:5060 > > I dont see anymore frames regarding SIP session between those 2 hosts. > > However, checking the logs on the destination 3rd party product (10.0.1.30) > > Received ACK > Sent Command: BYE > Received Message: STATUS > Received STATUS msg after BYE(200) > sendMessageToRtpProvider <CHANNEL_HANGUPPED_> > > After this happens on the destination endpoint, on pjsip i start to receive > spam of: > > RTP recv() error: Connection reset by peer (WSAECONNRESET) > It looks like pjsip doesn't receive the BYE request, for some reason, hence it continues to send RTP, and since remote has closed the RTP socket, we get ICMP error and this triggers WSAECONNRESET. So find out why the BYE is not sent to pjsip and the problem should be fixed. -benny