Thanks for replying to this query. Actual sip trace file is attached with this mail. Please have a look.
Regards. On 8 September 2015 at 12:20, Hamid Hashmi <[email protected]> wrote: > What is the time difference between duplicate SIP messages ? It happens > due to network latency. > > Regards > Hamid R. Hashmi > > ------------------------------ > Date: Mon, 7 Sep 2015 21:19:16 +0500 > From: [email protected] > To: [email protected] > Subject: [OpenSIPS-Users] Multiple invite and bye for a single a call > > > Hi, users. > > I have two softphone register to opensips from same network. When I call > from one phone to another I see multiple invites and 200, bye for a single > call. > Where is call sip trace. > > INVITE sip:[email protected]:6060;transport=UDP SIP/2.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Max-Forwards: 70 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.7.30891 r30851 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 0 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8000 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > > SIP/2.0 100 Giving a try > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Server: OpenSIPS (1.11.3-notls (x86_64/linux)) > Content-Length: 0 > > INVITE > sip:[email protected]:34989;rinstance=f188b7fee3e3777f;transport=UDP > SIP/2.0 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Max-Forwards: 69 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.7.30891 r30851 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 0 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8000 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > INVITE > sip:[email protected]:34989;rinstance=f188b7fee3e3777f;transport=UDP > SIP/2.0 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Max-Forwards: 69 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.7.30891 r30851 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 0 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8000 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > > SIP/2.0 100 Trying > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Content-Length: 0 > > SIP/2.0 100 Trying > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > To: <sip:[email protected]:6060;transport=UDP> > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Content-Length: 0 > > SIP/2.0 180 Ringing > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > User-Agent: Z 3.8.31438 r31441 > Content-Length: 0 > > SIP/2.0 180 Ringing > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > User-Agent: Z 3.8.31438 r31441 > Content-Length: 0 > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.8.31438 r31441 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 3 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8001 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.8.31438 r31441 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 3 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8001 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > ACK sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---143ec2662caf0465 > Max-Forwards: 70 > Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 ACK > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > ACK sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.2 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---143ec2662caf0465 > Max-Forwards: 69 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 ACK > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.8.31438 r31441 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 3 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8001 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---409b5f11d8ba8af3 > Record-Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 INVITE > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, > SUBSCRIBE > Content-Type: application/sdp > Supported: replaces, norefersub, extended-refer, timer, outbound, path, > X-cisco-serviceuri > User-Agent: Z 3.8.31438 r31441 > Allow-Events: presence, kpml > Content-Length: 245 > > v=0 > o=Z 0 3 IN IP4 182.176.103.109 > s=Z > c=IN IP4 182.176.103.109 > t=0 0 > m=audio 8001 RTP/AVP 3 110 8 0 97 101 > a=rtpmap:110 speex/8000 > a=rtpmap:97 iLBC/8000 > a=fmtp:97 mode=30 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-16 > a=sendrecv > > ACK sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---143ec2662caf0465 > Max-Forwards: 70 > Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 ACK > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > ACK sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bK0b4b.4d77b6b1.2 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---143ec2662caf0465 > Max-Forwards: 69 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 1 ACK > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > BYE sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Max-Forwards: 70 > Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > BYE sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bKda4b.28b4b333.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Max-Forwards: 69 > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 45.56.70.29:6060;branch=z9hG4bKda4b.28b4b333.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.8.31438 r31441 > Content-Length: 0 > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.8.31438 r31441 > Content-Length: 0 > > BYE sip:[email protected]:34989 <http://182.176.103.109:34989> > SIP/2.0 > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Max-Forwards: 70 > Route: <sip:45.56.70.29:6060;lr;ftag=8066dc24;did=974.5f8dfee6> > Contact: <sip:[email protected]:34512;transport=UDP> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.7.30891 r30851 > Content-Length: 0 > > SIP/2.0 200 OK > Via: SIP/2.0/UDP 182.176.103.109:34512 > ;branch=z9hG4bK-524287-1---ef537d3eeab5a083 > Contact: <sip:[email protected]:34989 > <http://182.176.103.109:34989>> > To: <sip:[email protected]:6060;transport=UDP>;tag=ab2db826 > From: <sip:[email protected]:6060;transport=UDP>;tag=8066dc24 > Call-ID: Xhj8khX7e_acyeCyrYIELw.. > CSeq: 2 BYE > User-Agent: Z 3.8.31438 r31441 > Content-Length: 0 > > > > Why there are unnecessary invite, 200 and bye being forward by opensisp? > > t_check_trans() is used to stop duplicate requests. > > Best Regards. > > _______________________________________________ Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
trace_sip.pcap
Description: Binary data
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
