D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/strict-route.py
2021-10-29 14:41:03 -04:00

13 lines
345 B
Python

# $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"]
]