LP 1463943: Encode output messages.
authorJason Stephenson <jstephenson@mvlc.org>
Tue, 16 Jun 2015 18:33:52 +0000 (14:33 -0400)
committerMartha Driscoll <driscoll@noblenet.org>
Fri, 21 Jul 2017 17:26:36 +0000 (13:26 -0400)
commit61e610f2523589f91d1e0d5e889634a0c05f0d1b
tree3de9e04f1b5413ec92e9044b11b237c8489b950b
parentbb0bdfed2ed0ebb106710fa6ae36bacd4fabb4d7
LP 1463943: Encode output messages.

This commit adds support for an encoding attribute that can be
added to accounts in the configuration file.  When set, SIPServer
will encode response messages in the specified encoding.  Valid
encodings are those listed in the Encode::Supported man page.

This feature is useful if you have a vendor who cannot support
the default UTF-8 output by SIPServer.

An example is provided in SIPConfig.xml.  The lpl-sc account has
been set to use the ascii encoding.

This particular code was mostly taken from a patch to Koha's
SIPServer by Adrien Saurat <adrien.saurat@biblibre.com>,
Christophe Croullebois <christophe.croullebois@biblibre.com>,
and others.

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9865

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Martha Driscoll <driscoll@noblenet.org>
SIPconfig.xml
Sip.pm
Sip/MsgType.pm