Changeset 2066 for pjproject/trunk/pjsip-apps/src/test-pjsua/inc_sip.py
- Timestamp:
- Jun 26, 2008 7:51:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.