Debian Codegraph @

Xpjproject/tests/pjsua/scripts-recvfrom/100_simple.py

raw symbols SCIP
1 import inc_sip as sip
2 import inc_sdp as sdp
3
4 pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
5 "--auto-update-nat=0"
6
7 req1 = sip.RecvfromTransaction("Registration", 200,
8 include=["REGISTER sip"],
9 exclude=["Authorization"],
10 resp_hdr=["Server: Snake Registrar", "Expires: 221", "Contact: sip:localhost"],
11 expect="registration success"
12 )
13
14 recvfrom_cfg = sip.RecvfromCfg("Simple registration test",
15 pjsua, [req1])