~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.2.1/tests/pjsua/inc_const.py

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: inc_const.py 4177 2012-06-26 02:28:59Z nanang $
 
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
 
15
EVENT_INCOMING_CALL = "Press .* answer"
 
16
 
 
17
 
 
18
##########################
 
19
# CALL STATES
 
20
#
 
21
 
 
22
# Call state is CALLING
 
23
STATE_CALLING = "state.*CALLING"
 
24
# Call state is EARLY
 
25
STATE_EARLY = "state.*EARLY"
 
26
# Call state is CONFIRMED
 
27
STATE_CONFIRMED = "state.*CONFIRMED"
 
28
# Call state is DISCONNECTED
 
29
STATE_DISCONNECTED = "Call .* DISCONNECTED"
 
30
 
 
31
# Media call is put on-hold
 
32
MEDIA_HOLD = "Call [0-9]+ media [0-9]+ .*, status is .* hold"
 
33
# Media call is active
 
34
MEDIA_ACTIVE = "Call [0-9]+ media [0-9]+ .*, status is Active"
 
35
#MEDIA_ACTIVE = "Media for call [0-9]+ is active"
 
36
# RX_DTMF
 
37
RX_DTMF = "Incoming DTMF on call [0-9]+: "
 
38
 
 
39
##########################
 
40
# MEDIA
 
41
#
 
42
 
 
43
# Connecting/disconnecting ports
 
44
MEDIA_CONN_PORT_SUCCESS = "Port \d+ \(.+\) transmitting to port"
 
45
MEDIA_DISCONN_PORT_SUCCESS = "Port \d+ \(.+\) stop transmitting to port"
 
46
 
 
47
# Filename to play / record
 
48
MEDIA_PLAY_FILE = "--play-file\s+(\S+)"
 
49
MEDIA_REC_FILE = "--rec-file\s+(\S+)"
 
50
 
 
51
##########################
 
52
# MISC
 
53
#
 
54
 
 
55
# The command prompt
 
56
PROMPT = ">>>"
 
57
# When pjsua has been destroyed
 
58
DESTROYED = "PJSUA destroyed"
 
59
# Assertion failure
 
60
ASSERT = "Assertion failed"
 
61
# Stdout refresh text
 
62
STDOUT_REFRESH = "XXSTDOUT_REFRESHXX"
 
63
 
 
64