Hello Enrico,

It seems your server is waiting for a BYE response it doesn't receive.
This receive field is not optional, that's why your scenario doesn't go
to the next step (send a BYE message).
I think you should have a look on the branch functionality in order to
build the expected scenario.

Regards,
Olivier Boulkroune




(please do not use my personal address to answer me :o) )









Message: 3
Date: Mon, 27 Nov 2006 16:44:43 -0500
From: Enrico Hartung <[EMAIL PROTECTED]>
Subject: [Sipp-users] optional reinvite before bye with timeout
To: SIPP <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I'm currently working on a server scenario, that allows reinvites and 
can handle a bye of the caller, but it is still not doing what I want
;-)
The case is, that I run a basic call (invite, 200, ack, bye, 200 - with 
the bye send by the server) on this server.
It works fine if I remove the reinvite part, but as soon as I insert 
this optional invite, the server refuses to send the bye.
Now I wonder whether I made a mistake or this is a bug in SIPp ... What 
do you think?

Here is the (simplified) scenario:

    [INVITE / O.K. / ACK]

    <!-- allow ReINVITEs -->
    <recv request="INVITE" optional="true" rrs="true" next="4">
        <action>
            <ereg regexp="a=.*" search_in="msg" assign_to="1" />
            <ereg regexp="a=rtpmap:0 PCMU/8000" search_in="msg" 
assign_to="3" />
        </action>
    </recv>
 
    <!-- caller sends BYE scenario - start -->
    <recv request="BYE" rrs="true" timeout="10000" ontimeout="2">
</recv>
    <send>[200 O.K.]</send>
    <!-- caller send BYE scenario - end -->
    
    <send>[BYE]</send>
    <recv>[200 O.K.]</recv>


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=DEVDE
V

------------------------------

_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


End of Sipp-users Digest, Vol 6, Issue 38
*****************************************

-------------------------------------------------------------------------
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

Reply via email to