Hi Peter, yes, there is a global recv timeout, but this leads to an abort of the whole call. And this is actually not what I need.
Enrico Peter Higginson wrote: > I thought receive timeout was recently added. The receives would then be > non-optional and the labels for the timeout case but you can still do what > you want. > > 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 Enrico > Hartung > Sent: 15 November 2006 22:18 > To: [email protected] > Subject: [Sipp-users] request for comment: Optional CANCEL before sending200 > OK > > Hi, > > I want to simulate a PSTN gateway with SIPp. Therefore I need a scenario > like the following: > > -------------> INVITE > <------------- 180 > PAUSE (waiting for optional CANCEL - if CANCEL is received go to "Label1") > <------------- 200 > -------------> ACK > PAUSE (waiting for optional BYE - if BYE is received go to "LABEL2") > <------------- BYE > -------------> 200 > [END] > > LABEL1: > <------------- 487 > -------------> ACK > <------------- 200 > [END] > > LABEL2: > <------------- 200 > [END] > > I found no way to do this with the current SIPp version but I have some > suggestions how to change SIPp to handle this: > 1. Extending the default behavior of SIPp handling unexpected CANCEL by > sending a 487 for the initial INVITE > 2. SIPp allows an optional recv before pause > 3. An additional attribute for the recv tag is introduced setting a > timeout for waiting for a message > > I'd prefer the 3rd way. > If somebody has a better solution I'd be happy to hear it! > > All comments on this topic are welcome! > > regards, > Enrico > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > 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. > --------------- > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
