blob: dd8d1b1a883d7561177d133613ebb4362a9302b5 [file] [log] [blame]
Nanang Izzuddinf810f952008-06-18 21:04:14 +00001# $Id$
Benny Prijonocc1ada52008-06-15 19:43:43 +00002# 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 CONFIRMED
25STATE_CONFIRMED = "state.*CONFIRMED"
26# Call state is DISCONNECTED
27STATE_DISCONNECTED = "Call .* DISCONNECTED"
28
29# Media call is put on-hold
30MEDIA_HOLD = "Media for call [0-9]+ is suspended.*hold"
31# Media call is active
32MEDIA_ACTIVE = "Media for call [0-9]+ is active"
33# RX_DTMF
34RX_DTMF = "Incoming DTMF on call [0-9]+: "
35
36##########################
Nanang Izzuddinf810f952008-06-18 21:04:14 +000037# MEDIA
38#
39
40# Connecting/disconnecting ports
41MEDIA_CONN_PORT_SUCCESS = "Port \d+ \(.+\) transmitting to port"
42MEDIA_DISCONN_PORT_SUCCESS = "Port \d+ \(.+\) stop transmitting to port"
43
44# Filename to play / record
45MEDIA_PLAY_FILE = "--play-file (\S+)"
46MEDIA_REC_FILE = "--rec-file (\S+)"
47
48##########################
Benny Prijonocc1ada52008-06-15 19:43:43 +000049# MISC
50#
51
52# The command prompt
53PROMPT = ">>>"
54# When pjsua has been destroyed
55DESTROYED = "PJSUA destroyed"
56# Assertion failure
57ASSERT = "Assertion failed"
58# Stdout refresh text
59STDOUT_REFRESH = "XXSTDOUT_REFRESHXX"
60
61