Re #1346 (python test fixes): Updated string pattern constants as some pjsua log messages has been changed in 2.0.

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3710 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Nanang Izzuddin 2011-08-18 17:26:11 +00:00
parent 4b3f7cd502
commit 1f18daa69e
1 changed files with 3 additions and 2 deletions

View File

@ -27,9 +27,10 @@ STATE_CONFIRMED = "state.*CONFIRMED"
STATE_DISCONNECTED = "Call .* DISCONNECTED"
# Media call is put on-hold
MEDIA_HOLD = "Media for call [0-9]+ is suspended.*hold"
MEDIA_HOLD = "Call [0-9]+ media [0-9]+ .*, status is .* hold"
# Media call is active
MEDIA_ACTIVE = "Media for call [0-9]+ is active"
MEDIA_ACTIVE = "Call [0-9]+ media [0-9]+ .*, status is Active"
#MEDIA_ACTIVE = "Media for call [0-9]+ is active"
# RX_DTMF
RX_DTMF = "Incoming DTMF on call [0-9]+: "