blob: 33d12b1a12ddac6fb1e457d9fc2ba231b3a0b0af [file] [log] [blame]
# $Id$
import inc_sip as sip
import inc_sdp as sdp
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT"
req1 = sip.RecvfromTransaction("", 401,
include=["REGISTER sip"],
exclude=["Authorization"],
resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
expect="PJSIP_ENOCREDENTIAL"
)
recvfrom_cfg = sip.RecvfromCfg("Failed registration test",
pjsua, [req1])