1
# $Id: 202_reg_good_ok_wildcard.py 2392 2008-12-22 18:54:58Z bennylp $
5
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
6
"--username user --realm \"*\" --password passwd --auto-update-nat=0"
8
req1 = sip.RecvfromTransaction("Initial registration", 401,
9
include=["REGISTER sip"],
10
exclude=["Authorization"],
11
resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
15
req2 = sip.RecvfromTransaction("Registration retry with auth", 200,
16
include=["REGISTER sip", "Authorization:",
17
"realm=\"python\"", "username=\"user\"",
18
"nonce=\"1234\"", "response="],
19
expect="registration success"
22
recvfrom_cfg = sip.RecvfromCfg("Successful registration with wildcard realm test",