Debian Codegraph @

Xpjproject/tests/pjsua/scripts-sipp/uas-norefersub-disabled.py

raw symbols SCIP
1 #
2 # Test that "norefersub" is absent from the Supported header when pjsua is
3 # started with --no-supported-norefersub (sets pjsua_config.no_refer_sub = PJ_FALSE).
4 # SIPp verifies the Supported header in the INVITE does NOT contain
5 # "norefersub" and fails the test if it does.
6 #
7 import inc_const as const
8
9 PJSUA = ["--null-audio --max-calls=1 --no-tcp --no-supported-norefersub $SIPP_URI"]
10
11 PJSUA_EXPECTS = [
12 [0, const.STATE_CONFIRMED, ""],
13 [0, const.STATE_DISCONNECTED, ""]
14 ]