D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/uac-inv-without-sdp.py

17 lines
376 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"]
PJSUA_EXPECTS = [[0, const.EVENT_INCOMING_CALL, "a"],
[0, "", "200"],
[0, const.MEDIA_ACTIVE, ""],
[0, const.STATE_CONFIRMED, "h"]
]
PJSUA_CLI_EXPECTS = [[0, const.EVENT_INCOMING_CALL, "call answer 200"],
[0, const.MEDIA_ACTIVE, ""],
[0, const.STATE_CONFIRMED, "call hangup"]
]