Enrico, yes, Peter pointed on the right direction. And yes, this one is un-documented. I will add that.
Olivier. Enrico Hartung wrote: > Hi Peter, > > you're right! > I had a look at the code I use and it's there. :-) > I wasn't aware of this feature because it's not mentioned in the > documentation. > > Thanks for the hint! > > Enrico > > > Peter Higginson wrote: > >> Enrico, >> >> There is also individual message timeout value (or attribute) and an >> on_timeout="label" attribute. (I just checked the latest code on my machine >> which is 4th Oct and it is there.) >> >> Peter >> >> Peter Higginson >> Newport Networks Ltd, >> Direct line 01494 470694 >> http://www.newport-networks.com/ >> >> -----Original Message----- >> From: Enrico Hartung [mailto:[EMAIL PROTECTED] >> Sent: 16 November 2006 01:17 >> To: Peter Higginson >> Cc: [email protected] >> Subject: Re: [Sipp-users] request for comment: Optional CANCEL before >> sending200 OK >> >> 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 >>> >>> -- Olivier HP OpenCall Software http://www.hp.com/go/opencall/ ------------------------------------------------------------------------- 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
