Olivier,
as requested - thanks for your help on this.
Steve.
Olivier Jacques wrote:
Stephen McVarnock wrote:
I have a terminating script that goes as follows:-
INV ----> recvd
486 <---- sent
ACK -----> recvd
Using the parameter '-m 1' in the command line I would expect the script
to finish at that point but it simply hangs around.
Anybody know how I would get the script to close on recving the ACK?
Regards,
Steve.
Hi Steve,
that should work. This is maybe an issue in your scenario. Can you send
it, as well as the SIPp logs (-trace_msg output)?
--
***********************************************************************
* Stephen McVarnock * Email: [EMAIL PROTECTED] *
* Senior Software Developer * WWW : http://www.aepona.com *
* Aepona Ltd., * Phone: +44 (0)28 9026 9114 *
* Interpoint Building, * Fax : +44 (0)28 9026 9111 *
* 20-24 York Street, * *
* Belfast. BT15 1AQ * *
* N. Ireland * *
***********************************************************************
----------------------------------------------- 2006-12-21 13:39:07
UDP message received [431] bytes :
INVITE sip:[EMAIL PROTECTED]:5061 SIP/2.0
Via: SIP/2.0/UDP xx.xx.xx.xx:5064;branch=z9hG4bK1940710872-1773
Max-Forwards: 70
P-Asserted-Identity: sip:[EMAIL PROTECTED]
Allow: PRACK,NOTIFY,INVITE,ACK,OPTIONS,CANCEL,BYE
Supported:
From: sip:[EMAIL PROTECTED];tag=fssUA_1940711369-1773
To: sip:[EMAIL PROTECTED]:5061
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Contact: sip:xx.xx.xx.xx:5064
Content-Length: 0
----------------------------------------------- 2006-12-21 13:39:07
UDP message sent:
SIP/2.0 486 Busy Here
Via: SIP/2.0/UDP xx.xx.xx.xx:5064;branch=z9hG4bK1940710872-1773
From: sip:[EMAIL PROTECTED];tag=fssUA_1940711369-1773
To: sip:[EMAIL PROTECTED]:5061;tag=1
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Contact: <sip:xx.xx.xx.xx:5061;transport=UDP>
Content-Length: 0
----------------------------------------------- 2006-12-21 13:39:07
UDP message received [324] bytes :
ACK sip:[EMAIL PROTECTED]:5061 SIP/2.0
Via: SIP/2.0/UDP xx.xx.xx.xx:5064;branch=z9hG4bK1940710872-1773
Max-Forwards: 70
From: sip:[EMAIL PROTECTED];tag=fssUA_1940711369-1773
To: sip:[EMAIL PROTECTED]:5061;tag=1
Call-ID: [EMAIL PROTECTED]
CSeq: 1 ACK
Contact: sip:xx.xx.xx.xx:5064
Content-Length: 0
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- This program is free software; you can redistribute it and/or -->
<!-- modify it under the terms of the GNU General Public License as -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- License, or (at your option) any later version. -->
<!-- -->
<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU General Public License for more details. -->
<!-- -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with this program; if not, write to the -->
<!-- Free Software Foundation, Inc., -->
<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
<!-- -->
<!-- Sipp default 'uas' scenario. -->
<!-- -->
<scenario name="001004 Busy responder">
<recv request="INVITE" crlf="true">
</recv>
<!-- The '[last_*]' keyword automatically is replaced by the -->
<!-- specified header if it was present in the last message received -->
<!-- (except if it was a retransmission). If the header was not -->
<!-- present or if no message has been recieved, the '[last_*]' -->
<!-- keyword is discarded, and all bytes until the end of the line -->
<!-- are also discarded. -->
<!-- -->
<!-- If the specified header was present several times in the -->
<!-- message, all occurences are concatenated (CRLF seperated) -->
<!-- to be used in place of the '[last_*]' keyword. -->
<send>
<![CDATA[
SIP/2.0 486 Busy Here
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<recv request="ACK"
optional="true"
rtd="true"
crlf="true">
</recv>
<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</scenario>
-->
-------------------------------------------------------------------------
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