pjsip-pjproject/tests/pjsua/scripts-sipp/uac-inv-without-sdp.py

16 lines
369 B
Python

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