D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/uas-subscribe-notify-terminate.py

15 lines
344 B
Python
Raw Permalink Normal View History

2021-10-30 02:41:03 +08:00
# $Id$
#
import inc_const as const
PJSUA = ["--null-audio --max-calls=1 --id sip:pjsua@localhost --add-buddy $SIPP_URI"]
PJSUA_EXPECTS = [[0, "", "s"],
[0, "Subscribe presence of:", "1"],
[0, "subscription state is TERMINATED", ""]
]
PJSUA_CLI_EXPECTS = [[0, "", "im sub_pre 1"],
[0, "subscription state is TERMINATED", ""]
]