[OpenSIPS-Devel] [opensips] mi_xmlrpc_ng suppresses \r\n (#537)
Ovidiu Sas
notifications at github.com
Thu Jun 11 20:35:58 CEST 2015
@staskobzar please re-test on the latest trunk. Make sure that you are at commit 8450630617b2504ffdc4089f2500a26b4187e078
You will need to escape at least "\r" with "
"
You may or may not escape "\n" with "
"
````
#!/usr/bin/env python
import xmlrpclib
opensips = xmlrpclib.ServerProxy('http://10.130.8.20:8000/RPC2')
headers="From: <sip:7714 at voip.etsmtl.ca>;tag=8755a8d01aa27e903a6f4ccaf393f04 \nTo: <sip:7714 at voip.etsmtl.ca> Event: check-sync \n"
opensips.t_uac_dlg('NOTIFY', 'sip:7714 at campus.voip.etsmtl.ca', ".", ".", headers)
````
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/537#issuecomment-111234316
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150611/afc32c00/attachment.htm>
More information about the Devel
mailing list