Simon,

SIPp is currently not smart enough to know when a transaction is started 
and stopped.  If you use the trunk version you can append an offset to the 
branch parameter in the CANCEL message branch=[branch-2], which should fix 
your problem.

Charles

[EMAIL PROTECTED] wrote on 05/24/2007 03:57:38 AM:

> Hi,
> I've trawled through the mailing list archive to see if this is an 
> existing/old problem, but can't see anything....
> 
> I'm using SIPp v2.0, version 20070426
> 
> The problem I've noticed is that the branch value changes when using
> the [branch] parameter - sending a CANCEL for an INVITE transaction.
> 
> For example:-
> 
> <send retrans="500">
>   <![CDATA[
> 
>   INVITE sip:[EMAIL PROTECTED] SIP/2.0
>   Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>   :
>   :
> 
>   ]]>
> </send>
> 
> <recv response="180" rrs="true" rtd="true">
> </recv>
> 
> <send retrans="500">
>   <![CDATA[
> 
>   CANCEL sip:[EMAIL PROTECTED] SIP/2.0
>   Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
>   :
>   :
>   ]]>
> </send>
> 
> This will result in a branch parameter with a stepped message index.
> 
> Is this a known problem?
> 
> I can, of course, work around this with [last_Via:] for a single via
> line, or egrep'ing the VIA lines from the 180 response, but wondered
> if this has been seen by anyone else. My interpretation was that the
> [branch] parameter would be unchanged before the 200-ACK for the 
> INVITE had been exchanged???
> 
> Thanks in advance for any info/insights.
> 
> Regards,
> /Simon
> 
> Prova Live.com - din snabba, personliga hemsida med allt du kan 
> önska dig på ett enda ställe. på ett enda ställe.
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to