summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-08-22 11:47:00 +0000
committerBenny Prijono <bennylp@teluu.com>2009-08-22 11:47:00 +0000
commit31628f381ddbecf184d10906efcc06100a8d9e63 (patch)
treefc30c485d1a94100cbbad2e9038180fd9e6094cb /pjsip-apps
parentd66b0ff9a506ae20cfd369238a20dfd47b505e5d (diff)
Ticket #955 (fixes and enhancements to Python module):
- allow user to specify either custom body or header in call.send_request(). Previously user has to specify both (thanks Saúl Ibarra for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2910 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/src/python/pjsua.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/python/pjsua.py b/pjsip-apps/src/python/pjsua.py
index 5521d3d8..c9c2ff5e 100644
--- a/pjsip-apps/src/python/pjsua.py
+++ b/pjsip-apps/src/python/pjsua.py
@@ -1680,7 +1680,7 @@ class Call:
"""
lck = self._lib().auto_lock()
- if hdr_list and body:
+ if hdr_list or body:
msg_data = _pjsua.Msg_Data()
if hdr_list:
msg_data.hdr_list = hdr_list