diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2012-06-29 09:01:17 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2012-06-29 09:01:17 +0000 |
commit | 9ca16e58e2801fc85907268f198ce1a2fc68bbe4 (patch) | |
tree | 96bd3412e637cf8fbc9f23e6640eb333c9929484 /tests/pjsua/scripts-sipp/transfer-unattended.py | |
parent | b15ee72aa70205f816d819dcc1ca94bf34d50268 (diff) |
Re #1523: use random port for PJSUA instance(s) and configurable SIPp port.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4188 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/scripts-sipp/transfer-unattended.py')
-rw-r--r-- | tests/pjsua/scripts-sipp/transfer-unattended.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/pjsua/scripts-sipp/transfer-unattended.py b/tests/pjsua/scripts-sipp/transfer-unattended.py index 0dd6e00d..37c97124 100644 --- a/tests/pjsua/scripts-sipp/transfer-unattended.py +++ b/tests/pjsua/scripts-sipp/transfer-unattended.py @@ -2,15 +2,15 @@ # import inc_const as const -PJSUA = ["--null-audio", # UA0 @ port 5060 - "--null-audio", # UA1 @ port 5062 - "--null-audio" # UA2 @ port 5064 +PJSUA = ["--null-audio", # UA0 + "--null-audio", # UA1 + "--null-audio" # UA2 ] PJSUA_EXPECTS = [ # A calls B [0, "", "m"], - [0, "", "sip:localhost:5062"], + [0, "", "$PJSUA_URI[1]"], [0, const.STATE_CALLING, ""], [1, const.EVENT_INCOMING_CALL, "a"], [1, "", "200"], @@ -19,7 +19,7 @@ PJSUA_EXPECTS = [ # B transfer A to C [1, "", "x"], - [1, "", "sip:localhost:5064"], + [1, "", "$PJSUA_URI[2]"], [0, const.STATE_CALLING, ""], [2, const.EVENT_INCOMING_CALL, "a"], [2, "", "200"], |