From 3b7cd1a02f5db20214d13b9683ee312691fc6182 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Wed, 8 Sep 2010 05:38:49 +0000 Subject: Re #1120: Fixed session timer python test scripts, pjsua app param --use-timer is requiring param value now. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3307 74dad513-b988-da41-8d7b-12977e46ad98 --- tests/pjsua/scripts-recvfrom/300_timer_good.py | 2 +- tests/pjsua/scripts-sendto/170_timer_required.py | 2 +- tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/pjsua/scripts-recvfrom/300_timer_good.py b/tests/pjsua/scripts-recvfrom/300_timer_good.py index 75dd1bd8..834c2981 100644 --- a/tests/pjsua/scripts-recvfrom/300_timer_good.py +++ b/tests/pjsua/scripts-recvfrom/300_timer_good.py @@ -4,7 +4,7 @@ import inc_sdp as sdp # INVITE session using session timer -pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer --timer-min-se 100 --timer-se 2000" +pjsua = "--null-audio sip:127.0.0.1:$PORT --use-timer 2 --timer-min-se 100 --timer-se 2000" req = sip.RecvfromTransaction("INVITE with session timer", 200, include=["Session-Expires:\s*2000", "Min-SE:\s*100"], diff --git a/tests/pjsua/scripts-sendto/170_timer_required.py b/tests/pjsua/scripts-sendto/170_timer_required.py index b9bea968..8f6749db 100644 --- a/tests/pjsua/scripts-sendto/170_timer_required.py +++ b/tests/pjsua/scripts-sendto/170_timer_required.py @@ -16,7 +16,7 @@ a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 """ -pjsua_args = "--null-audio --auto-answer 200 --use-timer --timer-min-se 90 --timer-se 1800" +pjsua_args = "--null-audio --auto-answer 200 --use-timer 2 --timer-min-se 90 --timer-se 1800" extra_headers = "Require: timer\nSupported: timer\nSession-Expires: 1800\n" include = ["Session-Expires: .*;refresher=.*"] exclude = [] diff --git a/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py b/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py index 393a0012..4dd73e0f 100644 --- a/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py +++ b/tests/pjsua/scripts-sendto/171_timer_initiated_by_uas.py @@ -25,7 +25,7 @@ a=fmtp:101 0-15 # to a duration lower than the value in the Min-SE header field in the # request, if it is present. -pjsua_args = "--null-audio --auto-answer 200 --use-timer --timer-min-se 90 --timer-se 1800" +pjsua_args = "--null-audio --auto-answer 200 --use-timer 2 --timer-min-se 90 --timer-se 1800" extra_headers = "Supported: timer\n" include = ["Session-Expires: .*;refresher=.*"] exclude = [] -- cgit v1.2.3