1
# $Id: 209b_reg_handle_423_bad_min_expires1.py 3105 2010-02-23 11:03:07Z bennylp $
5
pjsua = "--null-audio --id=sip:CLIENT --registrar sip:127.0.0.1:$PORT " + \
6
"--realm=python --user=username --password=password " + \
7
"--auto-update-nat=0 --reg-timeout 300"
9
# 423 Response with Min-Expires header that is lower than what the client
11
req1 = sip.RecvfromTransaction("Initial request", 423,
12
include=["REGISTER sip"],
14
resp_hdr=["Min-Expires: 250"],
15
expect="invalid Min-Expires"
19
recvfrom_cfg = sip.RecvfromCfg("Invalid 423 response to REGISTER",