Hi All,

I am trying to design a generator script which after initiating the call,
waits for an incoming reINVITE or a BYE. At the same time I want to have a
timeout & then send a BYE message none of these messages arrive.

I tried using the following 2 sequences for the INVITE and BYE after
generating the call:
*
SEQUENCE 1*: this sequence works for receiving any of these 2 messages but
gets stuck here; the timeout never fires & the script keeps sitting here.
This sequence will never send a BYE.
  <recv request="BYE" optional="true" next="5" crlf="true">
  </recv>
  <recv request="INVITE" timeout="15000" ontimeout="4" next="3">
  </recv>

*SEQUENCE 2*: this sequence works but it will never send out a BYE message.
  <recv request="INVITE" optional="true" next="3">
  </recv>
  <recv request="BYE" optional="true" next="5">
  </recv>

Is there a way to design a script which can wait for 2 incoming messages
(out of which one would arrive) & if the wait is times-out then scrip should
send a BYE.

Thanks in Advance.
Harry
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to