Changeset 2067 for pjproject/trunk/pjsip-apps/src/test-pjsua/mod_call.py
- Timestamp:
- Jun 26, 2008 8:23:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/mod_call.py
r2062 r2067 37 37 38 38 # Callee waits for call and answers with 180/Ringing 39 time.sleep( 1)39 time.sleep(0.2) 40 40 callee.expect(const.EVENT_INCOMING_CALL) 41 41 callee.send("a") … … 53 53 54 54 # Wait until call is connected in both endpoints 55 time.sleep( 1)55 time.sleep(0.2) 56 56 caller.expect(const.STATE_CONFIRMED) 57 57 callee.expect(const.STATE_CONFIRMED) … … 60 60 caller.sync_stdout() 61 61 callee.sync_stdout() 62 time.sleep( 1)63 caller.sync_stdout() 64 callee.sync_stdout() 65 66 # Test that media is okay 67 time.sleep( 2)62 time.sleep(0.1) 63 caller.sync_stdout() 64 callee.sync_stdout() 65 66 # Test that media is okay 67 time.sleep(0.3) 68 68 check_media(caller, callee) 69 69 check_media(callee, caller) … … 80 80 81 81 # Release hold 82 time.sleep( 2)82 time.sleep(0.5) 83 83 caller.send("v") 84 84 #caller.sync_stdout() … … 109 109 110 110 # Release hold 111 time.sleep( 2)111 time.sleep(0.5) 112 112 callee.send("v") 113 113 #callee.sync_stdout() … … 138 138 139 139 # Test that media is okay 140 time.sleep( 2)140 time.sleep(0.1) 141 141 check_media(caller, callee) 142 142 check_media(callee, caller) … … 153 153 154 154 # Test that media is okay 155 time.sleep( 2)155 time.sleep(0.1) 156 156 check_media(caller, callee) 157 157 check_media(callee, caller) … … 182 182 183 183 # Test that media is still okay 184 time.sleep( 2)184 time.sleep(0.1) 185 185 check_media(caller, callee) 186 186 check_media(callee, caller) … … 194 194 195 195 # Test that media is still okay 196 time.sleep( 2)196 time.sleep(0.1) 197 197 check_media(callee, caller) 198 198 check_media(caller, callee) 199 199 200 200 # Hangup call 201 time.sleep( 1)201 time.sleep(0.1) 202 202 caller.send("h") 203 caller.sync_stdout()204 203 205 204 # Wait until calls are cleared in both endpoints
Note: See TracChangeset
for help on using the changeset viewer.