[OpenSIPS-Users] mi_xmlrpc - Display name in From header
Chris Maciejewski
chris at wima.co.uk
Wed Jan 13 12:55:04 CET 2010
Hi,
I am trying to include "display name" in a From header (ie. 'From:
"Test User" <sip:test at example.com>'), when sending local messages with
mi_xmlrpc (openSIPs 1.5.3).
Already tried many options, but I always end up with 'From: <"Test
User" <sip:test at example.com>>' which obviously fails.
My XML headers parameter:
...
<param>
<value>
<string>From: Test User <sip:test at example.com> To:
<sip:10001 at example.com> Content-Type: text/html;
charset=utf-8 </string>
</value>
</param>
....
Results in the following SIP packet:
MESSAGE sip:10001 at example.com SIP/2.0.
Via: SIP/2.0/UDP 10.10.10.1:5065;branch=z9hG4bK40b7.e646756.0.
To: <sip:10001 at example.com>.
From: <Test User
<sip:test at example.com>>;tag=a6eba7f2b7ff5072ce4465fa3b4415e6-e309.
....
Any suggestions how to solve this issue very much appreciated.
Kind regards,
Chris
More information about the Users
mailing list