Ignore:
Timestamp:
Jun 27, 2008 9:22:12 PM (16 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/mod_sendto.py

    r2078 r2080  
    1919        cfg = cfg_file.sendto_cfg 
    2020         
    21         req = dlg.create_invite(cfg.sdp, cfg.extra_headers) 
     21        if len(cfg.complete_msg) != 0: 
     22                req = cfg.complete_msg 
     23        else: 
     24                req = dlg.create_invite(cfg.sdp, cfg.extra_headers) 
    2225        resp = dlg.send_request_wait(req, 10) 
    2326        if resp=="": 
Note: See TracChangeset for help on using the changeset viewer.