blob: c54c0c492e8e59341ab72a8b77e4e1d8a47a792b [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001# $Id$
2# Useful constants
3
4
5##########################
6# MENU OUTPUT
7#
8
9
10##########################
11# EVENTS
12#
13
14# Text to expect when there is incoming call
15EVENT_INCOMING_CALL = "Press .* answer"
16
17
18##########################
19# CALL STATES
20#
21
22# Call state is CALLING
23STATE_CALLING = "state.*CALLING"
24# Call state is EARLY
25STATE_EARLY = "state.*EARLY"
26# Call state is CONFIRMED
27STATE_CONFIRMED = "state.*CONFIRMED"
28# Call state is DISCONNECTED
29STATE_DISCONNECTED = "Call .* DISCONNECTED"
30
31# Media call is put on-hold
32MEDIA_HOLD = "Call [0-9]+ media [0-9]+ .*, status is .* hold"
33# Media call is active
34MEDIA_ACTIVE = "Call [0-9]+ media [0-9]+ .*, status is Active"
35#MEDIA_ACTIVE = "Media for call [0-9]+ is active"
36# RX_DTMF
37RX_DTMF = "Incoming DTMF on call [0-9]+: "
38
39##########################
40# MEDIA
41#
42
43# Connecting/disconnecting ports
44MEDIA_CONN_PORT_SUCCESS = "Port \d+ \(.+\) transmitting to port"
45MEDIA_DISCONN_PORT_SUCCESS = "Port \d+ \(.+\) stop transmitting to port"
46
47# Filename to play / record
48MEDIA_PLAY_FILE = "--play-file\s+(\S+)"
49MEDIA_REC_FILE = "--rec-file\s+(\S+)"
50
51##########################
52# MISC
53#
54
55# The command prompt
56PROMPT = ">>>"
57# When pjsua has been destroyed
58DESTROYED = "PJSUA destroyed"
59# Assertion failure
60ASSERT = "Assertion failed"
61# Stdout refresh text
62STDOUT_REFRESH = "XXSTDOUT_REFRESHXX"
63
64