]> git.evergreen-ils.org Git - working/SIPServer.git/commit
LP 1463943: Encode output messages.
authorJason Stephenson <jstephenson@mvlc.org>
Tue, 16 Jun 2015 18:33:52 +0000 (14:33 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 11 Aug 2017 15:51:33 +0000 (11:51 -0400)
commit2067bc372c6f0a6159e838f34065c8afd7ec0604
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
SIPconfig.xml
Sip.pm
Sip/MsgType.pm