1
# $Id: 205_reg_good_no_realm.py 2392 2008-12-22 18:54:58Z bennylp $
5
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
6
"--realm=provider --user=username --password=password"
8
req1 = sip.RecvfromTransaction("", 401,
9
include=["REGISTER sip"],
10
exclude=["Authorization"],
11
resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
12
expect="PJSIP_ENOCREDENTIAL"
15
recvfrom_cfg = sip.RecvfromCfg("Failed registration because of realm test",