Debian Codegraph @

Xpjproject/tests/pjsua/scripts-recvfrom/235_reg_good_tel_uri_enocredential.py

raw symbols SCIP
1 import inc_sip as sip
2 import inc_sdp as sdp
3
4 pjsua = "--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT"
5
6 req1 = sip.RecvfromTransaction("", 401,
7 include=["REGISTER sip"],
8 exclude=["Authorization"],
9 resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
10 expect="PJSIP_ENOCREDENTIAL"
11 )
12
13 recvfrom_cfg = sip.RecvfromCfg("Failed registration with tel: URI test",
14 pjsua, [req1])