Dmitriy Kargapolov wrote:
> Hi,
>
> When sipp generates branch value replacing [branch] in the scenario, it
> uses call number and message index.
> The problem could appear when starting sipp client twice to make a
> single (or a few) call(s). Branch value is used to determine transaction
> in udp-based communications and second copy of sipp could confuse sip
> proxy using the same branch value.
> To prevent this it makes sense to generate branch value as call-id -
> using pid of the process in addition to existing template.
> For example:
> } else if(strstr(keyword, "branch")) {
> /* Branch is magic cookie + call number + message index in
> scenario */
> dest += sprintf(dest, "z9hG4bK-%u-%lu-%d", pid, number, P_index);
>
Agreed.
Checked-in, SVN 119.
Thank you,
--
Olivier
HP OpenCall Software
http://www.hp.com/go/opencall/
-------------------------------------------------------------------------
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