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)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 11 May 2012 09:15:06 +0000 (11:15 +0200)
commit78938e685cd239ea02ffff4f524179faa2ca9bb2
tree815b28b68ff4610c45f69a8c92901ca4237f7cb7
parent18f21b32c6bfb4caefa00d8aaf650a67d1531d1c
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>
C4/SIP/Sip/MsgType.pm