Bug 6335 Set branch in sip session
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 2 Jun 2011 11:26:09 +0000 (12:26 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 11 May 2012 19:49:41 +0000 (07:49 +1200)
commit3f5534d7cc6101dfaf33d7d09cfec4900457d9f0
treef080c606a21599fca91735370a8780ef3902f65b
parentfc44674501e31f0ab7998f2ee7dbd842b5654be7
Bug 6335 Set branch in sip session

The server returns its branch as the institution in the config file
However in transactions it will default to the homebranch of the
sip user which may not be consistent with that. Needs to set branch
in the session if there is a value in config otherwise statistics and
behaviour can be wrong (esp in discharge)

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/SIP/Sip/MsgType.pm