Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | # $Id$ |
| 2 | import inc_sip as sip |
| 3 | import inc_sdp as sdp |
| 4 | |
| 5 | # INVITE session using session timer |
| 6 | |
| 7 | pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000" |
| 8 | |
| 9 | req = 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 | |
| 15 | recvfrom_cfg = sip.RecvfromCfg("INVITE session using session timer", |
| 16 | pjsua, [req]) |
| 17 | |