Ignore:
Timestamp:
Jun 29, 2012 9:01:17 AM (12 years ago)
Author:
nanang
Message:

Re #1523: use random port for PJSUA instance(s) and configurable SIPp port.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/scripts-sipp/transfer-unattended.py

    r4183 r4188  
    33import inc_const as const 
    44 
    5 PJSUA = ["--null-audio",    # UA0 @ port 5060 
    6          "--null-audio",    # UA1 @ port 5062 
    7          "--null-audio"     # UA2 @ port 5064 
     5PJSUA = ["--null-audio",    # UA0 
     6         "--null-audio",    # UA1 
     7         "--null-audio"     # UA2 
    88        ] 
    99 
     
    1111                 # A calls B 
    1212                 [0, "", "m"], 
    13                  [0, "", "sip:localhost:5062"], 
     13                 [0, "", "$PJSUA_URI[1]"], 
    1414                 [0, const.STATE_CALLING, ""], 
    1515                 [1, const.EVENT_INCOMING_CALL, "a"], 
     
    2020                 # B transfer A to C 
    2121                 [1, "", "x"], 
    22                  [1, "", "sip:localhost:5064"], 
     22                 [1, "", "$PJSUA_URI[2]"], 
    2323                 [0, const.STATE_CALLING, ""], 
    2424                 [2, const.EVENT_INCOMING_CALL, "a"], 
Note: See TracChangeset for help on using the changeset viewer.