[asterisk-users] SIPp scenario file for testing UAC Authentication with Asterisk ?
kharwell at digium.com
Thu Oct 25 09:45:07 CDT 2018
On Thu, Oct 25, 2018 at 4:32 AM Olivier <oza.4h07 at gmail.com> wrote:
> 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. 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. 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.
> 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  but met no success yet
> Best regards
>  https://github.com/rkday/sipp-samples/blob/master/uac-auth.xml
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users