D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/strict-route.py

14 lines
345 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 --username=pjsua --realm=* $SIPP_URI"]
PJSUA_EXPECTS = [[0, "ACK sip:proxy@.* SIP/2\.0", ""],
[0, const.STATE_CONFIRMED, "h"]
]
PJSUA_CLI_EXPECTS = [[0, "ACK sip:proxy@.* SIP/2\.0", ""],
[0, const.STATE_CONFIRMED, "call hangup"]
]