Sipp Reference Documentation by Richard GAYRAUD [Initial Code], Olivier JACQUES [Code/Documentation], Many Contributors [Code] Table of Contents
Total Page:16
File Type:pdf, Size:1020Kb
SIPp SIPp reference documentation by Richard GAYRAUD [initial code], Olivier JACQUES [code/documentation], Many contributors [code] Table of contents 1 Foreword................................................................................................................................................................................................................................................. 4 2 Installation............................................................................................................................................................................................................................................... 5 2.1 Getting SIPp........................................................................................................................................................................................................................................6 2.2 Stable release...................................................................................................................................................................................................................................... 6 2.3 Unstable release.................................................................................................................................................................................................................................. 6 2.4 Available platforms.............................................................................................................................................................................................................................6 2.5 Installing SIPp.....................................................................................................................................................................................................................................7 2.6 Increasing File Descriptors Limit....................................................................................................................................................................................................... 8 3 Using SIPp...............................................................................................................................................................................................................................................9 3.1 Main features...................................................................................................................................................................................................................................... 9 3.2 Integrated scenarios............................................................................................................................................................................................................................ 9 3.2.1 UAC................................................................................................................................................................................................................................................9 3.2.2 UAC with media...........................................................................................................................................................................................................................10 3.2.3 UAS.............................................................................................................................................................................................................................................. 10 3.2.4 regexp........................................................................................................................................................................................................................................... 11 3.2.5 branch........................................................................................................................................................................................................................................... 11 Copyright © 2004,2005,2006 The authors All rights reserved. SIPp 3.2.6 3PCC............................................................................................................................................................................................................................................ 12 3.3 3PCC Extended.................................................................................................................................................................................................................................14 3.4 Traffic control................................................................................................................................................................................................................................... 15 3.5 Remote control..................................................................................................................................................................................................................................16 3.6 Running SIPp in background............................................................................................................................................................................................................17 3.7 Create your own XML scenarios...................................................................................................................................................................................................... 17 3.7.1 Structure of client (UAC like) XML scenarios............................................................................................................................................................................ 27 3.7.2 Structure of server (UAS like) XML scenarios............................................................................................................................................................................34 3.7.3 Actions..........................................................................................................................................................................................................................................34 3.7.4 Injecting values from an external CSV during calls.....................................................................................................................................................................39 3.7.5 Conditional branching.................................................................................................................................................................................................................. 40 3.7.6 SIP authentication.........................................................................................................................................................................................................................44 3.8 Screens.............................................................................................................................................................................................................................................. 46 3.9 Transport modes................................................................................................................................................................................................................................50 3.9.1 UDP mono socket.........................................................................................................................................................................................................................50 3.9.2 UDP multi socket......................................................................................................................................................................................................................... 51 3.9.3 UDP with one socket per IP address............................................................................................................................................................................................ 51 3.9.4 TCP mono socket......................................................................................................................................................................................................................... 52 3.9.5 TCP multi socket.......................................................................................................................................................................................................................... 52 3.9.6 TCP reconnections....................................................................................................................................................................................................................... 53 3.9.7 TLS mono socket..........................................................................................................................................................................................................................53 3.9.8 TLS multi socket.......................................................................................................................................................................................................................... 53 3.9.9 IPv6 support................................................................................................................................................................................................................................