blob: 834c2981bd93a7cf74d804bf3e0cc9a5e4844b4b [file] [log] [blame]
Alexandre Lision8af73cb2013-12-10 14:11:20 -05001# $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 2 --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