SIPp Scenario File For Testing UAC Authentication With Asterisk ?
Hello,
I’m testing an Asterisk instance. At the moment, I’m focusing on its capability to receive and challenge incoming SIP Registrations.
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
One thought on - SIPp Scenario File For Testing UAC Authentication With Asterisk ?
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
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 -m 1 -sf register-auth.xml -s -ap
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