summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-sipp/transfer-attended.py
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-06-28 09:16:03 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-06-28 09:16:03 +0000
commit4b9c3d123588928f32790788779b0fee51bbe84b (patch)
tree1c17b9f0b07e5343de7f31475fd2c098b8f10b5e /tests/pjsua/scripts-sipp/transfer-attended.py
parent8fa7c55111900eeaf1ce86a38dbe574cc787ef28 (diff)
Re #1523:
- runall.py: fix option parser - run.py: avoid double newlines in logging - mod_sipp.py: redirect sipp output to /dev/null & add sipp error string - misc fixes on sipp scenarios, e.g: regex to get via branch, file rename. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4183 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-sipp/transfer-attended.py')
-rw-r--r--tests/pjsua/scripts-sipp/transfer-attended.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/pjsua/scripts-sipp/transfer-attended.py b/tests/pjsua/scripts-sipp/transfer-attended.py
index 2cd6ddef..7063d675 100644
--- a/tests/pjsua/scripts-sipp/transfer-attended.py
+++ b/tests/pjsua/scripts-sipp/transfer-attended.py
@@ -11,6 +11,7 @@ PJSUA_EXPECTS = [
# A calls B
[0, "", "m"],
[0, "", "sip:localhost:5062"],
+ [0, const.STATE_CALLING, ""],
[1, const.EVENT_INCOMING_CALL, "a"],
[1, "", "200"],
[0, const.STATE_CONFIRMED, ""],
@@ -24,6 +25,7 @@ PJSUA_EXPECTS = [
# B calls C
[1, "", "m"],
[1, "", "sip:localhost:5064"],
+ [1, const.STATE_CALLING, ""],
[2, const.EVENT_INCOMING_CALL, "a"],
[2, "", "200"],
[1, const.STATE_CONFIRMED, ""],
@@ -46,6 +48,5 @@ PJSUA_EXPECTS = [
[1, "call transfered successfully", ""],
[0, const.MEDIA_ACTIVE, ""],
[2, const.MEDIA_ACTIVE, ""],
- [1, "", " "],
- [1, "have 0 active call", ""],
+ [1, const.STATE_DISCONNECTED, ""]
]