On Thu, Oct 25, 2018 at 4:32 AM Olivier <[email protected]> wrote: > Hello, > > I'm testing an Asterisk instance. > At the moment, I'm focusing on its capability to receive and challenge > incoming SIP Registrations. > > If all you want to do is test inbound registrations you can find an example SIPp scenario in the Asterisk testsuite[1]. You'll want to remove the <action> section from the 200 response and the variable reference. Then you'll want to execute the scenario with something like the following (replacing with your values of course):
sipp <remote host> -m 1 -sf register-auth.xml -s <endpoint> -ap <password> Another example can be found here[2]. Both the README and register.xml file have instructions on how to execute the test. Currently the test is setup to test a few thousand endpoints though. However you can adjust that number by modifying the register.csv (injection file) or by not using the injection file and modifying the register.xml scenario itself. [1] https://github.com/asterisk/testsuite/blob/master/tests/channels/pjsip/registration/inbound/nominal/single_contact/authed/sipp/register-auth.xml [2] http://blogs.asterisk.org/wp-content/uploads/2018/09/performance_inbound_registration.tar.gz > For various reasons, I would prefer to use SIPp instead of Asterisk to act > as SIP Client. > > Has someone successfully done this ? > If negative, what explains this ? > If positive, can you give an example of a successful SIPp scenario file ? > I've played with both embeded branchc and [1] but met no success yet > > Best regards > > [1] https://github.com/rkday/sipp-samples/blob/master/uac-auth.xml > > -- Kevin Harwell Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: https://digium.com & https://asterisk.org
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
