D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/uas-subscribe-multipart-notify.py
2021-10-29 14:41:03 -04:00

16 lines
408 B
Python

# $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, "status is Online", ""],
[0, "subscription state is TERMINATED", ""]
]
PJSUA_CLI_EXPECTS = [[0, "", "im sub_pre 1"],
[0, "status is Online", ""],
[0, "subscription state is TERMINATED", ""]
]