Ignore:
Timestamp:
Jun 29, 2012 9:01:17 AM (7 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-attended.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"], 
     
    2525                 # B calls C 
    2626                 [1, "", "m"], 
    27                  [1, "", "sip:localhost:5064"], 
     27                 [1, "", "$PJSUA_URI[2]"], 
    2828                 [1, const.STATE_CALLING, ""], 
    2929                 [2, const.EVENT_INCOMING_CALL, "a"], 
Note: See TracChangeset for help on using the changeset viewer.