blob: 834c2981bd93a7cf74d804bf3e0cc9a5e4844b4b [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
Nanang Izzuddin3387a8e2010-09-08 05:38:49 +00007pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000"
Nanang Izzuddin59dffb12009-08-11 12:42:38 +00008
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