D-Modem/pjproject-2.11.1/tests/pjsua/scripts-sipp/uac-inv-without-sdp.py
2021-10-29 14:41:03 -04:00

16 lines
376 B
Python

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