diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-08-22 11:47:00 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-08-22 11:47:00 +0000 |
commit | 31628f381ddbecf184d10906efcc06100a8d9e63 (patch) | |
tree | fc30c485d1a94100cbbad2e9038180fd9e6094cb /pjsip-apps | |
parent | d66b0ff9a506ae20cfd369238a20dfd47b505e5d (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.py | 2 |
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 |