Yes, I have tried using the <recv> without the timeout parameter; but the
script gets stuck at the same point expecting for BYE or an INVITE & as
there is not timeout, the call doesn't ge disconnected.

--
Harry

On Fri, Sep 11, 2009 at 8:41 PM, catalina oancea
<[email protected]>wrote:

> Hi
>
> From what I know the default behavior if no timeout=".." patameter is
> present and timeout occurs is to send a BYE (or CANCEL). Have you
> tried to use the recv without  timeout=".." parameter?
>
> Regards,
> Catalina
>
>
> 2009/9/11 Harsimran Singh <[email protected]>:
> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sipp-users
> >
> >
>



-- 
We must all hang together, or assuredly we shall all hang separately.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to