Ignore:
Timestamp:
Jun 27, 2008 9:22:12 PM (13 years ago)
Author:
bennylp
Message:

Added the ability to send a complete/arbitrary SIP INVITE message in mod_sendto.py Python test script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/test-pjsua/inc_sip.py

    r2066 r2080  
    206206        # pjsua InstanceParam 
    207207        inst_param = None 
     208        # Complete INVITE message. If this is not empty, then this 
     209        # message will be sent instead and the "sdp" and "extra_headers" 
     210        # settings will be ignored. 
     211        complete_msg = "" 
    208212        # Initial SDP 
    209213        sdp = "" 
     
    221225        def __init__(self, name, pjsua_args, sdp, resp_code,  
    222226                     resp_inc=[], resp_exc=[], use_tcp=False, 
    223                      extra_headers=""): 
     227                     extra_headers="", complete_msg=""): 
     228                self.complete_msg = complete_msg 
    224229                self.sdp = sdp 
    225230                self.resp_code = resp_code 
Note: See TracChangeset for help on using the changeset viewer.