blob: 9a0cd41a6b89f806e3f8b2e6cb3885209ff936d1 [file] [log] [blame]
Benny Prijonoe9a82242008-07-07 20:14:41 +00001# $Id:$
2import inc_sip as sip
3import inc_sdp as sdp
4
5pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT"
6
7req1 = sip.RecvfromTransaction("", 401,
8 include=["REGISTER sip"],
9 exclude=["Authorization"],
10 resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
11 expect="PJSIP_ENOCREDENTIAL"
12 )
13
14recvfrom_cfg = sip.RecvfromCfg("Failed registration test",
15 pjsua, [req1])