What you need to do is put a label 1 before the optional receive, a next="2" in the optional receive and then send the 200 reply to the optional INVITE from label 2 at the end with next="1". (Not forgetting to put label 3 at the very end and a pause with a next="3" after the 200 to BYE.) That way the next command after the optional receive will be receive of the BYE - which is mandatory (as SIPP requires). See the documentation for more help on use of next and label.
Peter Peter Higginson Newport Networks Ltd, Direct line 01494 470694 http://www.newport-networks.com/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miller, Michael L. (Detroit) Sent: 23 October 2006 12:17 To: [email protected] Subject: [Sipp-users] Keepalive Script I'm looking for a way to include support into a normal Server script in which I might receive an optional Invite for a keepalive that a 200 ok needs to be sent. If I try, I get a message when the script starts that saids "<recv> before <send> sequence without a mandatory message." Remote SIPp UAS |(1) INVITE | |-------------------->| |(2) 180 | |<--------------------| |(3) 200 | |<--------------------| |(4) ACK | |-------------------->| | | |(5) INVITE (Optional)| -----+ |-------------------->| | | | +---- Loop until I get a bye |(6) 200 (Optional) | | |<--------------------| -----+ | | |(7) BYE | |-------------------->| |(8) 200 | |<--------------------| Thanks ahead of time. Michael ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users --------------- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. --------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
