blob: e92369d8fb8f7bf832ac3a0eb44357c14ac2db20 [file] [log] [blame]
Benny Prijono3332e7c2010-08-18 07:38:48 +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 "--auto-update-nat=0"
7
8req1 = sip.RecvfromTransaction("Registration", 200,
9 include=["REGISTER sip"],
10 exclude=["Authorization"],
11 resp_hdr=["Server: Snake Registrar", "Expires: 221", "Contact: sip:localhost"],
12 expect="registration success"
13 )
14
15recvfrom_cfg = sip.RecvfromCfg("Simple registration test",
16 pjsua, [req1])