1
# $Id: inc_const.py 2052 2008-06-25 18:18:32Z nanang $
5
##########################
10
##########################
14
# Text to expect when there is incoming call
15
EVENT_INCOMING_CALL = "Press .* answer"
18
##########################
22
# Call state is CALLING
23
STATE_CALLING = "state.*CALLING"
24
# Call state is CONFIRMED
25
STATE_CONFIRMED = "state.*CONFIRMED"
26
# Call state is DISCONNECTED
27
STATE_DISCONNECTED = "Call .* DISCONNECTED"
29
# Media call is put on-hold
30
MEDIA_HOLD = "Media for call [0-9]+ is suspended.*hold"
31
# Media call is active
32
MEDIA_ACTIVE = "Media for call [0-9]+ is active"
34
RX_DTMF = "Incoming DTMF on call [0-9]+: "
36
##########################
40
# Connecting/disconnecting ports
41
MEDIA_CONN_PORT_SUCCESS = "Port \d+ \(.+\) transmitting to port"
42
MEDIA_DISCONN_PORT_SUCCESS = "Port \d+ \(.+\) stop transmitting to port"
44
# Filename to play / record
45
MEDIA_PLAY_FILE = "--play-file\s+(\S+)"
46
MEDIA_REC_FILE = "--rec-file\s+(\S+)"
48
##########################
54
# When pjsua has been destroyed
55
DESTROYED = "PJSUA destroyed"
57
ASSERT = "Assertion failed"
59
STDOUT_REFRESH = "XXSTDOUT_REFRESHXX"