You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/test/unit/reg_auth.xml

41 lines
1.1 KiB

<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="register_client">
<send retrans="500">
<![CDATA[
REGISTER sip:localhost:5059 SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:alice@localhost>;tag=[call_number]
To: <sip:alice@localhost>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: sip:alice@[local_ip]:[local_port]
Max-Forwards: 5
Expires: 1800
User-Agent: SIPp/Linux
Content-Length: 0
]]>
</send>
<recv response="401" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:localhost:5059 SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: <sip:alice@localhost>;tag=[call_number]
To: <sip:alice@localhost>
Call-ID: [call_id]
CSeq: 2 REGISTER
Contact: sip:alice@[local_ip]:[local_port]
[authentication username=alice password=alice realm=localhost];
Max-Forwards: 5
Expires: 1800
User-Agent: SIPp/Linux
Content-Length: 0
]]>
</send>
<recv response="200">
</recv>
</scenario>