Hi Luis Rojas, it may not be the intended use of the feature, and it is not compatible with the distribution function, but you may use the following:
<send> <![CDATA[ ACK... ]]> </send> <recv request="OPTIONS" optional="true" next="send_501_Options"> <recv request="BYE" timer="60000" ontimer="send_my_own_bye"> The other drawback is that expiration of a timer is counted as an error so if you use the output statistics, you must take this into account. The last point is that it sounds weird to me to use OPTIONS as session timer, i.e. to send OPTIONS as an in-dialog request; more often the OPTIONS used to test peer availability come as an out-of-dialog request and so you would need a yet more complex scenario to handle that. I have to leave now but if the latter is the case, say so, I'll describe that scenario later. The same applies in case you really need the distribution function. P. Dne 26.10.2015 v 16:43 Luis Rojas G. napsal(a): > Hello, > > I don't know how to program his scenario in sipp : > > * UAC establish a call and then pause with a distribution, but sometimes > UAS ends the call first with a BYE. > > So, UAC sends ACK, call is connected and executes this : > > <pause distribution="uniform" min="30000" max="90000"/> > > It's simulating calls with variable length, but it may happen that the > caller "runs out of money" so the UAS sends a BYE to terminate the call > before. > How can I program reception of messages while in pause ? Also, it may > happen sometimes that UAC receives an OPTIONS message as a keepalive to > the call. It can't answer it also. > > So, how can I handle optional messages when the UAC is in pause ? > > Thanks, > ------------------------------------------------------------------------------ _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users