blob: 75dd1bd811d10d4cf9997a4d238bb532bb5f3e99 [file] [log] [blame]
Nanang Izzuddin59dffb12009-08-11 12:42:38 +00001# $Id$
2import inc_sip as sip
3import inc_sdp as sdp
4
5# INVITE session using session timer
6
7pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer --timer-min-se 100 --timer-se 2000"
8
9req = sip.RecvfromTransaction("INVITE with session timer", 200,
10 include=["Session-Expires:\s*2000", "Min-SE:\s*100"],
11 exclude=[],
12 resp_hdr=["Session-Expires: 1000;refresher=uac"]
13 )
14
15recvfrom_cfg = sip.RecvfromCfg("INVITE session using session timer",
16 pjsua, [req])
17