Changeset 2066
- Timestamp:
- Jun 26, 2008 7:51:01 PM (16 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/test-pjsua
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/inc_cfg.py
r2059 r2066 80 80 title, # Test title 81 81 inst_params, # InstanceParam's as list 82 func=None, 82 83 skip=False, 83 func=None,84 84 post_func=None, 85 85 user_data=None): -
pjproject/trunk/pjsip-apps/src/test-pjsua/inc_sip.py
r2033 r2066 1 # $Id :$1 # $Id$ 2 2 # 3 3 from socket import * … … 208 208 # Initial SDP 209 209 sdp = "" 210 # Extra headers to add to request 211 extra_headers = "" 210 212 # Expected code 211 213 resp_code = 0 … … 217 219 resp_exclude = [] 218 220 # Constructor 219 def __init__(self, name, pjsua_args, sdp, resp_code, resp_inc=[], resp_exc=[], use_tcp=False): 221 def __init__(self, name, pjsua_args, sdp, resp_code, 222 resp_inc=[], resp_exc=[], use_tcp=False, 223 extra_headers=""): 220 224 self.sdp = sdp 221 225 self.resp_code = resp_code … … 223 227 self.resp_exclude = resp_exc 224 228 self.use_tcp = use_tcp 229 self.extra_headers = extra_headers 225 230 self.inst_param = cfg.InstanceParam("pjsua", pjsua_args) 226 231 -
pjproject/trunk/pjsip-apps/src/test-pjsua/mod_sendto.py
r2033 r2066 1 # $Id :$1 # $Id$ 2 2 import imp 3 3 import sys … … 19 19 cfg = cfg_file.sendto_cfg 20 20 21 req = dlg.create_invite(cfg.sdp )21 req = dlg.create_invite(cfg.sdp, cfg.extra_headers) 22 22 resp = dlg.send_request_wait(req, 10) 23 23 if resp=="":
Note: See TracChangeset
for help on using the changeset viewer.