[Sipp-users] Not able to receive multiple ACK for corresponding mulitple 200 OK, SIPP going in loop.
From: jaykishan g. <jay...@gm...> - 2005-09-23 12:24:14
|
Hello Everyone, I am trying the below XML scenario which is working as UAS and on UAC side there is a gateway. I am sending multiple 200 OK (2 to be precise) from UAS to which UAC should send an ACK for each 200 OK. But when it is receiving second 200 OK, it sends an ACK to the first and goes into the loop. I am no= t getting why it is going in loop and if at all it goes in loop, it is not considering the pause between receipt of 1st ACK and sending of 2nd 200 OK. Please help me in this regard. The UAS xml scenario is as given below: <?xml version=3D"1.0" encoding=3D"ISO-8859-1" ?> <scenario name=3D"uas"> <recv request=3D"INVITE" crlf=3D"true"> <action> <ereg regexp=3D".*" search_in=3D"hdr" header=3D"CSeq:" check_it=3D"true" assign_to=3D"1" /> </action> </recv> <!-- The '[last_*]' keyword automatically is replaced by the --> <!-- specified header if it was present in the last message received --> <!-- (except if it was a retransmission). If the header was not --> <!-- present or if no message has been recieved, the '[last_*]' --> <!-- keyword is discarded, and all bytes until the end of the line --> <!-- are also discarded. --> <!-- --> <!-- If the specified header was present several times in the --> <!-- message, all occurences are concatenated (CRLF seperated) --> <!-- to be used in place of the '[last_*]' keyword. --> <!-- --> <send> <![CDATA[ SIP/2.0 100 Trying [last_Via:] [last_From:] [last_To:];tag=3D[call_number] [last_Call-ID:] [last_CSeq:] Content-Length: 0 ]]> </send> <send retrans=3D"500"> <![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:];tag=3D[call_number] [last_Call-ID:] [last_CSeq:] Contact: <sip:[local_ip]:[local_port];transport=3D[transport]> Content-Type: application/sdp Content-Length:[len] v=3D0 o=3Duser1 53655765 2353687637 IN IP4 [media_ip] s=3D- t=3D0 0 c=3DIN IP4 [media_ip] m=3Daudio [media_port] RTP/AVP 0 a=3Drtpmap:0 PCMU/8000 ]]> </send> <recv request=3D"ACK" rtd=3D"true" crlf=3D"true"> </recv> <pause milliseconds=3D"5000"/> <send> <![CDATA[ SIP/2.0 200 OK Via: SIP/2.0/UDP [local_ip]:5060;branch=3Dz9hG4bK1234 [last_From:] [last_To:];tag=3D[call_number] [last_Call-ID:] CSeq:[$1] Contact: <sip:[local_ip]:[local_port];transport=3D[transport]> Content-Type: application/sdp Content-Length:[len] v=3D0 o=3Duser1 53655765 2353687637 IN IP4 [media_ip] s=3D- t=3D0 0 c=3DIN IP4 [media_ip] m=3Daudio [media_port] RTP/AVP 0 a=3Drtpmap:0 PCMU/8000 ]]> </send> <recv request=3D"ACK" rtd=3D"true" crlf=3D"true"> </recv> <!-- definition of the response time repartition table (unit is ms) --> <ResponseTimeRepartition value=3D"10, 20, 30, 40, 50, 100, 150, 200"/> <!-- definition of the call length repartition table (unit is ms) --> <CallLengthRepartition value=3D"10, 50, 100, 500, 1000, 5000, 10000"/> </scenario> *Thanks & Regards,* *Jaykishan C Garach.* |
From: Olivier J. <oja...@gm...> - 2005-09-28 05:47:17
|
Jaykishan, It is not clear to me what loop you are talking about. Can you send the copy of the first SIPp screen as well as -trace_msg output= ? It might have to do with retransmissions, but again, I miss some elements here. Olivier. On 9/23/05, jaykishan garach <jay...@gm...> wrote: > > Hello Everyone, > > I am trying the below XML scenario which is working as UAS and on UAC sid= e > there is a gateway. I am sending multiple 200 OK (2 to be precise) from U= AS > to which UAC should send an ACK for each 200 OK. But when it is receiving > second 200 OK, it sends an ACK to the first and goes into the loop. I am = not > getting why it is going in loop and if at all it goes in loop, it is not > considering the pause between receipt of 1 st ACK and sending of 2nd 200 > OK. > > Please help me in this regard. The UAS xml scenario is as given below: > > <?xml version=3D"1.0" encoding=3D"ISO-8859-1" ?> > > <scenario name=3D"uas"> > > <recv request=3D"INVITE" crlf=3D"true"> > > <action> > > <ereg regexp=3D".*" search_in=3D"hdr" header=3D"CSeq:" check_it=3D"true" > assign_to=3D"1" /> > > </action> > > </recv> > > <!-- The '[last_*]' keyword automatically is replaced by the --> > > <!-- specified header if it was present in the last message received --> > > <!-- (except if it was a retransmission). If the header was not --> > > <!-- present or if no message has been recieved, the '[last_*]' --> > > <!-- keyword is discarded, and all bytes until the end of the line --> > > <!-- are also discarded. --> > > <!-- --> > > <!-- If the specified header was present several times in the --> > > <!-- message, all occurences are concatenated (CRLF seperated) --> > > <!-- to be used in place of the '[last_*]' keyword. --> > > <!-- --> > > <send> > > <![CDATA[ > > SIP/2.0 100 Trying > > [last_Via:] > > [last_From:] > > [last_To:];tag=3D[call_number] > > [last_Call-ID:] > > [last_CSeq:] > > Content-Length: 0 > > ]]> > > </send> > > <send retrans=3D"500"> > > <![CDATA[ > > SIP/2.0 200 OK > > [last_Via:] > > [last_From:] > > [last_To:];tag=3D[call_number] > > [last_Call-ID:] > > [last_CSeq:] > > Contact: <sip:[local_ip]:[local_port];transport=3D[transport]> > > Content-Type: application/sdp > > Content-Length:[len] > > v=3D0 > > o=3Duser1 53655765 2353687637 IN IP4 [media_ip] > > s=3D- > > t=3D0 0 > > c=3DIN IP4 [media_ip] > > m=3Daudio [media_port] RTP/AVP 0 > > a=3Drtpmap:0 PCMU/8000 > > ]]> > > </send> > > <recv request=3D"ACK" rtd=3D"true" crlf=3D"true"> > > </recv> > > <pause milliseconds=3D"5000"/> > > <send> > > <![CDATA[ > > SIP/2.0 200 OK > > Via: SIP/2.0/UDP [local_ip]:5060;branch=3Dz9hG4bK1234 > > [last_From:] > > [last_To:];tag=3D[call_number] > > [last_Call-ID:] > > CSeq:[$1] > > Contact: <sip:[local_ip]:[local_port];transport=3D[transport]> > > Content-Type: application/sdp > > Content-Length:[len] > > v=3D0 > > o=3Duser1 53655765 2353687637 IN IP4 [media_ip] > > s=3D- > > t=3D0 0 > > c=3DIN IP4 [media_ip] > > m=3Daudio [media_port] RTP/AVP 0 > > a=3Drtpmap:0 PCMU/8000 > > ]]> > > </send> > > <recv request=3D"ACK" rtd=3D"true" crlf=3D"true"> > > </recv> > > <!-- definition of the response time repartition table (unit is ms) --> > > <ResponseTimeRepartition value=3D"10, 20, 30, 40, 50, 100, 150, 200"/> > > <!-- definition of the call length repartition table (unit is ms) --> > > <CallLengthRepartition value=3D"10, 50, 100, 500, 1000, 5000, 10000"/> > > </scenario> > > *Thanks & Regards,* > > *Jaykishan C Garach.* > -- http://www.hp.com/go/opencall/ |