summaryrefslogtreecommitdiff
path: root/tests/pjsua/mod_sendto.py
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-02-06 07:56:09 +0000
committerBenny Prijono <bennylp@teluu.com>2009-02-06 07:56:09 +0000
commiteec6d8991f9a3323cfbf76672d8825c22f196b79 (patch)
tree15c8849b52984e8b5ad39fc88be184b8acdc5859 /tests/pjsua/mod_sendto.py
parent868eb7a71dc1f48ee0c62fceec2da449c4b0795b (diff)
Allow SIP messages in mod_sendto.py to insert fields (ticket #707)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2440 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/mod_sendto.py')
-rw-r--r--tests/pjsua/mod_sendto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pjsua/mod_sendto.py b/tests/pjsua/mod_sendto.py
index 4cc12a41..a2f45212 100644
--- a/tests/pjsua/mod_sendto.py
+++ b/tests/pjsua/mod_sendto.py
@@ -19,7 +19,7 @@ def test_func(t):
cfg = cfg_file.sendto_cfg
if len(cfg.complete_msg) != 0:
- req = cfg.complete_msg
+ req = dlg.update_fields(cfg.complete_msg)
else:
req = dlg.create_invite(cfg.sdp, cfg.extra_headers)
resp = dlg.send_request_wait(req, 10)